• Resolved Cyrare

    (@cyrare)


    Hi,

    Thank you for your great plug in. I think that the backend is very good, but I have some difficulties with using the datas.

    I’m using hierarchical custom taxonomies, and my posts can have several taxos.

    If I use do_shortcode(‘[xy_jobs field=”name”]’); I’ve got a string with all datas concatenated.

    Is there a way to get an array or an object with all datas (i.e. $arr[0]->name $arr[1]->slug …) ?

    I don’t care if it’s not a shortcode.

    Thanks a lot,

    Cyril

    http://wordpress.org/extend/plugins/ultimate-cms/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author XYDAC

    (@deepakseth)

    Hey,
    I’ll look forward to this.
    Till then you can try using the very configurable shortcode i created.
    http://xydac.com/2013/05/28/wp-ultimate-cms-taxonomy-shortcodes/

    Do let me know about it.
    Regards,
    -Xydac

    Thread Starter Cyrare

    (@cyrare)

    Super XYDAC, this page is exactly what I needed for your plugin. I tried to look into your code but I tried before and after without the field_.

    I’ll try that, thanks a lot to have written this page.

    Cyril

    Thread Starter Cyrare

    (@cyrare)

    Hi XYDAC,

    I think there are 2 errors on your doc. It’s on the paragraph 4 :

    Syntax : [xy_{taxonomy_name} {field_name}_start=”{HTMLCODE}” {field_name}_end=”{HTMLCODE}”]
    Example: [xy_manufacturer website_start=”<span class=’class1′>” website_end=”</span>”]
    Output : <span class=’class1′>http://bmw.com</span><span class=’class1′>http://audi.com</span&gt;

    1/ It seem field=”website” is mandatory.
    2/ It seem that it is not website_start=”” and website_end=”” but website_before=”” and website_after=””

    Hope it help,

    Cyril

    Plugin Author XYDAC

    (@deepakseth)

    Thanks for this update buddy

    update on site 🙂

    -Xydac

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

The topic ‘Get Taxo and Custom fields in array or object’ is closed to new replies.