Blog acting very weird.
-
Hi,
I’m using WP as a CMS I had just static pages, but I wanted to add a blog section in my site. I wanted to for blog to be located here, like this:
page | page | page | blog
So I changed code in header.php
from this:
<div id="topMenu"> <ul class="sf-menu"> <?php wp_list_pages('hide_empty=1&exclude=1&title_li='); ?> </ul> </div>to this:
<div id="topMenu"> <ul class="sf-menu"> <?php wp_list_pages('hide_empty=1&exclude=1&title_li='); ?> <?php wp_list_categories('hide_empty=1&exclude=1&title_li='); ?> </ul> </div>I created category named “IT Blogs” and 1 post for testing purposes.
At first everything seemed fine, when I pressed IT Blogs a blog page opened with my test post inside of it.
The problem is that when pressing on blog’s title I get reddirected to one of my pages (but without images).
When previewing post from admin panel same thing happens.There is no way to leave a comment for this post
when pressing on comments I also get reddirected to one of my pages.
The topic ‘Blog acting very weird.’ is closed to new replies.