piersb
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Calling “render_callback” inside “register_block_type” in OOPIt turned out that my problem was declaring the name of the block differently in the JS to the PHP (typo).
The JS would successfully render on the edit screen; but when Gutenberg attempted to parse the content block, its attempt to match the block name in order to perform the correct callback silently failed.
Forum: Plugins
In reply to: [Gutenberg] Calling “render_callback” inside “register_block_type” in OOPHaving exactly the same problem; I’m getting no output at all on the front end.
Forum: Plugins
In reply to: [WP Job Manager] Undefined index: post_typeTa!
Forum: Plugins
In reply to: [WP Job Manager] Undefined index: post_typeThe particular line of code is
if ( ‘edit.php’ !== $pagenow || ‘job_listing’ !== $wp->query_vars[‘post_type’] )
The other if statements in the method test against $_GET, which we can see is set in the URL. Would changing the code to
if ( ‘edit.php’ !== $pagenow || ‘job_listing’ !== $_GET[‘post_type’] )
solve the problem?
(alternatively using isset($wp->query_vars[‘post_type’]) to test for it would presumably also work, dependent on which is the better case to return from…)
Forum: Plugins
In reply to: [WooCommerce] Product url redirect to wrong product links from product listI think it happens when you rename a product. WordPress saves the old link into the _wp_old_slug so that people linking to the old product won’t get a 404.
As far as I’m aware deleting it from the database is the only solution.
Ta.
Installed the new version; only one event w/in the next 7 days was showing up. Plugin appeared to have reset to 7 days.
Switched option to 7 events; no change.
Switched option to 365 days; saw all events.
Switched option to 7 events; everything now visible again.TBH, the most likely explanation is that I didn’t change the setting properly, or there was a cache involved.
I’m posting this in case that wasn’t the case and doing this solves the problem for the OP.
I seem to be having this problem too, but only in the Widget. Using the shortcode gives me all of the events I want to see…
Forum: Plugins
In reply to: [Image Gallery Reloaded] Making the gallery respect image order@jonfold did all the running on this one…
Forum: Plugins
In reply to: [Image Gallery Reloaded] Making the gallery respect image order@jonfold did all the running on this one…
Forum: Plugins
In reply to: [Image Gallery Reloaded] Making the gallery respect image order…and now integrated with the github master branch at https://github.com/DanielSachs/image-gallery-reloaded 🙂
Forum: Plugins
In reply to: [Image Gallery Reloaded] Making the gallery respect image orderThanks! Sorted my problems too…