Head

Add PHP code to header section from plugin

Add PHP code to header section from plugin

Option 1: Use a plugin

  1. Option 1: Use a plugin.
  2. Go to the configuration panel of the plugin.
  3. Under the "Page head and footer" tab, add the tracking code to the section which says "Code to be added to the HEAD section of every page":
  4. Option 2: Add directly to the header.php file.

How can I show subpages dropdown upon select on parent page to any page
How do I show a list of child pages in a parent page in WordPress? How do I show subpages in WordPress? How do parent pages work in WordPress? How do ...
How to upload an image to a custom post type
How do I add multiple images to a custom post type? How do I upload a custom image in WordPress? How do I create a custom post type Gallery? How do I ...
Add Custom Search Box to WooCommerce
How do I add a search box in WooCommerce? How do I customize the search bar in WooCommerce? How do I add a custom search box in WordPress? How do I en...