We're merging with GenerateBlocks! Learn more here.

[Resolved] Tags and Category showing

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Tags and Category showing

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #3772
    Jan
    Participant

    Hi Tom,
    I am using WPposts pro with GP.

    Here is the page I am working on: https://simpleorganicguide.com/crops-and-ingredients/

    I used the category to define what posts would show on this page.
    I am using the tags on each post to clarify and as a means to group like ingredients together – like GMO or non-gmo etc.

    Is there a way to have the tag show on the page (category doesn’t need to) below the title?

    If I set the page up by tag I will end up with posts that aren’t in this category. Tags are across all categories.

    Thank you!
    Jan Davis

    #3779
    Tom
    Keymaster

    Hi Jan,

    Right now it will only show the terms associated with the taxonomy you choose (category in your case).

    We could try adding it with a custom function though:

    add_action( 'wpsp_after_title', 'tu_add_tags_after_title' );
    function tu_add_tags_after_title() {
        echo get_the_term_list( get_the_ID(), 'post_tag', '', apply_filters( 'wpsp_term_separator', ', ' ) );
    }
    #3799
    Jan
    Participant

    Hi Tom,
    This worked perfect! Thank you
    The tags show up below the image and social media icons.

    I really like this plug in and paying for the pro version is very worth it!!!

    Thank You
    Jan Davis

    #3808
    Tom
    Keymaster

    Thank you! Glad I could help 🙂

    #14022
    Tim
    Participant

    Hello, this is a great plugin and companion to GP.
    I have a similar request, I have terms set after the post and would like to get the post tag to display along with the category, parent category.
    Any suggestions as to modifying the code above?
    Thanks in advance
    -tim

    #14031
    Tom
    Keymaster

    Hi Tim,

    Does the above code not work for you? It should add the tags along with the categories (if you’re using categories).

    #14039
    Tim
    Participant

    Thanks for the reply, I was trying to add this to after the post output but actually discovered some other code from another thread.
    I think I’m good.
    Great stuff, tighter integration with GP would be great down the road…it would be cool if this plugin picked up the looks from the GP customizer. (like blog layout settings for typefaces, colors)
    Overall hard to complain here, nice work!
    -t

    #14050
    Tom
    Keymaster

    Thank you! 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.