Reply to: url code

Hello,

This isn’t caused by our plugin. Our calendar shortcode will show the calendar in the page it is added in. It doesn’t change the url of the page.

I see that you are using a lot of plugins. It could be caused by one of the other programs you are using.

Please disable all other plugins, change the theme back to default WP theme, reset the permalinks and check once.

Thank You

Reply to: How to add my own ticketlink in the eventon plugin?

Hello,

When i want to add the code i get a error:

Jouw PHP-wijzigingen zijn teruggedraaid vanwege een fout op regel 80 in het bestand wp-content/themes/bridge-child/functions.php. Repareer en probeer opnieuw.

syntax error, unexpected 'Box’' (T_STRING), expecting ',' or ')'

Reply to: Can’t event on_eventtop_custom to work

I noticed in your code examples here:
https://docs.myeventon.com/documentations/hook-eventtop/

That you use:
// throw html content for the switch statement for this index
add_filter(‘eventon_eventtop_custom’, ‘eventon_top_content’, 10, 3);
function eventon_top_content($object, $helpers, $EVENT){

$event_id = $object->eventid;
// $event_id = $EVENT->ID — event ID can also be get from this

// $event_pmv = $object->evvals; // event post meta values

// your HTML code goes in here.
$output = ‘<span data-eventid=”‘.$event_id.'” class=”custom_code”>Click to see more</span>’;
return $output;
}

But the ‘eventon_eventtop_custom‘ filter doesn’t exist on this page:
https://docs.myeventon.com/documentations/hooks-actions-filters/

So I tried this instead:
add_filter(‘eventon_eventtop_html‘, ‘eventon_top_content’, 10, 3);
function eventon_top_content($object, $helpers, $EVENT){

$event_id = $object->eventid;
// $event_id = $EVENT->ID — event ID can also be get from this

// $event_pmv = $object->evvals; // event post meta values

// your HTML code goes in here.
$output = ‘<span data-eventid=”‘.$event_id.'” class=”custom_code”>Click to see more</span>’;
return $output;
}

And it replaced everything in eventTop instead of adding to it as it does in your example.

Is it possible to get some advice on simply adding some html into eventTop?