Site with static pages.... but its posts does not work

2 replies
  • WEB DESIGN
  • |
Hi all,


I am building a website in which the front page displays a static page. Since begining I had some problems to separate home page from blog.



To do it right, I erased the following paragraph from header.php:
<li class="<?php if (is_home()) { echo "current_page_item"; } ?>"><a
href="<?php echo get_settings('home'); ?>">Home


Well, all was OK until I tried to publish my first post. 1) the blog only show me 55 words, 2) when I make "click" in the permalink, the post has a diferent content in the sidebar.


What is wrong? Whatever help it will welcome!


Saludos desde Argentina


Jorge
#pages #posts #site #static #work
  • Profile picture of the author IndigoJack
    Rewind......

    Not sure why you had a problem separating the homepage from the blog? Or why you have edited the blog code to try to separate it?

    The static homepage and the blog are two different entities that simply need to be hyperlinked to function.

    Paste the code back into the header of the blog so that it works correctly again.

    Your homepage should be named index.html This will make it the landing page when your domain name is entered into a browser. Place a link on index.html to the blog php section of the site.

    That will work.

    Or is your issue something else?
    {{ DiscussionBoard.errors[2699216].message }}
  • Profile picture of the author jalonso
    Hi IndigoJack,

    You did that I suspected about the integrity of the theme that I use actually. Then, I reinstalled again Wordpress and I started from 0...... I know now what is the problem: the theme has an error in the blog.... so, I am changing it and posting again the content.

    Thanks a lot for you help!

    Jorge
    {{ DiscussionBoard.errors[2702672].message }}

Trending Topics