Googlemap not initialising
Found the issue. Needed to make all the calls for the js etc out of the Gutenberg builder as it was parsing it incorrectly.
Found the issue. Needed to make all the calls for the js etc out of the Gutenberg builder as it was parsing it incorrectly.
The answer to this should be rather simple. Please visit the settings page with the url settings. Just visit it. yoursite.com/wp-admin/options-permalink.php By doing so, WordPress should trigger the “Flush-Rewrite” hook, which creates a new .htaccess with the appropriate rules. However, please also be aware that depending on your custom-post-type some hooks in your code might … Read more
Building a multisite where ACF Gutenberg blocks can either pull from main site, or if a priority flag is marked, pulls block from subsite
WP get_terms and ACF field
Query Custom Post Types on Available Dates
This code works perfectly! function delete_expired_posts() { $args = array( ‘post_type’ => ‘post’, ‘meta_query’ => array( array( ‘key’ => ‘fecha_borrado’, ‘compare’ => ‘EXISTS’, ), ), ‘posts_per_page’ => -1, ); $query = new WP_Query($args); if ($query->have_posts()) { while ($query->have_posts()) { $query->the_post(); $post_id = get_the_ID(); $acf_date = get_field(‘fecha_borrado’, $post_id); $acf_timestamp = strtotime($acf_date); $current_timestamp = time(); if ($acf_timestamp … Read more
Display posts in correct month order using single date custom field
It’s probably the issue mentioned in the changelog for 6.3.8 here. The developers were unable to release the patch on dot org themselves because Mullenweg had unilaterally revoked their access to the plugin repository because the plugin is owned by WP Engine. The issue has been patched in the version available directly from the developer, … Read more
Did you use as follows (here $blog_id as 1): switch_to_blog( 1 ); //Do stuff restore_current_blog();
ACF – Updating all posts of CPT when a custom field from options page is updated