WordPress.org

Ready to get started?Download WordPress

Forums

Breadcrumbs - to show only link to the post, and to page which uses get_posts (3 posts)

  1. LucyRyder
    Member
    Posted 2 years ago #

    Hello,

    I have a page which pulls in the title and featured images of posts with a specific category using get_posts.

    On the posts i want a breadcrumb trail showing only the the post you are on, plus the previous page which pulls all the intros to the posts.

    I have installed Breadcrumb NavXT and thought i could set the parent link in the breadcrumb as that page, and then the next link would be the post you are on - but can't seem to set it like this.

    Any ideas?

    Thanks in advance

  2. John Havlik
    Member
    Posted 2 years ago #

    From what I can tell, what you are doing is going to be problematic for any breadcrumb plugin. It looks like you are manually creating a 'taxonomy' of sorts using a page and custom queries rather than letting WordPress do this for you (with categories, tags, or custom taxonomies).

  3. deepbevel
    Member
    Posted 2 years ago #

    the next link would be the post you are on

    how can the next link be the current post?

Topic Closed

This topic has been closed to new replies.

About this Topic