Hi,
if the text you plan on showing is the same on every page (always static) you can easily add it to your theme’s header.php
note that if you do this, it will always show the same thing on every page (that uses header.php)
but if you like the text to be different on some pages, and sometimes not even visible at all, then i would suggest adding your static textbox to the different pages in your theme
examples:
welcome text visible on home —> add textbox to home.php
static text on category view —> add textbox to category.php
static text on post view —> add textbox to single.php
depending on where you want your text you could place your new textbox
example:
<div id="mystatictext">welcome to my website</div>
just after
<?php get_header(); ?>
or right after
<div id="main">
depending on your theme.
also see this image to understand which theme files are used for showing your pages
Roy
(@gangleri)
And if you’re talking about “sticky” posts, there’s a plugin that can do that.
Thread Starter
813466
Wow… that was QUICK. Very cool, thanks very much.
It’s gonna take some tweaking; it’s not sitting in the layout very well, but is there. I could not find any reference to static text anywhere… that’ll get me going.
And I don’t know what a sticky post is, so I wasn’t talking about it, but I’ll sure look into it now.
Much appreciated.
MD
Roy
(@gangleri)
And I don’t know what a sticky post is, so I wasn’t talking about it, but I’ll sure look into it now.
It’s a POST that stays at the top, rather than text, such as a navigation menu in the header or the title above each page.