• Resolved olivvv59

    (@olivvv59)


    hi,

    i try to do my own template.

    i want to use GD shortcodes but i don’t know how.

    i try this :

    <?php echo do_shortcode("[um_user meta_key='first_name']"); ?>
    

    or

    <img alt="photo de profil" src=<?php echo do_shortcode("[um_user meta_key='profile_photo']"); ?>>

    but it doesn’t work.
    i see the directly the shortcode in my page.

    maybe something to add in my functions.php ?

    thank for your help
    Olivier

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

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

    (@paoltaia)

    Hi, this is considered a customization and beyond support, especially because that’s not a GeoDirectory shortcode… Please create a ticket on our website and we’ll follow up.

    Thanks,

    Plugin Author Paolo

    (@paoltaia)

    Thread Starter olivvv59

    (@olivvv59)

    oh god, you are right.

    i am tired ^^

    this is the wrong plugin.

    i have just tested with GD.
    it just works fine :
    <?php echo do_shortcode("[gd_search]"); ?>

    thanks for replying despite my mistake
    Olivier

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ShortCode in template’ is closed to new replies.