Is it possible so when I click on the ‘BLOG’ link in header it takes you to the blog page which shows content from all multiple blogs rather than just the 1 blog it forces you to select in the back end?
I am migrating from Wix to Shopify currently and like the flexibility Shopify offers in being able to have multiple blogs.
Thus I wish to use a blog for New Releases, one for Tips and Tricks, one for Reviews and so on. I can very helpfully then have these on the front page as sections eg ‘Reviews’ and ‘New Releases’ etc but I also want to mirror my existing sites functionality so when you click on the link BLOG from the header menu it takes you to ALL blogs rather then forcing you to only link to one blog.
which type of migration did you choose?
as far as i know, automated migration services can move blogs across platforms. try contacting cart2cart support. they usually help me out. maybe the guys will come up with some kind of solution
Manual migration. I rebuilt my WIx shop in Shopify from the ground up.
I am now just at the final stage of transferring blogs over manually so whilst I appreciate your input your solution suggestion is not relevant to me here. And I’m not sure if you understand my requirements specifically.
Shopify allows multiple blogs for different content. But the heade/footer menu selection ‘BLOG’ force you to just choose one of your blogs in the backend. Thus if I have say 3 blogs, Reviews, New Releases, Free Stuff, if I click BLOG it will only allow that link to take me to one of those.
What I really need is some sort of abilty I can show all blog content from follwing the BLOG link otherwise my visitors may be put off when they only see a handful of posts about ‘Reviews’ rather than ALL blog posts from the 3 blogs present.
Great work migrating your store, this can be a daunting task, but it sounds like you have mastered this.
What you have mentioned is correct, in the admin, at least natively you can only link to the one blog via the menu options. However, you can link the other blogs via the nested menu (drop-down) option in your navigation.
For your query though, it is possible to link to all blogs, however, it takes a bit more than just a standard URL.
There is the option of using one of the page-building apps with some of them specific to building pages for blog posts.
Then the other route is that if you share your store URL, hopefully, someone with more technical skills in the community will come across this and be able to add some value to you here, but if not, your best bet might be to reach out to one of our Shopify Experts, who you can hire to do almost any custom work on your store.
If you were to reach out to them about this query, they would be able to resolve this issue for you.
You will need to code it. There is no work around.
Go to Online Store ->Themes->Actions->Edit Code.
You should see multiple liquid files categorized, go under “Templates”->Choose “Add a new template”->Create a new template for ‘Page’ called ‘all-blog’.
The page you just created will open in an editor. Copy and paste the below code just after the line {{ page.content }}. (Your page might have some different html content but this line will be present):
Note: Here blog1 and blog2 and blog3 are your blog handles. Go to your respective blog pages and copy the part after the last ‘/’. Like:
{% assign blog_handles = "blog1,blog2,blog3" | split: "," %}
{% for handle in blog_handles %}
{% for article in blogs[handle].articles %}
<h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
{% endfor %}
{% endfor %}
Go view the page you just created. It will display your article’s heading and clicking them will take you to the articles. (Article is alias for blog posts in Shopify).
This is just an basic example. I guess you need to display a lot more than just article headings. You will need to modify the html in page.all-blog.liquid file. I used ‘article.title’ and ‘article.url’ here, there is a lot more you can use. Read more article object properties here: https://shopify.dev/docs/themes/liquid/reference/objects/article
Hank just to report back, I was able to make the the nested menu item pointing to individual blogs work for me so I appreciate your suggestion. Happy user now here having gone live last night on Shopify from Wix.
I just tried this method of creating a new template and adding my blog handles but it didn’t work. Do you have any other idea on how I can do it? I’m on the Debut theme..