简体   繁体   中英

Wordpress 3.8.3 custom theme

I'm building custom WP theme and I have issues with sliders. None of those I've tried to install worked. When I looked into the developers console, and searched for their js/css files, they where not there. Not in the header or the footer. One of those plugins had option to include his files into header or footer - tried to change that but didn't work. Contact form and pagenavi are working just fine, but sliders not. There are no js errors, because there are no files to cause them. WP version is 3.8.3. jQuery 1.9.3 is included and working fine. Am I missing something in my functions.php ( theme is made from scratch ) maybe?

I would need to see more of your code for a proper answer. But just wondering if you have the correct wp action hooks in your header and footer?

In the header.php right before the </head> this should be there: <?php wp_head(); ?> <?php wp_head(); ?>

In the footer.php right before the </body> this should be there: <?php wp_footer(); ?> <?php wp_footer(); ?>

Make sure you have those.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM