- This topic has 11 replies, 4 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
February 9, 2023 at 2:55 am #2526962
Gaurav
Hello,
Please let me know how can i create a similar left sidebar menu of the posts list like on this website sparkbyexamples.com. Also, the left sidebar posts don’t have underlining. How to show posts like that without underlining?
Thanks!
February 9, 2023 at 4:34 am #2527056David
StaffCustomer SupportHi there,
that site is using several Navigation Widgets ( blocks ) to display those lists.
Is that what you require?
Or are you just wanting a list of post titles ?February 9, 2023 at 5:45 am #2527105Gaurav
If possible I like to display my blog posts list in that website manner only, as my niche is similar to that website.
If it’s difficult to provide all the exact changes, kindly guide me to whatever extent possible.
Thanks!
February 9, 2023 at 8:44 am #2527433David
StaffCustomer SupportWill the list of posts be split into Categories ?
February 9, 2023 at 9:22 am #2527522Gaurav
Yes. For example, if I write 50 articles on Java and 50 articles on Python. If a person visits a post in Java Category, then on the left sidebar all the 50 posts of Java only should be shown in list form. Similarly, if a person visits a post in Python Category, then on the left sidebar all the 50 posts of Python only should be shown in list form. Thanks!
February 9, 2023 at 9:34 am #2527538Gaurav
You can also check this website pythontutorial.net. How this person is showing the list of posts on the right side. Category wise link pythontutorial.net/django-tutorial, sidebar content changes.
February 9, 2023 at 11:15 am #2527648Ying
StaffCustomer SupportIf you have GenerateBlocks Pro plugin, you can add a query loop block in the sidebar widget area, and set the category to
current post terms, so it will only show posts that are in the same category as the current post.
https://www.screencast.com/t/ZfQrxhz8sJOtherwise, you don’t have many categories, you can use block elements to insert the WP latest posts block, manually choose a category for the latest posts block, and set the block element’s location accordingly.
February 9, 2023 at 10:35 pm #2528060Gaurav
Sorry, I don’t have GenerateBlocks Pro plugin.
I would like to repeat my basic requirement. I have 10 posts written in the Java category and 10 posts written in the Python category.
If I open any 1 post of the Java category, then on the left sidebar only 10 posts of Java should be shown. Likewise, if I open any 1 post of the Python category, then on the left sidebar only 10 posts of Python should be shown.How to do this?
February 9, 2023 at 10:56 pm #2528070Fernando Customer Support
Hi Guarav,
As mentioned by Ying, you would need GB Pro for that if you want it done automatically/dynamically.
See: https://share.getcloudapp.com/4gu4gdOk
With GB Pro, you can add such a Query Loop on your sidebar to grab posts of the same category and at the same time, exclude the current post.
Without GB Pro, you can manually choose the category.
You can create multiple Block Elements for the Sidebar specific to the category.
Example for a post with category “Affiliate Marketing”:
https://share.getcloudapp.com/8LugLXkN
https://share.getcloudapp.com/YEuDnLX9February 9, 2023 at 11:47 pm #2528110Gaurav
Thanks for the help. I understood this.
February 9, 2023 at 11:47 pm #2528112Gaurav
Resolved
February 9, 2023 at 11:49 pm #2528116Fernando Customer Support
You’re welcome, Gaurav!
-
AuthorPosts
- You must be logged in to reply to this topic.