WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Adding extra function on the last page of the post

[Resolved] Adding extra function on the last page of the post

  • Hi
    I want to combine your plugin that we already use with output of the WordPress Related Posts (by Zemanta) plugin, but with a small twist.
    I would like the related post on appear on the last page of the multipage post and not in every page of the post.
    At the moment the code on the single.php looks like so:

    ...
    <?php the_content(); ?>
    <div class="clear"></div>
    <?php wp_pagenavi( array( 'type' => 'multipart' ) ); ?>
    <?php wp_related_posts(); ?>
    ...

    Any ideas where the wp_related_posts function should go ?
    Thank you in advance
    Test post in test site
    http://blogs.creativeopinions.org/2014/06/11/lorem-ipsum/

    https://wordpress.org/plugins/wp-pagenavi/

  • The topic ‘[Resolved] Adding extra function on the last page of the post’ is closed to new replies.