Hi,
I suppose the fullscreenslider down arrow link “next-section”, is regulated in ../slideshow_fullscreen.php.
What code should I change in php to alter link to specific anchor link? Or is there a better way.
Thanks,
OPV AB
Hi opvab!
Can you please post the link to your page and point out your slider and the anchor link you would like to use?
Cheers!
Yigit
Private Content
Hi!
Please add following code to Functions.php file in Appearance > Editor
function custom_link_target(){
?>
<script>
jQuery(window).load(function(){
jQuery('.home #fullscreen_slider_0 a.scroll-down-link').attr('href','#dampim');
});
</script>
<?php
}
add_action('wp_footer', 'custom_link_target');
Cheers!
Yigit
Thanks a lot, worked lika a charm. Imagine if there could be a way to have unique codes to certain *.php, like your custom css. None of my *.php is original anymore, and with every WP or theme update, I have a lot of work to do!!!
Thanks,
OPVAB
Hey!
We always recommend using child theme if you are making changes on theme files :)
Cheers!
Yigit