where to put code for Rotating Posts plugin
Hiya - I can get this to work by putting a bit of code into each page but if I wanted it on every page where should I put the code - I can find index.php but I don't know where this should go:
<?php rotating_posts(); ?> And if anyone knows how to make it keep the same box size that would be great! Lisa |
I have not tested this but I would suspect you would put it right above the following line if you want it to show after the content of the post.
HTML Code:
<?php get_footer(); ?> |
I want it to show before the content of the post, but I'll try this and see what it looks like - thank you. The idea is to get people to look around the site more.
|
In that case I would try putting it right after the first section of the index.php which ends with.
HTML Code:
get_header(); ?> |
that works fine, thank you. It would be better if it was smaller in height but I can't find the settings for that. I think I have to play around with the CSS, which I can find but I can't work out which bit I need to alter :-) I can get the box to be the same size but the navigation bar leaps up and down.
|
All times are GMT -6. The time now is 06:17 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.