• Resolved peterco

    (@peterco)


    Hello! I love the plugin! But, I’m a bit confused as to how to use the taxonomy parameter on a loop. Here’s how I’m approaching it:

    [loop type="listing" taxonomy="property-type" value="commercial"]
    
    [content field="title"]
    
    [content field="thumbnail"]
    
    [content field="author"]
    
    [/loop]

    Am i missing something?

    http://ww.wp.xz.cn/plugins/custom-content-shortcode/

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

    (@peterco)

    Actually, I have figured this out!

    I was filtering by the wrong taxonomy; because the theme was using custom taxonomies, I couldn’t be sure what slug/name to enter.. I solved this by using the Ultimate Taxonomy Manager Plugin to figure out the correct slug. Thanks for the great plugin!

    Plugin Author Eliot Akira

    (@miyarakira)

    Yes, when the parameter is not set right, there are no errors – so it might be hard to track down the reason why it doesn’t display what you intended.

    Regarding taxonomy slugs, that gives me an idea to add in the reference section a dynamic list of available post types, categories, taxonomies, and custom fields. Could be useful.

    Thread Starter peterco

    (@peterco)

    Yes.. very much so. I spend a few minutes just trying to figure things out.. In fact.. I’m doing that now! Would be nice to list content field as well! Beautiful plugin my friend. Very nice!

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

The topic ‘Using Taxonomy as a parameter’ is closed to new replies.