kmitz
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Planet Green] Problem using Elementor on home pageOk, thanks. Did you folks write the Kirki code or was the generated somehow?
Forum: Themes and Templates
In reply to: [Planet Green] Problem using Elementor on home pageThe home page is apparently not a “page” in the WordPress meaning, nor is it a “post”. It seems to be as a result of Kirki code, therefore it is not editable.
Forum: Plugins
In reply to: [WP FullCalendar] Calendar works, but event date is wrongI was able to create a custom plugin that added a filter to the wpfc_ajax event just before the json is sent to the browser. PODS stores the data I’m after in wp_postmeta.
It works when the calendar is first loaded, but not when you click the next/previous month buttons. Any help with where I might look into that?
add_filter( 'wpfc_ajax', '_modify_dates', 50, 1 ); function _modify_dates( $items ) { global $wpdb; for ($i = 0; $i < count($items); $i++) { $sql = "SELECT meta_value FROM wp_postmeta WHERE meta_key='event_date' AND post_id=" . $items[$i]['post_id']; $evdate = $wpdb->get_var($sql, 0); $sql = "SELECT meta_value FROM wp_postmeta WHERE meta_key='event_duration' AND post_id=" . $items[$i]['post_id']; $duration = $wpdb->get_var($sql, 0); $dt_obj = date_create($evdate); $d_start = date_format($dt_obj, 'Y-m-d\TH:i'); $int = 'PT' . $duration . 'H'; $end = $dt_obj->add(new DateInterval($int)); $d_end = $end->format('Y-m-d\TH:i'); //$items[$i]['color'] = '#999999'; $items[$i]['start'] = $d_start; $items[$i]['end'] = $d_end; } return $items; }Forum: Plugins
In reply to: [WP FullCalendar] Calendar does not appear with [fullcalendar] commandAlso, you have some javscript errors in your calendar page related to FullCalendar:
Uncaught TypeError: $(...).first(...).fullCalendar is not a function at HTMLDocument.<anonymous> (<anonymous>:87:30) at e (jquery.min.js?ver=3.5.1:2) at t (jquery.min.js?ver=3.5.1:2)Did you see this topic?
https://ww.wp.xz.cn/support/topic/js-errors-on-running-with-wp-5-6/
Try clearing your cache if you have a caching plugin enabled.
Forum: Plugins
In reply to: [WP FullCalendar] Calendar does not appear with [fullcalendar] command@ploesslmaddie, I just looked at the source code and it looks like those files are included. I can’t see you settings page, though.
Try disabling Events Calendar and refreshing the page to see if the FullCalendar shows up. You can try that with your other plugins, too, just as a test.
- This reply was modified 5 years, 5 months ago by kmitz.
Forum: Plugins
In reply to: [WP FullCalendar] Calendar does not appear with [fullcalendar] commandFor what it’s worth, I just installed FullCalendar 1.3.1 on WP 5.6 and it’s working for me (I do not use Events Manager).
I would check the source code of the page where you put the [fullcalendar] shortcode (right click > View Page Source in Google Chrome). Make sure it’s loading jquery (line 52-57 for me) and the FullCalendar js file (line 65, which will look like the line below).
src=’http://localhost:8888/pods/wp-content/plugins/wp-fullcalendar/includes/js/main.js?ver=1.31′
Make sure you do not have an entry on the last box of the FullCalendar settings page titled “Load JS and CSS files on”.
Forum: Themes and Templates
In reply to: [WP Bootstrap Starter] Child Theme Preset StyleHi @ickehier ,
I’m not at all familiar with SASS/LESS, either.
Can you explain what you did exactly in the above post?
Thx.
Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] May I have a usage example, please?I’ll keep an eye out for it, thanks.
Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] May I have a usage example, please?Oh, I see that’s on the Pro version.
Thanks.
Forum: Plugins
In reply to: [Contact Form 7 - PayPal & Stripe Add-on] May I have a usage example, please?Thanks. I was confused because I was expecting a field for the amount or something. Is that possible? We’d like to leave the amount up to the donor.
kmitz
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] HTML5 complianceHi,
Sorry for the wait. I did try the twenty fifteen theme as a test and the calendar validated to HTML5. Thanks for the help troubleshooting.
kmitz
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] https errors due to imported fontsJust updated to v 2.1.5 and all error messages gone.
Forum: Fixing WordPress
In reply to: Quick Fix HelpAre you running the Genesis theme or sub-theme? Check themes/Genesis/functions.php — open in your code editor.
I found some code (looked like it was base-64 encoded) inserted before the normal-looking code. The fact that it had 2 sets of PHP tags tipped me off.
Comment out or remove that first function that starts like this:
$wp_function_initialize = create_function('$a',strrev(';)a$(lave'));If you don’t have Genesis, check your other themes. I’ve also read online that the code is sometimes in the header.php file, but not in my case.