1
vote
2answers
115 views

add_filter('the_content', '…') stops pagination from working

I have a function (it deals with using preg_replace_callbackto replace Image URLs with URLs/paths to the uploads directory - lets call it replaceImgUrls()) which is then passed into ...
0
votes
2answers
640 views

Make wp_link_pages() suitable for Twitter Bootstrap markup

Below there's the Wordpress code found in post-template.php for the wp_link_pages() function - this function generates a page navigation for posts or pages having the content split into multiple ...
0
votes
2answers
213 views

How can I display wp_link_pages before a shortcode, if it is used, or display after content?

I have the following shortcode in my content [src]<a href="#">Some Link</a>, <a href="#">Some Other Link</a>[/src] My post structure looks like this: <?php echo ...
0
votes
2answers
607 views

wp_link_pages output appears twice

I believe this is completely different than the question asked here. I'm adding pagination to my theme using a filter hook. The output appears at the beginning and end of my content, rather than just ...