On my blog www.TopGamblingNews.com I want to show a little snippet of text only at the top of the page, where it says "This poker news and information blog will be be bringing you the most current and interesting gambling news from around the world." right now, but as you can see it shows it above every single post. Anyone can tell me how to do this? thanks
It's inside the loop that displays the posts. You'd have to create a div outside of it (or table cell as you're using tables) and put it in there.
Can you or anyone else show me the code needed? I can offer a free featured listing in my directory as thanks
since you're on WP, open index.php or home.php and page.php and paste that piece of text at the top part outside the post/page loop i.e before the following code : <?php while ( have_posts() ) : the_post() ?> do tell whether it worked else I'll provide more clarification
I think there is some confusion here as to what file to edit because of the interchangeability of the term "Page". When you use the term "Page" do you mean a separate page that you created or the main page of the blog? If just the main or front page of your blog then do as blogosquare said and place the text on index.php before the loop. If on a different page (not a post) then you can create a custom page template and use it for that specific page.
If just the main or front page of your blog then do as blogosquare said and place the text on index.php before the loop. ...open index.php and paste that piece of text at the top part outside the post/page loop i.e before the following code : <?php while ( have_posts() ) : the_post() ?>
where do you want it to show? is it on the header? then just do this 1. go to your template editor, 2. open the header.php 3. go to the last lines, type your words there. 4. save your file. and done. if that is not the place. do this 1. go to your index.php 2. find this code <?php while ( have_posts() ) : the_post() ?> 3. put your words directly before that code 4. save your template and done. the step above will make it appear on the frontpage only. if you want it to appear on your static page (like contact me page, about us page, not the regular posts page) go to page.php and do the same step above. if you want to show it on the regular post page also go to single.php (single post) and do the same step above. if you want to show it on top of your category and arvhice list page. go to archive.php and do the same step above. hope it helps. thanks
Well after all this I just moved the two sentences up one line and it worked. I don't mind it showing site-wide I just didn't want it to show above every single post. thanks everyone.