Skip to content

Instantly share code, notes, and snippets.

View ahmedeshaan's full-sized avatar

Ahmed Eshaan ahmedeshaan

View GitHub Profile
[ux_banner height="500px" bg="3912" bg_overlay="rgba(0, 0, 0, 0.5)"]
[text_box width="30" position_x="5" position_y="15"]
<h3 style="text-align: left;">SIGN UP FOR NEWSLETTER</h3>
<p style="text-align: left;"><span style="font-size: 100%;">Signup for our newsletter to get notified about sales and new products. Add any text here or remove it.</span></p>
<p>
[/text_box]
[text_box width="35" position_x="5" position_y="75"]
[button text="Lightbox button" link="#test"]
[lightbox id="test" width="600px" padding="20px"]
Add lightbox content here...
[/lightbox]
Hi there,
This Is Ahmed Ehsaan, the co-founder At GetWooPlugins.Com. We have developed a popular free WooCommerce Variation Swatches Plugin at WordPress.Org. The plugin is running around 300k+ WooCommerce powered websites. Here is the plugin link: Https://Wordpress.Org/Plugins/Woo-Variation-Swatches
The interesting thing is most Of WooCommerce users who have variable products are using our swatches plugin. So, I can also add exclusive compatibility support for your theme in my plugin if it's needed. Furthermore, I can also write an exclusive article to help your users to beatify their website with swatches. The article would be something like This: Https://Getwooplugins.Com/Enable-Color-Swatches-In-Oceanwp-Theme/
We’ve developed a premium version of this free plugin too. As most of your theme users are using the free plugin, They also like the premium version.
So, I am here to offer 50% partnership and revenue sharing. Can i have your personal contact so that we can discuss it further?
1. Individual Product Basis Attribute Variation Swatches Customization
Live Demo | Video Tutorial
2. Show Image, Color, Button Variation Swatches in Same Attribute
Live Demo | Video Tutorial
3. Convert Manually Created Attribute Variations Into Color, Image, and Label Swatches
4. Group based swatches display.
<div class="gwp-pro-features-links">
<a target="_blank" href="https://demo.getwooplugins.com/woocommerce-variation-swatches/product/nike-air-vapormax-plus-group/">Live Demo</a> |
<a target="_blank" href="https://demo.getwooplugins.com/woocommerce-variation-swatches/group-category-swatches">Video Tutorial</a>
function overwrite_shortcode() {
function overridden_ux_accordion_item( $atts, $content = null ) {
extract(shortcode_atts(array(
'title' => 'Accordion Panel',
'class' => '',
), $atts));
$classes = array( 'accordion-item' );
if ( $class ) $classes[] = $class;
return '<div class="' . implode( ' ', $classes ) . '"><a href="#" class="accordion-title plain"><button class="toggle"><i class="icon-angle-down"></i></button><h2>' . $title . '<h2></a><div class="accordion-inner">' . do_shortcode( $content ) . '</div></div>';
<?php // Do not include this if already open!
/**
* Code goes in theme functions.php
*/
function holiday_message_before_header() {
?>
<div class="header-block">
<?php echo do_shortcode( '[block id="holidays-message"]' ); ?>
</div>
add_filter( 'flatsome_viewport_meta', function() {
return '<meta name="viewport" content="width=device-width, initial-scale=1" />';
}, 1 );
add_action( 'customize_register', 'jt_customize_register' );
function jt_customize_register( $wp_customize ) {
$wp_customize->remove_control( 'custom_css' );
}
add_action( 'after_setup_theme', 'definitely_allow_mobile_zooming_add_viewport');
function definitely_allow_mobile_zooming_add_viewport()
{
/*
* Set viewport for OceanWP
*/
if ( class_exists('OCEANWP_Theme_Class') ) {
add_filter( 'ocean_meta_viewport', 'definitely_allow_mobile_zooming_oceanwp' );
/** Remove product data tabs */
add_filter( 'woocommerce_product_tabs', 'my_remove_product_tabs', 98 );
function my_remove_product_tabs( $tabs ) {
unset( $tabs['additional_information'] ); // To remove the additional information tab
return $tabs;
}