Change link target in grid view
-
Maybe this helps someone, or may even be a feature-idea for Joe.
I use My Calendar to display the scheduled courses of my training classes.
Each of my classes has detailed description pages that go beyond what MC can provide. Keeping friction as low as possible, I wanted to have the link in the grid go directly to my details page (avoiding the modal popup).
Around line 303 in my-calendar-output.php you have
if ( 'true' === $open_uri ) { // $details_link = esc_url( mc_get_details_link( $event ) ); // click to plugin event page $details_link = esc_url( mc_event_link( $event ) ); // click to my own event pageBy swapping out the $details_link the system does what I wanted. This is a very simple hack that only works if you entered the URL in the event details. Some hardening might be useful for general consumption, but as I am my best client, I skipped this.
Happy New Year, everyone !
The topic ‘Change link target in grid view’ is closed to new replies.