Recent searches
No recent searches

Mason Bjerke
Joined Apr 15, 2021
·
Last activity Jun 29, 2023
Following
0
Followers
0
Total activity
4
Vote
1
Subscriptions
2
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Mason Bjerke
Mason Bjerke commented,
Community comment Q&A - Help center and community
Hey Ifra Saqlain,
Where does the following go? Is it in script.js or in the home_page.hbs? I am having the same issue as Cara:
$(document).ready(function(){
if ($('.blocks-item > a > span:contains("CATEGORY NAME ONE")')) {
$(".blocks-item > a").attr("href", "amazon.com");
}
else if ($('.blocks-item > a > span:contains("CATEGORY NAME TWO")')) {
$(".blocks-item > a").attr("href", "google.com");
}
});
Note: Remove CATEGORY NAME ONE and write your category name for which you wanna add custom url.
Remove amazon.com and write your URL.
View comment · Posted Feb 14, 2023 · Mason Bjerke
0
Followers
0
Votes
0
Comments