WordPress search form and search result through ACF field in custom taxonomy

This should hopefully help you on your way, although I’ve not fully tested it… The basic search form here which will load the site_url() with appended search query string. You should change this to better reflect your site layout such as <?php site_url( ‘search’ ); ?> (‘http://website.com/search‘). Place the Results page code within the results … Read more

How do I display specific custom posts, and how do I edit a post’s singular page?

Custom post types don’t need a template created for them. They will automatically use the archive.php and single.php of your theme. If you want to customize a page so that your portfolio and your regular blogs are different then you need to create 2 files. archive-postname.php (in this case it’s whatever you named your post … Read more

Use ACF array values in shortcode

$atts[‘form_id’] contains the form_id that was passed with the Shortcode. You are searching for this form_id among the data that is held in the forms field. $forms is an array, and each item in the array is another array with your two keys: form_id and form_markup. So, for each item in $forms, you want to … Read more