ecclescake
Forum Replies Created
-
Forum: Plugins
In reply to: [Volunteer Sign Up Sheets] New signup sheets not displaying in widget or listYou know, I think caching was it. I force-refreshed multiple times to no avail. This site is on SiteGround, which I haven’t worked with in several years. I’ll go read up on their caching setup.
Thanks so much for the response!
Forum: Plugins
In reply to: [The Events Calendar] Can’t programmatically add category to event in pluginThanks for the additional info, Darian. I’m not using a custom REST endpoint and don’t want to set one up just to handle event categorization. My code simply runs in a plugin rather than in a theme. (Another commenter on this thread is using the custom endpoint.)
Please consider allowing event categorization from plugin code. WordPress best practices suggest that functionality code like event creation be handled in a plugin rather than the theme, so this is a very common occurrence. I think there are a lot of developers who won’t want to deal with switching over to REST endpoint setup/configuration and just want to continue to be able to do basic event creation tasks in their plugins like always.
Forum: Plugins
In reply to: [The Events Calendar] Can’t programmatically add category to event in pluginMy event creation is triggered by cron. Here is the relevant portion of my reduced test-case code that doesn’t work:
/** * Check whether it's time to create this * year's calendar. * * @return void */ public static function cron_test() { $next_execution = get_option( 'prefix_next_execution' ); if ( ( time() >= $next_execution ) && ( gmdate( 'm' ) >= '3' ) ) { self::test_create_event(); self::set_next_execution_time( strtotime( '+1 year' ) ); } } /** * TEST event creation. */ public static function test_create_event() { $args = array( 'post_title' => 'Test Event', 'post_content' => 'Test description', 'post_status' => 'publish', 'venue' => 61, 'show_map' => true, 'start_date' => gmdate( 'Y-m-d H:i:s' ), 'end_date' => gmdate( 'Y-m-d H:i:s', strtotime( '+2 hours' ) ), 'category' => array( 9 ), ); $result = tribe_events()->set_args( $args )->create(); }
The cron_test() function is added to a daily cron schedule by my plugin’s Loader class, via:
add_action( 'prefix_cron_hook', $plugin_instance, 'cron_test' );
The event is created with proper time, venue, etc, but no category gets added.
I came here searching for this issue because I’m experiencing it too. I’m using the Cookiebot plugin to load GTM and it is enqueuing the GTM script before its own consent code, thereby going against its own setup recommendations. Is this a bug?
Forum: Plugins
In reply to: [List Petfinder Pets] Filtered shortcode returning all pets???♀? Oy vey, I didn’t realize it was case-sensitive! I swear it worked lowercase before ??
Capitalizing the animal type is working great; thanks so much!
Forum: Plugins
In reply to: [List Petfinder Pets] Filtered shortcode returning all petsSure, our ID is CA522. Thanks for looking into this.
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] USPS not available to add as shipping methodThanks for the response. I did create a ticket, and was told that even though we’ve been *trying* to get this method to work since before 10/23, since we weren’t able to *actually* get it to work in time, we’re SOL and must buy the USPS extension. We don’t seem to have any recourse, so :shrug: …I guess we’re a captive audience since we need to offer USPS shipping rates.
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] USPS not available to add as shipping methodOh wow, so just to be clear: we’ve been trying to get this working since before 10/23, but since support wasn’t able to resolve this before then, we now must buy the USPS shipping rates extension? Was there another (faster) avenue of support that I should have utilized? Are the WooCommerce Services shipping rates going to be phased out soon anyway?
Forum: Plugins
In reply to: [WooCommerce Shipping & Tax] USPS not available to add as shipping methodWe’ve tried that and still don’t have USPS shipping as an option to add to our zone. We just have Flat Rate, Free Shipping, Local Pickup, and UPS. I’ve got no errors in the log or in WC system status, either. Would love to get this resolved…this is one of our last steps before testing + launching! Thanks.
Forum: Plugins
In reply to: [Cooked - Recipe Management] Pagination gives 404 not found errorI submitted a bug report this morning. Thanks for looking into this!
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Lost share countsIt looks like this is caused by a change in how Facebook’s JSSDK calculates likes. The AddThis team was very helpful via email, but we were unable to solve this problem with them. We’ve switched to a different sharing plugin and have our share counts back.
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Lost share countsHi Leland, any updates? Any followup? Thanks.
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Lost share countsSure, you can see a share count of zero on the following post: https://wineoh.tv/livermore-valley-wine-tours-wine-tasting-video
It should be more than 400, as you can see here: https://graph.facebook.com/https://wineoh.tv/livermore-valley-wine-tours-wine-tasting-video
You should be able to view source of the above blog post and see where I’m setting the share URL in the addthis_share variable, but the share button isn’t picking that up. I’ve tried all the methods listed in the article on your website, but none of them seem to work anymore.
Thanks.
Forum: Plugins
In reply to: [VR Calendar] user roleI have the same need. I don’t see a good way to do this without editing the plugin code directly, thereby making it difficult to update (you’d have to remember to reapply the edits to all updated versions).
I created another support thread with some suggested code for the plugin author to use so that site builders/themers could allow different user roles to access the calendar settings pages: https://www.ads-software.com/support/topic/request-add-filter-to-allow-different-user-roles-to-access-settings-pages/
Hopefully the author will incorporate this code in a future release.
Another good tip; thanks!