How to add custom variables in Yoast SEO If you’re using Yoast SEO and ACF, you’ll certainly need to use ACF fields in Yoast to obtain a customised title and description. Simply … [+]
How to add tags (like GTM) in WordPress? We don’t need to add another plugin for that. Simply add this code to your plugin or function file: <?php // add tags into <head> … [+]
Loop in an ACF Repeater field with Meta_query Add this code in your plugin or function file: <?php // Query in ACF repeater add_filter( 'posts_where', 'wpster_replace_repeater_field' ); … [+]
Extend search to all ACF fields How can I extend WordPress search to all Advanced Custom Fields created? To make ACF data available to wp_search, add this code to your plugin: … [+]
Collapse Advanced Custom Fields Repeater by default How to make ACF repeater fields more readable? This function will collapse repeater fields by default: <?php /** * Collapse ACF Repeater by … [+]