For those who need a “sticky” sort of message
-
at the top of the blog page, here’s another way to do it without resorting to a plugin:
Create a file within your theme folder; name it sticky.php or whatever. In the file put whatever it is you want to see at the top of your post listing. Use
or whatever html you need to make it display right, and set up css IDs and classes in the theme’s style.css to help. Don’t put anything like a doctype etc. though.
Then in your theme’s index.php file, use this line
<?php include (TEMPLATEPATH . "/sticky.php"); ?>
just outside The Loop.
This might work for those having problems with adhesive, for instance….
- The topic ‘For those who need a “sticky” sort of message’ is closed to new replies.