Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

davistom on "Per-page ajax configuration in child theme functions.php"

$
0
0

I have a pages only Wordpress 3.9.2 site with a child theme. A subset of the pages require custom stylesheets, javascript and ajax features. I know how to implement all of these requirements via various Wordpress action hooks, etc. implemented in the child theme functions file. However, straightforward, direct implementation results in configuring everything for all site pages, including those which don't require any of this custom functionality. Is there an accepted way to conditionally implement the custom stuff on a per-page basis?


Viewing all articles
Browse latest Browse all 8245

Trending Articles