Use custom javascript and css in specific wordpress page and post

Wordpress PluginsMany people barely use custom/separate javascript (js) or css in their wordpress pages or post . When a person have to use it they have to manually edit some template files which is risky as well as time-consuming.  Recently I need to add custom javascript as well as css in one of the page in my blog. The solution I got from wordpress’s forum was to edit header.php of my theme and add link to css and java. This works but this was time-consuming as well as I have to make custom template for post separately. While browsing across wordpress plugin section I found plugin named “Q2W3 Inc Manager” which eased the process of adding custom javascript and css. This plugin is very easy to use and interference itself in self-explanatory. After installing plugin, you will get an option under Plugins section with name “Q2W3 Inc Manager”. To add custom css or javascript open it and choose “Create New” after options are fully loaded. Under “Create New” page you will get option choose the location for script ( header,footer,sidebar etc ) and include or exclude it in any specific page,post,category or tag.
q2w3 create new image
Here is short description on how to add custom css or javascript , just add the code in the “Include code” box like show below:
q2w3 manager include code

Beside using this on adding custom javascript it can be used to add Google analytic code ( choose footer) , webmaster verification metatag,stat counter code etc.For adding Google analytic code, webmaster verification metatag,stat counter code etc directly include the code provided. If you have any questions or suggestion or know other better alternatives feel free to mention them in comment.


Nepallica was started by Pritush and regularly updates this blog, beside Nepallica he also contributes to Connect with on Google+

Leave a Reply

1 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
1 Comment authors
Psd To Css Conversion Recent comment authors
newest oldest most voted
Notify of
Psd To Css Conversion
Psd To Css Conversion

This is very informative, thank you for posting the tutorial!