I am building a custom page for portfolio. It will require additional css and jss file for the navigation slider... Since that part is contained in the header.php I decided to take the part I need and hoped it would accept my tags for the external files. Though the link can be seen in the page's head tag, they are not being called. I have looked extensively and all the suggestions points to using wp_enqueue_script() and wp_enqueue_style() which is an overkill. Even trying them does not help and I would like to call the external links only if someone visits the portfolio page and not burden the rest of the site. I will appreciate some insight. www.gransar.net/portfolio
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
Use is_page or is page_template to load script and style only page. |
|||
|
|