Archived topic
Starter theme "Niche" with blog "Shop"
3 replies · Started by cpalo on February 2, 2022
Good evening,
I just installed the "Niche" starter theme.
But I would like to modify its blog part by replacing it with the style of the blog part of the starter theme "Shop".
How can I proceed?
Hi there,
It's not that easy to do so, but you can give it a try by following the steps below:
1. Go to customizer > layout > blog, adjust the settings as the screenshot:
https://www.screencast.com/t/YPLMuxfwHO
https://www.screencast.com/t/arSYUWzNN
2. Create a new block element - page hero as blog page hero, then paste the linked content to the content area:
https://pastebin.com/vfkbG8ek
Set location to blog, choose page hero as element type.
3. Create a block element - hook for the author bio in single post, then paste the linked content to the content area:
https://pastebin.com/tMeXntrq
Set location to post > all posts, choose hookas element type, choose after_content as hook.
4. Create a block element - page hero for the page hero in single post, then paste the linked content to the content area:
https://pastebin.com/18BmJLxm
Set location to post > all posts, choose page hero as element type.
5. Create a layout element, set theContent Width to800px.
Set location to post > all posts.
Let me know if this helps :)
I'll try that, and get back to you.
But given the amount of code, wouldn't it be better to create a child theme and create a new template with this code?
Hi Cpalo,
The goal of the codes shared by Ying is to simply recreate the template you wish to copy.
See this for reference: https://share.getcloudapp.com/KouY9jeN
With that said, a child theme wouldn’t be necessary for this. Moreover, here is a link you may refer to for information regarding when and how Child themes can be useful: https://docs.generatepress.com/article/using-child-theme/#:~:text=A%20child%20theme%20can%20also%20be%20used%20to%20add
Hope this answers your inquiry! :)