Home › Forums › Support › Hook on first page only › Reply To: Hook on first page only
April 22, 2015 at 7:50 am
#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 ๐