Reply to: tickets(191163)

So I found a bit of code in the custom settings for my theme that had that yellow color and when I changed it to this >> .evo_fc_day.lstdw.has_events {background-color: #ffffff !important;} it worked. How do I similarly set the code for a hover color on days that have events. The settings in the full calendar itself aren’t working to change that color.

Reply to: tickets(190927)

I understand and believe I’ve made the right changes.  I am now getting a “scrape nonce check failed” error.  When searching, I learned that could be related to a plugin.  Can you please look at my code below and tell me if it’s a mistake in my code or something with the plugin?

Thank you again,

David

add_filter(‘evotx_checkout_additional_fields_settings’,’evotx_2′,10,1);
function evotx_2($fields){
$fields[‘first’] = __(‘Childs First Name’,’evotx’);

$fields[‘last’] = __(‘Childs Last Name’,’evotx’);

$fields[‘dob’] = __(‘Childs DOB xx-xx-xxxx’,’evotx’);

$fields[‘gender’] = __(‘Childs Gender’,’evotx’);
return $fields;
};

add_filter(‘evotx_additional_ticket_info_fields’, ‘evotx_1’, 10,1);
function evotx_1($fields){
// additonal field code block
$fields[‘first’] = array(
‘type’=>’Childs First Name’,
‘label’=> evo_lang(‘first’),
‘required’=> true,
);

$fields[‘last’] = array(
‘type’=>’Childs Last Name’,
‘label’=> evo_lang(‘last’),
‘required’=> true,
);

$fields[‘dob’] = array(
‘type’=>’Childs DOB xx-xx-xxxx’,
‘label’=> evo_lang(‘dob’),
‘required’=> true,
);

$fields[‘gender’] = array(
‘type’=>’Childs Gender’,
‘label’=> evo_lang(‘gender’),
‘required’=> true,
);

// you can use same code block for more fields
return $fields;
}

add_filter(‘evotx_get_attendees_for_event’, ‘evotx_3’,10, 3);
function evotx_3($arr, $event_id, $_th){

if(!isset($_th[‘first’])) return $arr;
$arr[‘oD’][‘first’] = $_th[‘first’];

if(!isset($_th[‘last’])) return $arr;
$arr[‘oD’][‘last’] = $_th[‘last’];

if(!isset($_th[‘dob’])) return $arr;
$arr[‘oD’][‘dob’] = $_th[‘dob’];

if(!isset($_th[‘gender’])) return $arr;
$arr[‘oD’][‘gender’] = $_th[‘gender’];

// the above 2 lines can be used for all other new fields

return $arr;
}

 

 

Reply to: tickets(191295)

Sorry. Just downgraded to 5.4.2 and it works now. It seems to be 5.5 related. All other addons and theme is the latest.