Blog inside the website
-
Summary of issue: I am building a website using WordPress as CMS and inside the website I want to have a blog with a different layout than the rest of the site.
In this blog I want to have all the posts, which in other parts of the site are displayed by category.
To achieve that I have made a page called “blog” and set the posts page to that page. All fine so far.To make the blog look different I can re-write “index.php” (the rest of the site uses archive and page templates) and change the layout, display a different sidebar etc. However if you open a post from the blog, the post is displayed with the site’s layout. If I change “single.php” to match the blog, then if you open the post from the site it is displayed with the blog’s layout.
I’ve tried different things, like category templates and more but I can’t think of a solution for my problem.
There might be an easier way to do it that I can’t think of.
Any solution or ideas please?
- The topic ‘Blog inside the website’ is closed to new replies.