Events Planner Logo
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Calendar widget link to event not cart

Rene — Jun 10, 2016 07:53AM MDT

Is it possible to link the Calendar widget on the sidebar to the event description rather than the pop up cart? (version 2.1.0.6)

http://cmdresourceday.com/


10 Community Answers

Abel - Jun 10, 2016 at 09:12PM MDT

WP Events Planner Agent

Hi Rene.

Sure. Please edit the event, scroll down to the “Display & Other Options” tab and set “Calendar/Widget link destination” to “Event Details”.

Thanks, Abel

rated : 0 Up Down

Vince - Jul 28, 2016 at 07:40PM MDT

Is there any global setting for this?

rated : 0 Up Down

Abel - Jul 31, 2016 at 06:20PM MDT

WP Events Planner Agent

Hi Vince.

No global setting but there is a hook.

//add this to your active theme's functions.php file

add_filter('epl_display_option_fields', 'my_epl_display_option_fields');

function my_epl_display_option_fields( $fields ) {
    
    $fields['_epl_cal_link_destination']['default_value'] = 1;
    return $fields;
}

Hope this helps.

Thanks, Abel

rated : 0 Up Down

Vince - Aug 01, 2016 at 05:26PM MDT

I tried your hook but it is not working as desired

rated : 0 Up Down

Abel - Aug 01, 2016 at 07:15PM MDT

WP Events Planner Agent

Hi Vince.

Hmm. I have tested this code and it worked. What is not working for you?

Thanks, Abel

rated : 0 Up Down

Vince - Aug 01, 2016 at 09:44PM MDT

On my calendar events are still pointing to registration screen. They should be pointing to event page.

rated : 0 Up Down

Vince - Aug 02, 2016 at 01:06AM MDT

Do I need to set any priority on the hook?

rated : 0 Up Down

Vince - Aug 02, 2016 at 02:44PM MDT

Abel,

This issue has been resolved.

Thanks

rated : 0 Up Down

Vince - Aug 02, 2016 at 02:46PM MDT

Sorry,

the other issue I sent in ticket was resolved but not this one.

rated : 0 Up Down

Abel - Aug 02, 2016 at 08:27PM MDT

WP Events Planner Agent

Vince, please edit the event and make sure this setting is in effect: http://screencast.com/t/q6m7iVUfR3K

What the code above does is … when you create new events, “Event Details” will be selected by default in that field. If you continue having issues, please set me up as an admin user on the website and I will gladly check it out (email login details to help a[t]~ wpeventsplanner.com). Please don’t post the credentials here as this is a public post.

Thanks, Abel

rated : 0 Up Down

Post Your Public Answer