andresgrossmann
Forum Replies Created
-
Forum: Plugins
In reply to: [Classic Editor] Doesn’t work with MultisiteI ran into the same issue. I was able to get it to work by Network Enabling it, then going to Network Settings and checking “Allow site admins to change settings” at the bottom of that page. Then I was able to manage it per site on the Writing Settings page.
Hope that helps.
Forum: Plugins
In reply to: [The Events Calendar] wp-admin SSL loads resources httpHow did you fix this? What plugin did you use? I just recently started getting this issue with The Events Calendar (no other plugin is loading http) after the last update.
Thanks for the prompt response. I tried the CSS change you suggested. It worked, but it also took out any leading days from a previous month which misaligned the first week’s dates.
I ended up doing this in jQuery using the nextmonth class you mentioned with the following code:
jQuery('.nextmonth a').each(function( index ) { // get date number this_date = jQuery(this).text(); // replace link with span jQuery( this ).replaceWith( '<span class="mc-date no-events">' + this_date + '</span>' ); });It leaves the dates on the calendar but takes out the link if an event is on that date and replaces it with the span the other dates use.
Thanks!
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Future month calendarsThanks for the explanation.
I got the specific month calendars working with the following code in my theme’s function.php file in case anyone else needs this functionality:
add_filter( 'mc_filter_month', 'my_custom_month', 10, 2 ); function my_custom_month( $month, $args ) { if ( $args['id'] == 'august-calendar' ) { $month = '08'; } elseif ( $args['id'] == 'september-calendar' ) { $month = '09'; } // etc... return $month; }Thanks again!
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Future month calendarsThanks for the clarification on the “month+n”. So could I incorporate the date filtering into a shortcode? I am a little confused on how to do that. I am using the “mini” format to display each month (ex: [my_calendar format=”mini” time=”month”]).