Skip to content
red round round round container

Turn more button into read more toggle

https://gist.github.com/wpexplorer/33811c988bae14e64cc83cda9d7494ec // Hook into the vc_shortcode_content_filter flter to modify the vc_column_text content // and covert the more tag into an actual toggle button. add_filter( 'vc_shortcode_content_filter', function( $content, $shortcode ) { if ( 'vc_column_text' !== $shortcode ) { return $content; }…

Mehr Lesen
black laptop computer on white table

Overlay header exceptions

If you want global overlay header but on hoepage you want to have not template beneath? add_filter( 'wpex_overlay_header_template', function( $template_id ) { if ( is_front_page() ) { $template_id = ''; // you can set it to none and just add…

Mehr Lesen
computer screen shows programming codes

Total Theme helper classes for responsibility

Just for my own references. These are the helper classes which I always search for. hidden – Always Hiddenshow-at-mm-breakpoint – Visible At Mobile Menu Breakpointhide-at-mm-breakpoint – Hidden At Mobile Menu Breakpointhidden-desktop-large – Hidden on Large Desktops (1280px or greater)hidden-desktop – Hidden on Desktop (1024px or…

Mehr Lesen
An den Anfang scrollen