• Hi Great plugin!

    I am doing a site that has a city specific directory, so I have the shortcode working but would like to just display the taxonomy for a particular city instead of the post date.

    The city is in a custom taxonomy, so I’m guessing I need to somehow declare it in the plugin functions.php and then just call it.

    The shortcode is created in CUSTOMPRESS, and I just need it to show up in the field.

    <?php echo do_shortcode(‘[tax id=”city” before=”your text before ” separator=”, ” after=” your text after”]’); ?>

    I simply want to put that where the date is. I can style. I just can’t call it.

    M

    https://www.ads-software.com/plugins/recent-posts-widget-extended/

  • The topic ‘Need to display city instead of date in shortcode.’ is closed to new replies.