• Hi There!

    Thanks so much for making this plugin! I’ve put in a lot of work on a project that requires exactly the kind of navigation that your plugin aims to provide. I looked at similar plugins, and yours seems to be the only one that does just what I want. However, it is not working. I really hope you can help!

    I would like to use the next/previous buttons to loop through a set of sibling pages.

    Learning PHP is still on my to-do list, so I’ve been trying to use the shortcodes instead of the PHP functions. I’ve tried placing the following shortcodes into my page editor:

    [previous_page_link label=”Previous Note” link_class=”prev-next-button” direction=”prev”]

    and

    [next_page_link label=”Next Note” link_class=”prev-next-button” direction=”next”].

    I’ve also tried many variations of the shortcodes listed above. For example, I’ve tried adding the loop=”loop” shortcode option to enable looping.

    On one page, the previous/next links appear as I’d expect, but they both direct to a subpage of a non-adjacent parent page. I then tried the shortcodes on a different page, and the previous/next links did not appear at all, even though the content of the new page was the same as that of the last page (I used the same template for both and had not yet filled in the content).

    I would provide URLs, but the pages I’m working on are unpublished drafts. I’d rather not publish them until the links are working. In case it helps, I’m using the Enfold theme by Kriesi.

    Can you help me figure this out? It might help if you could add more detailed explanations of how to use the shortcodes (and shortcode options) on the FAQ page.

    I’d like to ask a more specific question, but all the things I’ve tried have produced seemingly nonsensical results. I’m not even sure what to ask.

    Thanks so much for your help!

    https://www.ads-software.com/plugins/linchpin-next-page-link-previous-page-link/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aaron Ware

    (@aware)

    @gwstanto there could be a few things going on here. The plugin hasn’t been updated in a while. But I might be able to help you out.

    Can you give me an idea of what your page hierarchy? (example below) That way I can try to reproduce it. You can always email me also if you want ware.aaron [at] gmail.com if you don’t want to share it publicly

    Example:

    Parent
     -> child
     -> child
     -> child
        --> grand child
        --> grand child
        --> grand child
        --> grand child
     -> child
     -> child
        --> grand child
    Thread Starter gwstanto

    (@gwstanto)

    @aware Thank you very much for getting back to me so quickly! I really appreciate it.

    I’ll go ahead and share the page structure in this forum, in case others might benefit from our discussion. If there is any other information that would help you figure this out, let me know. I could e-mail you directly if that helps.

    The page structure is below. Perhaps you don’t need all of the details, but I’ll be complete, just in case. By the way, I’m using the Advanced Page Manager plugin by author Uncategorized Creations to create my page hierarchy.

    I’ve indicated which pages are online (published) and which are offline (unpublished), in case that makes a difference.

    Parent (1st parent)
    Parent (2nd parent)
    .
    .
    .
    Parent (16th parent)
    -> Child**
    ———pages above this line are online, those below are offline——-
    Parent
    –> Child
    –> Child
    Parent
    –> Child* (prev, next shortcodes here point to Child** above)
    –> Child
    –> Grandchild
    —->Great-grandchild
    —->Great-grandchild
    —->Great-grandchild* (shortcodes here produce no visible links)

    If I can’t get this to work, I’m considering assigning the targets of next and previous links manually. However, I’m really hoping to get this to work, because I need a solution that can scale. My plan is to start adding lots of free tutorial pages (hundreds, eventually more). Since they’re tutorials, I’ll be creating each page by hand, using a template layout.

    Thanks again!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes Not Working – Help Appreciated!’ is closed to new replies.