• Resolved siomerro

    (@siomerro)


    Hello,

    I have problem with a-z listing plugin. I tried to get posts from specific term in taxonomy in custom post type. My website have:

    – custom post type – wiki
    – taxonomy – game (lists of games)
    – taxonomy – feature (characters/missions/beasts/items etc.)

    I can add post to terms in both taxonomies. In example I’m creating post named Barbarian which has taxonomy “Game” – term “Diablo 3” and taxonomy “Feature” – term “Character”

    And I would like to list posts from character term in Feature taxonomy. But when I add this codes it showing me nothing…

    [a-z-listing display=”posts” post-type=”post” taxonomy=”feature” terms=”character”]
    [a-z-listing display=”posts” taxonomy=”feature” terms=”character”]

    What am I doing wrong?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    You’ve tried two different shortcodes. The top one explicitly sets the post-type to post meaning “Posts”, while the bottom one by not specifying a post-type will select page i.e. “Pages”.

    I believe you want the following:

    [a-z-listing display="posts" post-type="wiki" taxonomy="feature" terms="character"]
    
    Thread Starter siomerro

    (@siomerro)

    Oh my! Thank you! By mistake i forgot to change post-type to custom post type – wiki ??

    right now it’s working just fine ??

    Thank you once again! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with custom post type’ is closed to new replies.