최근 검색
최근 검색 없음

Michael Hamilton
가입한 날짜: 2021년 5월 28일
·
마지막 활동: 2022년 2월 14일
팔로잉
0
팔로워
0
총 활동 수
3
투표 수
0
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Michael Hamilton
Michael Hamilton님이 에 댓글을 입력함
@Wes - Thanks very much. I put in the dummy section and article. I think I understand what do with the JS code, to be honest I haven't worked with JS before. I think I swapped out the appropriate information in the code, I know the format won't display appropriately:
$('a').each(function() {
var value = $(this).attr('href');
if(value=='/hc/en-us/categories//200363439-Submit-a-Request')
{
$(this).attr('href', 'https://support.cfcnca.org/hc/en-us/requests/new');
}
});
I am assuming that I am adding this to my existing JS code instead of replacing something. Can I cut/paste this into line 1 of the JS in my Theme Editor? Do I need to place it elsewhere in the JS code?
As a JS novice, I expect that I'll need to figure this out for myself, but if you are able to point me in the right direction it will be a big help. Getting the code alone was great. Thanks so much again!
댓글 보기 · 2015년 7월 16일에 게시됨 · Michael Hamilton
0
팔로워
0
투표 수
0
댓글
Michael Hamilton님이 에 게시물을 만듦
Hi all,
We use the Humble Squid theme for our Help Center. Within our Help Center, we currently have it broken out into 6 categories. Four of the categories contain a few sections with articles. We would like to hyperlink the other two categories to our website and also to the request form; we think our customers would benefit from having all the resources in the middle of the screen, rather than keeping the link to the request form in the upper right of the display.
Is this possible to create the hyperlinks that I described in the Humble Squid without creating section and article content?
Or, is there another theme (i.e. Curious Wind) that allows me to embed a hyperlink on a category?
If I need to get into the HTML, has anyone done something like this before?
Thanks!
Mike
2015년 7월 10일에 게시됨 · Michael Hamilton
0
팔로워
14
투표 수
34
댓글