Location: site_wide_header
Untitled Snippet
SureCart Product Template CSS
/* Author: Sumaiya, Clickup Doc: https://app.clickup.com/36636088/v/dc/12y1dr-22555/12y1dr-25055 */ /* Description: This CSS is added to optimize the surecart products single page */ /* Des: This CSS is added to ensures constrained elements have no margins and full width. */ .is-layout-constrained >…Continue reading
Hide Blog Post Title on post
.single-post .entry-title { display: none !important; }Continue reading
Hide Blog Post Titles
add_action(‘wp’, function() { if (is_single() && !is_admin()) { remove_action(‘virtue_page_title_container’, ‘virtue_page_title’, 20); } });Continue reading
AMP Auto Ads Script
Add jQuery and Bootstrap with Popper
custom-add-to-cart-or-resume
function ld_course_resume_or_buy_shortcode( $atts ) { $atts = shortcode_atts( [ ‘course_id’ => get_the_ID(), // use current course if none passed ‘resume_label’ => ‘Resume Course’, ‘buy_label’ => ‘Buy Now’, ], $atts ); $course_id = intval( $atts[‘course_id’] ); $user_id = get_current_user_id(); // Check…Continue reading
Support long accordion content
.component-accordion__content–expanded { max-height: fit-content !important; }Continue reading
Divi Transparent menu above FullScreen Video
No Code involved – just divi section/row/module settingsContinue reading