Search snippet
Results
-
Enqueue scripts and styles
February 17, 2017
//* Enqueue scripts and styles add_action( ‘wp_enqueue_scripts’, ‘tabsalot_enqueue_scripts_styles’ ); function tabsalot_enqueue_scripts_styles() { wp_enqueue_script( ‘tabs-init’ , get_stylesheet_directory_uri() . ‘/js/tabs-init.js’, array( ‘tabsjs’ ),…
Cat: CSS, jQuery, PHP -
Tilt.js
February 17, 2017
A tiny requestAnimationFrame powered 60+fps lightweight parallax hover tilt effect for jQuery. Notices: Requires jQuery No CSS is needed Install yarn add tilt.js or download Documentation
Cat: jQuery -
Gravity Forms dropdown validation
February 14, 2017
See the article.
-
SmartSlider and Toolset shortcodes
February 13, 2017
You can put shortcodes to e.g. the HTML layer: https://smartslider3.helpscoutdocs.com/article/200-html-layer or even to the text layer: https://smartslider3.helpscoutdocs.com/article/362-text-layer Although there can be styling and responsiveness probl…
Cat: Toolset, Shortcode -
Add featured image to Custom Post
February 11, 2017
Add the PHP code to functions.php (in the child theme). Then edit the Custom Post type. Under ‘Section to display when editing snippets’ check Thumbnail.
Cat: PHP, Toolset