Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Link to post of blog | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Link to post of blog

Link to post of blog

Posted: September 29, 2012 at 8:23 am

Viewing 2 reply threads


Joel Rey

September 29, 2012 at 8:23 am

In [ESPRESSO_LISTS] the link under the event name goes to registration. I want it to go to Post description if it exists.

I tried to look in [EVENT_LIST] but this drive to modify the template event_list_display.php and I do not know what is the name of the variable refering to the post url ….

In fact, as [ESPRESSO_EVENTS] is giving the link to register in the description of the event, why not put in standard the link to the post under the name of the event ?


Dean

  • Support Staff

October 1, 2012 at 1:58 am

Hi Joel,

Generally our customers want the events to link to the registration pages rather than the blog posts. The blog post were really designed to be in addition to the events list/s in that they could be added to a Blog, News feed etc etc which you cannot do that easily with the Events.

As a work around or at least to get you started in the right direction you could try this code in the event_list_display.php, it basically gets the post ID if there is one and makes a link to the post

<?php
$dr_get_post_id = $event->post_id; 
$dr_event_name = $event->event_name;
$dr_permalink = get_permalink( $dr_get_post_id );
if (!$dr_get_post_id == NULL ) {
echo '<a href="' . $dr_permalink . '" rel="nofollow">' . $dr_event_name . '</a>';
}
?>


C. Sanchez-Lozano

October 6, 2012 at 2:43 pm

Awesome, exactly what I was looking for, thanks!

Viewing 2 reply threads

The support post ‘Link to post of blog’ 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 - Staging Server