Black Friday Sale! Get up to $30 off GP Premium! Learn more ➝

Reply To: Hook on first page only

Home Forums Support Hook on first page only Reply To: Hook on first page only

Home Forums Support Hook on first page only Reply To: Hook on first page only

#101263
Tom
Lead Developer
Lead Developer

Hi there,

Using the following PHP should work: https://gist.github.com/generatepress/ef11bf8ff3a5292a9922

Be sure to check the “Execute PHP” checkbox.

Hope this helps 🙂