Pesquisas recentes
Sem pesquisas recentes

Mason Bjerke
Entrou em 15 de abr. de 2021
·
Última atividade em 29 de jun. de 2023
Seguindo
0
Seguidores
0
Atividade total
4
Votos
1
Assinaturas
2
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Mason Bjerke
Mason Bjerke comentou,
Comentário na comunidade 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.
Exibir comentário · Publicado 14 de fev. de 2023 · Mason Bjerke
0
Seguidores
0
Votos
0
Comentários