Hi. Yesterday i install SSL of my site and there was a few issues with my site. I am not shure if they are result of exporting/importing database that i make to replace all HTTP links with HTTPS, or just some kind of SSL issue. So there is some of them
1) Some of my text widgets was missing
- I was set them up again
2) Some of my Google fonts was missing... like "Montserrat" from the main menu and "Raleway" from some headers.
-I inject them again via google stylesheet, but i am not shure if anything else missing. So if you have any idea what can be the reason and how to fix that mistakes?
3) Most important... my code which Hiding empty monts in course tab, which i insert in my wplms-customizer.php, stop working and now i see again emty monts. The code is inside wplms-customizer + my other codes which actualy works, but that one, not!
This is my code.. do you ave any idea what can be the problem with it?
add_filter('wplms_eventons_course_events_shortcode',function(){
if(class_exists('WPLMS_tips')){
$tips = WPLMS_tips::init();
if(isset($tips->settings['event_calendar_display'])){
switch($tips->settings['event_calendar_display']){
case 'list':
$shortcode = '[add_eventon wplms_course="1" number_of_months="12" month_incre="1" hide_empty_months="yes"]';
break;
}
}
}
return $shortcode;
},99);
Hi...
First you need to make sure the https is set in the wp-admin->settings->general->wordpress address and site address, it should also be set to https if your website is https.
-----------------
The code you shared above will have no impact with the website set to https, as it only makes some changes to the shortcode.
Yes.. the https is set in General wordpress settings, I use SSL plugin and also replase all HTTP links of my domain with HTTPS in database.
Actualy now i found the problem. This is kinda weird for me, but the code that you provide me and it worked until my site changes was $shortcode = '[add_eventon wplms_course="1"...
but after he stoped to work, i change the part add_eventon to add_eventon_list and now it work again. Amnyway.. thank you for the support.. this is all for now :)