Alternative to More Tag and Nextpage Command

  • When I need to break up a long post I can use the More tag built into Wordpress or insert the html command

    <!--nextpage-->
    .

    The problem with the More tag is that it doesn't tell you how much more. It works fine for a two page post, but for a multi-page post it would be nice to have the page numbering style you get elsewhere in the Magazine Premium theme.

    The html command
    <!--nextpage-->
    gives you the page numbering, but not in a very attractive style.

    Is there a method to achieve what the
    <!--nextpage-->
    command accomplishes, but with the page numbering style you get elsewhere in the Magazine Premium theme?

  • cbavotacbavota February 8

    That tag doesn't have the same elements and is therefore not as easily styled. You can read more about it here: http://codex.wordpress.org/Styling_Page-Links

  • Where are the link_pages() and wp_link_pages() template tags in your theme?

  • cbavotacbavota February 23

    Line 101 in loop.php:

    101
    wp_link_pages(array('before' => '<p class="pagesnav"><strong>'.__('Pages', "magazine-premium").':</strong> ', 'after' => '</p>', 'next_or_number' => 'number'));

Hey there!

Take a look around, and if you would like to add a comment or start a discussion, register by clicking on the button below.

Register

Categories

In this Discussion

Tagged