• Resolved ziogil

    (@ziogil)


    Hi David,
    I’m trying to display wiki pages with a specific tag on a “Focus on” section within my homepage.
    I’m using the Display Posts plugin.
    The shortcodes provided look pretty easy to use, but I still can’t fetch the wiki tags, apparently. Of course the normal tag shortcode won’t work, so I tried with the taxonomy shortcode that goes like this:
    [display-posts taxonomy="color" tax_term="blue, green"]
    So I tried with wiki tags:
    [display-posts taxonomy="wiki_tag" tax_term="tag-slug-example"]
    but it doesn’t work either. Is “wiki_tag(s)” the correct taxonomy name?

    Alternatively, which method would you suggest to obtain the desired result?

    Thanks in advance!
    zG

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dmccan

    (@dmccan)

    Hi Ziogil,

    The names are “wiki_cats” for the categories and “wiki_tags” for the tags.

    I tried out the plugin and could get this to work:
    [display-posts post_type="yada_wiki"]

    But could not get the categories or tags to work.

    You could try going in the admin to Settings / Yada Wiki and checking “Show Wiki Shortcode Buttons for Regular Posts and Pages” then using the Yada Wiki short codes. This assumes the Classic Editor, otherwise you will have to manually add the short codes.

    [yadawikitoc show_toc=”true” category=”color” order=”title”]

    Please let me know if that helps or not. I can try looking at the Display Posts source code if necessary.

    Best,

    David

    Thread Starter ziogil

    (@ziogil)

    Hi David,

    thank you for your kind answer and sorry for the late reply.
    I’m happy to tell you that, thanks to an additional workaround, the first solution you proposed is working quite well.

    Thanks again!
    zG

    Plugin Author dmccan

    (@dmccan)

    I’m glad you found a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display only wiki pages with a specific tag’ is closed to new replies.