Shopify themes, liquid, logos, and UX
Hi All,
I know that this has probably been discussed a million times but I still can't find an easy solution to this. 🙂
I would like to be able to reference an existing section (hero.liquid for example) and use it for a page or use in a blog post, but when I define this in the theme editor it only allows me to define it once and not customize it per blog post?
Do I need to customize the storage location for the meta-data associated with each blog post. Where is this stored? section id=??? data-section-id=??? 🙂 Please Help.
Using Section in Template file (page.dynamic.liquid)
<section class="page">
<div class="wrapper">
<div class="content-container narrow rte">
{% section 'hero' %}
{{ page.content }}
</div>
</div>
</section>
Cheers,
Steve
Sorry for facing this issue, it's my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question. 😊
Please share your site URL,
So I will check and provide a solution here.
Hi KetanKumar,
Thanks for responding about dynamic sections on pages and posts. This is a generic question that I would like to apply to a number of stores so I don’t know why you need a link to website, but my Development website is skullindesign.com
let me know if you have example code or describe how you would solve such an issue.
I appreciate any assistance.
Thanks,
Steve
yes can you please create new section and add this page that's is
Hi, The pages are created at:
https://www.skullindesign.com/pages/section_page1
https://www.skullindesign.com/pages/section_page2
If you look at this code, how do I specify the data-section-id? it defaults to hero but on main page it has a GUID generated number for each section?
thanks,
Steve
great
can you please other section as you like
In responds to " great can you please other section as you like"
Can you repeat what you want me to do? I don't understand what you are saying.
thanks,
Steve
do you need multiple sections on the custom page?
Yes, thanks ... multiple selections would be great!
Thanks for confirm
please try this
http://www.codeshopify.com/blog_posts/shopify-sections-with-dynamic-blocks
Thanks for the link, that is a way to create multiple snippets on a page but I was looking for a way to re-use the default sections instead of creating a new section or snippet file for each use.
As I want to use sections to format each blog post.
i appreciate your help.
cheers,
steve
Yes, please try it's easy for your add multi-block same as home page
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024