Jump to content

Pass category name as url parameter for all blocks on homepage for content delineation


Recommended Posts

Posted

Hello community,

So basically I want to do below, these will be manual links with static id set from admin.


<a href="{ home_url }?category=1">To show all videos from category_group_id = 1</a> It loads index page with all blocks filtering videos with category_group_id = 1

<a href="{ home_url }?category=2">To show all videos from category_group_id = 2</a> so on as above

<a href="{ home_url }?category=3">To show all videos from category_group_id = 3</a> so on as above

Have anyone done this before? 

Please help,

Azamat
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...