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
<!-- Swiper --> | |
<div class="sc_scroll_sclide"> | |
<div class="swiper sc_slider_02"> | |
<div class="swiper-wrapper"> | |
<div class="swiper-slide"> | |
<img src="assets/images/big-3.jpg" alt=""> | |
<div class="image_sc_slide"> | |
<h3>title here</h3> | |
</div> | |
</div> |
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
Navigate to your Shopify Admin dashboard. | |
Go to Online Store > Themes. | |
Click on Actions > Edit code for the theme you are currently using. | |
In the Sections folder, locate or create a file named register.liquid. | |
Add the following code to the register.liquid file: |
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
<select id="stateSelect"> | |
<option value="">Select State</option> | |
<option value="California">California</option> | |
<option value="New York">New York</option> | |
<!-- Add more states as needed --> | |
</select> | |
<select id="citySelect"> | |
<option value="">Select City</option> | |
<!-- Add cities for each state --> |
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
add_action( 'wp_footer', function() { | |
if ( ! defined( 'ELEMENTOR_VERSION' ) ) { | |
return; | |
} | |
?> | |
<script> | |
jQuery( function( $ ) { | |
// Add space for Elementor Menu Anchor link | |
$( window ).on( 'elementor/frontend/init', function() { | |
elementorFrontend.hooks.addFilter( 'frontend/handlers/menu_anchor/scroll_top_distance', function( scrollTop ) { |
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
<div class="sc_hr_accord"> | |
<ul class="sc_list_hr"> | |
<li id="step_sc_01" class="schide scshow"> | |
<div class="sc_tab_title"> | |
<h4>tab 1</h4> | |
<svg xmlns="http://www.w3.org/2000/svg" width="12.323" height="21.553" viewBox="0 0 12.323 21.553"> | |
<path id="Icon_ionic-ios-arrow-forward" data-name="Icon ionic-ios-arrow-forward" d="M19.855,16.969,11.7,8.819a1.534,1.534,0,0,1,0-2.175,1.553,1.553,0,0,1,2.182,0l9.24,9.234A1.537,1.537,0,0,1,23.166,18l-9.279,9.3a1.54,1.54,0,1,1-2.182-2.175Z" transform="translate(-11.246 -6.196)" fill="#403e38"/> | |
</svg> | |
</div> | |
<div class="sc_tab_body"> |
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
<!-- Preloader HTML --> | |
<div id="preloader"> | |
<!-- Add your preloader content here --> | |
<p>Loading...</p> | |
</div> | |
<!-- Your website content goes here --> | |
/* Add your preloader styles here */ | |
#preloader { | |
position: fixed; |
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
//add_action( 'woocommerce_before_single_product', 'add_custom_text_before_product_title' ); | |
add_shortcode( 'scnextprev', 'productnextprev_shortcode' ); | |
function productnextprev_shortcode(){ | |
echo '<div class="prev_next_buttons">'; | |
// 'product_cat' will make sure to return next/prev from current category | |
$previous = next_post_link('%link', '← %title', TRUE, ' ', 'product_cat'); | |
$next = previous_post_link('%link', '%title →', TRUE, ' ', 'product_cat'); | |
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
// Limit media library access | |
add_filter( 'ajax_query_attachments_args', 'wpb_show_current_user_attachments' ); | |
function wpb_show_current_user_attachments( $query ) { | |
$user_id = get_current_user_id(); | |
if ( $user_id && !current_user_can('activate_plugins') && !current_user_can('edit_others_posts | |
') ) { | |
$query['author'] = $user_id; | |
} |
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
<?php | |
add_shortcode( 'fs_prev_next_thumbs', 'generate_faq_landing_link_shortcode' ); | |
function generate_faq_landing_link_shortcode( $atts, $content ) { | |
global $post; // if outside the loop | |
$prev_next = ''; | |
$prev_post = get_previous_post(); | |
$next_post = get_next_post(); |
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
$(document).ready(function() { | |
$('.scshow').click(function() { | |
var parentDiv = $(this).closest('.scteto'); | |
if (parentDiv.hasClass('highlighted')) { | |
parentDiv.removeClass('highlighted'); | |
} else { | |
parentDiv.addClass('highlighted'); | |
} | |
}); |
NewerOlder