WordPress.org

Forums

Sunspot
[resolved] Linking static pages (3 posts)

  1. mshoptaw
    Member
    Posted 1 year ago #

    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: http://www.heavenearthcreations.com/gallery/abstract/breathing-through-chaos/

  2. 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

  3. mshoptaw
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.