Skip to product information
1 of 1
Published:2024.09.27

Example of setting up blog posts for the Shopify theme "Rise/Dawn" to allow members only: Part 2

Example of setting up blog posts for the Shopify theme "Rise/Dawn" to allow members only: Part 2

Applications

  • Blog management and editing

How to implement

  • LIQUID
View full details

This is an example of how to set up Shopify blog posts with member-only content using the theme editor, rather than editing the code here (however, you will need to edit theme.liquid directly to add noindex to avoid Google penalties).


Example of setting up blog posts for the Shopify theme "Rise/Dawn" to allow members only: Part 2 (Setting from the theme editor without modifying the liquid file)


[Setting Method 1] Add a metafield definition for blog posts and set the metafield value for posts you want to make members-only.


[(For the Rise/Dawn theme) Setup method 2] Add a customized Liquid section to the default blog and default blog post template and insert the code


[(For the Rise/Dawn theme) Setting method 3] Add a noindex to the target article in theme.liquid (to avoid Google penalties)


After making a purchase (all items are ¥0), you will be able to view the sample code.

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add a customized Liquid section to the default blog template and insert the code.

Related Post