Import Instagram post as WordPress post

Install the Instagram feed plugin Set up the plugin, go to plugin list, then under instagram feed press settings and set it up. To customize it, use customize bar Go to display feed bar, and copy then [instagram feed] code go on wordpress editor, press add block and search for shortcode Paste the copied code … Read more

form submission reverts to index.php template

I did some testing locally with your code. I think the problem is your form input names clashing with names reserved by WP. Also redirecting to success/error page should happen before get_header() to avoid any headers sent errors. So, add some prefix/suffix to your input names, like so <input type=”text” name=”my-name” placeholder=”Your Name” class=”input” id=”name” … Read more

Search for single post by 2 tags

Using the tax_query param in your args (and replacing the dot with a comma) should get you what you’re looking for: $args = array( ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘post_tag’, ‘field’ => ‘slug’, ‘terms’ => ‘fetch’, ), array( ‘taxonomy’ => ‘post_tag’, ‘field’ => ‘slug’, ‘terms’ => ‘agirt’, ) ) );