Placement in the | WordPress.org

[ad_1]

Hi @kokoruz,

I replied to the ticket you submitted on our site but I will also add the answer here for anyone else looking for a solution to this.

WPCode uses the wp_head action so the best we can do using that is to write a PHP script and add the script with a higher priority to make sure it’s loaded before anything else but that will just place it before anything added to wp_head, anything added in the <head> area in the header.php theme template file will still be above it but those should not interfere in any way since they are usually just meta tags and the page title.

The only way I can think of adding a script right after the opening head tag is with the Insert Anywhere locations available in the premium version of WPCode where you can use a CSS selector to insert a snippet anywhere on the page: https://a.supportally.com/i/b8gp6m – this inserts the snippet right after the <head> element.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer