I have this line on another site that isn't using wordpress and it works fine. I just need to know how to get this working in wordpress. This is going into the header area.
Sorry I meant it really didn't matter where I put it in the theme folder. That is what I had after numerous searching and tries. Well except I had " " instead of ' '. So I can see all the stuff is display in a list, but doesn't rotate.
Not sure what is the right way to include extra js files. Anyways I'm off to work. BBL.
I have this line on another site that isn't using wordpress and it works fine. I just need to know how to get this working in wordpress. This is going into the header area.
Where is your
news.phpfile located in your theme?In a php folder. Really doesn't matter where I put it.
In fact it does when dealing with wordpress...
You can not simply call it relatively, you need to call it absolutely using the WordPress constant "TEMPLATEPATH" like this:
Sorry I meant it really didn't matter where I put it in the theme folder. That is what I had after numerous searching and tries. Well except I had
" "instead of' '. So I can see all the stuff is display in a list, but doesn't rotate.Not sure what is the right way to include extra js files. Anyways I'm off to work. BBL.
http://www.deluxeblogtips.com/2010/06/wordpress-include-template-files.html
NM