Skip to content

Instantly share code, notes, and snippets.

<div class="boldgrid-section color2-background-color color-2-text-contrast bg-background-color" style="border-width: 0px;">
&nbsp;
<div class="container">
<div class="row" style="padding-top: 75px; padding-bottom: 0px;">
<h2 class="" style="border-width: 0px; padding: 0px 0px 0px 20px;">FAQs</h2>
</div>
</div>
</div>
<div class="boldgrid-section color2-background-color color-2-text-contrast bg-background-color" style="border-width: 0px; padding-top: 1em;">
<div class="boldgrid-section">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-xs-12 col-sm-12">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title"><a role="button" href="#collapseOne" data-toggle="collapse" data-parent="#accordion" aria-expanded="true" aria-controls="collapseOne">
What steps do i need to take to return my product?
</a></h4>
@SitesByYogi
SitesByYogi / clothing-store-about.html
Last active October 18, 2022 01:10
Full clothing store about page
<div class="tmpl-about-6 boldgrid-section dynamic-gridblock background-parallax" style="background-position: 50% 50%; background-size: cover; background-image: url('https://demo2.cloudwp.dev/trial-8384w43w/wp-content/uploads/2022/10/ixlibrb-0.3.5q80fmjpgcropentropycstinysrgbw1600h900fitcrops11369019c2a9bb4375e46943072f1eab.jpg');" data-image-url="https://demo2.cloudwp.dev/trial-8384w43w/wp-content/uploads/2022/10/ixlibrb-0.3.5q80fmjpgcropentropycstinysrgbw1600h900fitcrops11369019c2a9bb4375e46943072f1eab.jpg">
<div class="container">
<div class="row hidden-md hidden-lg hidden-sm" style="padding-top: 0px; padding-bottom: 50px; border-width: 0px;">
<div class="col-md-7 col-sm-5 col-xs-12 col-lg-7"></div>
</div>
<div></div>
<div class="row" style="padding-top: 0px;">
<div class="col-md-5 col-sm-7 col-xs-12 col-lg-5">
<div style="padding: 80px 5%;" class="bg-box-cover color5-background-color color-5-text-contrast bg-background-color bg-box">
<h2 class="h1 color2-color" style="text-align: center; font-size: 4em;">A
@SitesByYogi
SitesByYogi / change-link.js
Created October 24, 2022 13:18
change WordPress site title using jQuery
@SitesByYogi
SitesByYogi / print-properties.php
Created November 23, 2022 10:57
print attribute details on to webpage
<?php print_r($pageBannerImage); ?>
@SitesByYogi
SitesByYogi / wc-quantity.php
Created December 2, 2022 19:02
WooCommerce Quantity Increments
/**
* Adjust the quantity input values
*/
add_filter( 'woocommerce_quantity_input_args', 'jk_woocommerce_quantity_input_args', 10, 2 ); // Simple products
function jk_woocommerce_quantity_input_args( $args, $product ) {
if ( is_singular( 'product' ) ) {
$args['input_value'] = 1; // Starting value (we only want to affect product pages, not cart)
}
$args['max_value'] = 80; // Maximum value
@SitesByYogi
SitesByYogi / custom-dash-link.php
Created December 16, 2022 23:38
Add Custom Link To WordPress Admin Dashboard
@SitesByYogi
SitesByYogi / toolbar-link.php
Created December 17, 2022 01:02
Adds a custom link to the WordPress Toolbar
@SitesByYogi
SitesByYogi / add_css.php
Last active December 20, 2022 16:47
Add CSS to WordPress using (child) theme's functions.php file or a custom plugin.
<?php
add_action( 'wp_head', 'my_unique_css_func_name' );
function my_unique_css_func_name() {
?><style>
/* Your styles here */
</style><?php
}
@SitesByYogi
SitesByYogi / sprout_egp.php
Last active January 13, 2023 14:47
ADD support for EGP (Egyptian currency) to Sprout Invoices
<?php
// do not include above code
function si_filter_localeconv( $localeconv = array(), $doc_id = 0, $locale = '' ) {
switch ( $locale ) {
case 'en_GB':
$localeconv = egp_local_array();
break;
case 'en_US':
$localeconv = us_local_array();