WordPress: Theme Hooks

Please use caution when editing any code. We cannot help fix issues which have been caused by code which you add to your site.

All of our WordPress themes come with a variety of Action Hooks which you can use. No matter which pipdig theme you’re using, there are certain areas you can add features/functions and code to.

Using Theme Hooks, you can target certain sections of your theme. For example, if you wanted to position a banner ad (such as Google Adsense) after the first image on each archive. If you go to pipdig > Theme Hooks section of your dashboard, you can copy your code into the options and it will be executed in that section.

Usage Example (Pinterest verification tag)

As an example, let’s say we want to add the Pinterest meta tag to verify our site. Pinterest’s instructions say:

They’re asking us to copy the meta tag into the <head> section of our site. We can do that from the pipdig > Theme Hooks page in our WordPress dashboard.

We would copy the meta tag into the “Code to add to the <head>” box, as shown below:

Click the save button at the bottom of the page and this code will be added to your site. You can now verify your site with Pinterest.

There are many more Theme Hooks available, which we will be publishing more information on soon. If you have a request for a new hook you’re welcome to ask in the comments below 🙂

Was this article helpful?


  1. Katy

    Hmm ok but I don’t want Google to see this first as it will impact the ranking of my articles.. I need Google to see the post paragraph with my keywords first. I hope that makes sense.

    1. Phil (pipdig)

      That won’t be possible if the disclaimer is at the top. Google will read the first text it sees, just as if it were a human. You might want to move the disclaimer to the footer instead in that case.

  2. Katy

    Hi Phil
    Just checking that if I add a disclosure statement via the awesome theme hook section Google doesn’t see this as part of the post content for SEO purposes.

    1. Phil (pipdig)

      Hi Katy, yes it should do. The content hooks will place the text inside of the post content, so it will be picked up by Google just like any other text.

Leave a comment

The link to your website will be visible to support staff only. It will not be shown publicly.