• Resolved aryanrajseo

    (@aryanrajseo)


    Hi Bill.

    Working on a tutorial and would like to know how to output category and tag list both?

    Currently trying different parameters but not working.

    [display-posts posts_per_page="3" exclude_current="true" title="CATs and TAGS" image_size="thumbnail" wrapper="div" wrapper_class="dps-grid-layout" include_date="true" date_format="F j, Y" category_display="true" taxonomy="post_tag"]

    category_display=’post_tag” output post tag but not both CAT and TAG same time.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter aryanrajseo

    (@aryanrajseo)

    Also having a problem showing a list of post from the current category on a single post.

    Using this but it is showing posts from other categories too.

    [display-posts exclude_current="true" taxonomy="category" tax_term="current" posts_per_page="3" title="CURRENT Posts"]

    Plugin Author Bill Erickson

    (@billerickson)

    Currently the plugin only supports displaying a single taxonomy (category, tag, or custom taxonomy). To add both categories and tags, I recommend you either use the output filter or create a template partial in your theme.

    The tax_term parameter does not accept “current” as a value (it’s looking for a category named “current”).

    With this code you can add support for [display-posts category="current"]

    Thread Starter aryanrajseo

    (@aryanrajseo)

    Hi,

    The post from current post category is worked but I don’t know how to make both the category and tags list appear with each. I don’t know that level of coding.

    I wonder if you could help with the snippet using Output filter method.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Output Post Category and Post Tag both’ is closed to new replies.