Support

Home Forums Custom Files Add-on (EE3) Event title as link in [event_custom_view]

Event title as link in [event_custom_view]

Posted: April 5, 2014 at 8:50 am

Viewing 3 reply threads


Shay VanVlymen

April 5, 2014 at 8:50 am

Wordpress v3.7.1
Event Espresso 3.1.36.1.P

Is there a way to generate a link to a page with a description of the event using the [event_custom_view]?

If you view the page I’m talking about:
http://mindsetlab.com/main/schedule/

I would like, say, Intro to Force on Force to link to this page:
http://mindsetlab.com/main/courses/intro-to-force-on-force/

Any help you can provide is greatly appreciated!


Tony

  • Support Staff

April 7, 2014 at 3:49 am

Hi Shay,

This would most likely require some custom development. However I do have a question.

Were those pages created using the ‘Create a Post’ feature within Event Espresso or manually?


Shay VanVlymen

April 8, 2014 at 8:04 pm

They were created manually. I’d like them to be static pages so that the students can view the course descriptions for all of our classes at any time.


Dean

April 9, 2014 at 1:54 am

Well, you could edit the template and replace the event name table cell with this

<td id="event_title-<?php echo $event->id?>" class="event_title"><a href="http://mindsetlab.com/main/courses/<?php echo strtolower( str_replace( ' ', '-', stripslashes_deep($event->event_name) ) ); ?>"><?php echo stripslashes_deep($event->event_name) ?></a></td>

It would mean that the pages/posts you manually create would need to have the exact same name as the event and all be in the courses area (category?).

If you are not sure how to proceed from that point you may require a developers assistance.

Viewing 3 reply threads

The support post ‘Event title as link in [event_custom_view]’ 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