WordPress.org

Ready to get started?Download WordPress

Forums

Linchpin - PrevNextPage
[resolved] Linchpin and Suffusion Theme (2 posts)

  1. Johnny_W
    Member
    Posted 3 years ago #

    Dear all,

    I would like to add the Linchpin Plugin to the Suffusion Theme of my website.

    However, I am simply to stupid to understand, how to do it. I tried reading and used Google. But I need a bit more help, please.

    The installation is described like this:

    Place <?php next_page_link(); ?> or <?php previous_page_link(); ?> in your templates or utilize [next_page_link] [previous_page_link] shortcode

    Does this mean that I open the page.php with an editor and place there somewhere the two functions

    <?php next_page_link(); ?>
    <?php previous_page_link();

    I tried it, I also tried the format of the two examples:

    <?php previous_page_link( array ( 'label' => 'View My Previous Page', 'loop' => 'loop', 'link_class' => 'ui-button-disabled' ) ); ?>
    <?php next_page_link( array ( 'label' => 'Next Page' ) ); ?>

    But I could not observe any change. The shortcodes are no alternative for me as I use only html in the editor.

    Any help is very welcome...

    Thanks a lot already in advance.

    John

    http://wordpress.org/extend/plugins/linchpin-next-page-link-previous-page-link/

  2. aware
    Member
    Plugin Author

    Posted 3 years ago #

    Hey John,

    Sorry I didn't reply sooner. I didn't see this message til now. I would have though wordpress would have notified me automatically.

    You could potentially put `<?php next_page_link(); ?>
    <?php previous_page_link(); ?>` in any page template even the index.php of your theme.

    The shortcodes [next_page_link] themselves would only really be utilized within the "content area / the editor" of page/post but if you were making a page template. As long as you actually have "Pages" within your site (Not to be confused with posts) it should work.

    Based on it being a couple of weeks. I'm not sure if you said to hell with it and ditched the functionality. But regardless I'd like to help you out. if you could paste a snippet of your php so I can see it used in context. Also again be sure you have pages set up. Could be a bug in the code that I didn't come across as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic