Support

Home Forums Event Espresso Premium Display value of event meta box as a friendly name -> Href link.

Display value of event meta box as a friendly name -> Href link.

Posted: August 30, 2013 at 5:04 am


Winston Douglas

August 30, 2013 at 5:04 am

I have two requests.

I have included an event meta box in all of my events which contains a URL.

1. I would like to to display this URL named “View Options” on my page inside a table which is using the espresso_table shortcode.

2. I would like to display the same link on every event page. I think it’s registration.php

I think it’s a combination of the following: But I can’t get the right syntax.

<pre class=”brush: php; gutter: true; first-line: 1; highlight: []; html-script: false”><?php echo do_shortcode('[EE_META type="event_meta" name="enroll_min" event_id="'.$event->id.'"]');?>

<?php echo "< a href=""$url"">View Options"; ?>

Can you help?


Dean

August 30, 2013 at 5:28 am

duplicate, closing – see https://eventespresso.com/topic/display-value-of-event-meta-box-as-a-friendly-name-href-link/

The support post ‘Display value of event meta box as a friendly name -> Href link.’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso