• Resolved mshoptaw

    (@mshoptaw)


    I am using Sunspot static pages for my website. I am manually linking them with Next and Previous links using html “a href”. I’ve been reading about linked pages and have tried ordering my pages and putting <?php wp_link_pages(); ?> in my page but that doesn’t seem to work. Is there documentation somewhere I can read to learn how to do this? Or is there a better way?

    This is an example of what I’m currently doing: https://www.heavenearthcreations.com/gallery/abstract/breathing-through-chaos/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The function wp_link_pages() is meant for multi-page paginated posts, not separate static pages like you have. Codex reference.

    Your question isn’t specifically related to the Sunspot theme.

    You can create manual links to your portfolio pages as you’re doing, or some other options you can explore include:

    – use WordPress’s built-in gallery feature, with or without the Jetpack tiled galleries add-on
    – use a theme geared to portfolios
    – use a custom post type for portfolio items
    – create a separate template for portfolio items

    Thread Starter mshoptaw

    (@mshoptaw)

    Thanks for the help Kathryn. As you can tell, I am just learning and really appreciate the advice and links.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking static pages’ is closed to new replies.