• Resolved Advex

    (@totalfly)


    Hi everyone,
    i downloaded pods thinking that create taxonomies and publish them in a page was quite user friendly, but actually if you are not a programmer (me for instance) i think that is quite a “mission impossible”..
    BTW.. my problem is that i need to display some taxonomies with link in a list of event posts, what i done until now was to:

    1) create the new taxonomy setting website type, in order to have the possibility to assign an URL to the taxonomy
    2) create a simple Pods template as follows:
    <a href="{@special_event_name,esc_url}">{@name}</a>
    3) insert in the functions.php the following:
    <?php echo do_shortcode('[pods name="aeromobile" template="aereo" shortcodes=1]'); ?>
    4) insert in the wp-config.php the following:
    define('PODS_SHORTCODE_ALLOW_SUB_SHORTCODES',true);
    5) insert in the existing php event page the following:
    <?php echo do_shortcode('[pods name="aeromobile" template="aereo" shortcodes=1]'); ?>

    actually looks quite ok if not for 2 big issues:

    1) all the posts in the list have the same taxonomy, even if not checked in the event page
    2) if i add more different taxonomies all of them are displayed for each event listed.

    check please in this page: https://www.totalfly.it/schedule-test/

    please do you have any suggestion to help me to solve this issues until i will get old trying to display the taxonomies in the correct way? ??

    thanks a lot for your support

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

    (@keraweb)

    Hello @totalfly

    You currently don’t add any context to the shortcode so it would display all the same items.
    I’d advice you to use our auto-template functionality and work with Pods Templates to add your taxonomies.
    Please also watch our introduction video: https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/

    Cheers, Jory

    Thread Starter Advex

    (@totalfly)

    Hi Jory, thank you so much for your kind answer,but unfortunately this does not help me so much.. ??
    as i told you i’m not a programmer, i’m just trying to solve this issue..
    do you have any suggestion to “arrange” the shortcode or there is a “manual” about how to use the shortcodes? because i’m looking in the net from 2 days but i didn’t find anything that explain how to display just the taxonomies that are checked/selected in the post

    thanks a lot for any help you want to offer and Merry Christmas ??

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @totalfly

    I understand that you aren’t a programmer, that is not what that introduction video is for.
    I still think it’s a good idea to watch the video since it will give you a better understanding of how relationships work.
    Documentation for the shortcode can be found here: https://docs.pods.io/displaying-pods/pods-shortcode/

    Cheers, Jory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get taxonomy name with url in a php page’ is closed to new replies.