X
209720

eventon_eventtop_html only for single view

Hi,
I want to customize header in single view (e.g. ) with
add_filter(‘eventon_eventtop_html’, ‘eventon_insert’, 10, 3);

but not in the event list (e.g. )
My funtion
function eventon_insert(){
…. }
works pretty well in single view, but in list view the area of eventon_eventtop_html is blank.

I tried it with
if ( is_single() && ‘ajde_events’ == get_post_type() ) {
… }
but that does not work.

Any hints?

Thanks in advance and Regards
Heinz

BY: Heinz Peller - Dec 2,2020 AT 9:26AM - 4 years ago
    • Artem Dec 2,2020 AT 10:46AM - Posted 4 years ago - #209730

      Hello,

      Unfortunately, we unable to help with customizations. You can send us a customization job request by creating a new ticket in here and selecting Customization Request as the category.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON