Last active
February 6, 2018 14:55
-
-
Save bigdigital/518a1942ac81877d74969bd859876c97 to your computer and use it in GitHub Desktop.
The7 rewrite portfolio link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_dt_portfolio_thumbnail_args($thumb_args) { | |
$thumb_args['wrap'] = '<a %HREF% %CLASS% %TITLE% %CUSTOM%><img %IMG_CLASS% %SRC% %ALT% %SIZE% /></a>'; | |
return $thumb_args; | |
} | |
add_filter( 'dt_portfolio_thumbnail_args', 'my_dt_portfolio_thumbnail_args', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<script> jQuery(document).ready(function($){ $.fn.disableforwardToPost = function() { return this.each(function() { var $this = $(this); if ($this.hasClass("this-ready")) { return; }; $this.addClass("this-ready"); }); }; $(".mobile-false .rollover-project.forward-post").disableforwardToPost(); }); </script>
this js allow to disable clicke event for portfolio pages