reply

Home Forums Responsive Themes Dating Theme How to remove… Reply To: How to remove…

  • JamesD
    JamesD
    November 6, 2019 at 11:03 pm

    Hello Jeff,

    Have you tried replacing the code with the [LOCATION] shortcode?
    For example,
    <div> <?php echo do_shortcode('[ZODIACSIGN symbol=1]'); ?> <span class="block"> <?php echo do_shortcode('[ZODIACSIGN]'); ?> </span></div>
    With…
    <div> <?php echo do_shortcode('[LOCATION]'); ?></div>
    Note: If you do it this way then you may need to re-style the section to make it fit appropriately.

    Or, if you only wanted to use one of the location meta keys, for a piece of the data, then you can call a meta key.
    For example, you can grab the state abbrev data and do something like this to add to display it:
    <div> <?php echo get_post_meta($post->ID, 'map-state', true); ?></div>