Archived topic
Adding BLOG section to static site
10 replies · Started by William on February 22, 2019
I’m a non-coder WP newbie with an established, all static pages, WP site using the latest update of GP Premium 1.6.2 https://kickngliders.org/wp/.
I wish to replace the club’s paper newsletter by adding a BLOG portion to the site. I have created a BLOG page, https://kickngliders.org/wp/blog/ (for which there is currently no navigation link) that displays posts.
I’m stuck at figuring out how to provide navigation for the posts by date and category of post, etc.
Hi there,
Where are you wanting to add this navigation?
Any examples of what you want it to look/function like?
Let us know :)
What I want to accomplish is to add a "News" (blog) page to the existing static site that will display posts with sidebar navigation to, probably, months and categories and a search of posts in a sidebar.
Certainly, part of my problem is not understanding the terminology. But I'm probably mainly stuck in a way that seems simple-minded to me: I don't understand how to set my "News" page so that it has a sidebar to use for News navigation without affecting the sidebar on the "Home" page?
After that, I see that there are Recent Posts, Categories, Search, etc. widgets that can be added to a sidebar so I can probably manage to set things up from there.
Setting up a sidebar to have different widgets across your website isn't super easy. The best method is to use a plugin like this: https://wordpress.org/plugins/content-aware-sidebars/
That way you can have one set of widgets on your home page, and another set of widgets on your blog page.
Let me know if that helps at all :)
Thanks very much. That helped a lot!
Installed Content Aware Sidebars but had some difficulty getting it to work they way I wanted. Widget Logic, on the other hand, seems to work fine. Had to learn a bit about conditional tags but that was easy for me to implement and understand.
Only issue is setting a conditional tag to show the widgets when a date-based archive page is being displayed. I want Recent, by Month and by Category widgets displayed on the blog, single, by category and by month pages. All but the by month display as I wish. I've tried several conditional tags but when I search by month all I get is the default widgets?
The "Widget logic" I'm using is:
is_home() or is_single() or is_category() or is_archive()
Belay my question! All of a sudden it seems to be working correctly!
Glad you figured out :)
Hello
I am also looking for some solution to develop a News website
- Home Page = Latest News with Block + 2-3 post on various categories
It's kind of general News Site
Ritesh
Hi there,
you would need to create a static page and use the WP Show Posts plugin to display your various post lists:
https://wordpress.org/plugins/wp-show-posts/
If you need any further info - please raise a new topic.
Or let me know if i can add some more block (Various News Categories) on front page
GeneratePress Site Template - Marketer
I replied to your question here:
https://generatepress.com/forums/topic/adding-blog-section-to-static-site/#post-1498246
Please read and raise a new topic if you need further help