Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ## Mobile First Method | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| } | |
| /* Extra Small Devices, Phones */ | |
| @media only screen and (min-width : 480px) { | |
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
| const overlay_radii = props.overlay_radii ? props.overlay_radii.split("|") : []; | |
| additionalCss.push([{ | |
| selector: "%%order_class%% .qv-overlay", | |
| declaration: `border-radius: ${overlay_radii[1] || 0} ${overlay_radii[2] || 0} ${overlay_radii[3] || 0} ${overlay_radii[4] || 0} ` | |
| }]); |
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_filter( 'et_project_posttype_args', 'dvppl_remove_project_posttype', 10, 1 ); | |
| function dvppl_remove_project_posttype( $args ) { | |
| return array_merge( $args, array( | |
| 'public' => false, | |
| 'exclude_from_search' => false, | |
| 'publicly_queryable' => false, | |
| 'show_in_nav_menus' => false, |
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 /** @noinspection SpellCheckingInspection */ | |
| /** | |
| * This file contains the WordPress code for rendering a Google Reviews badge. | |
| * | |
| * Usage: | |
| * | |
| * 1. Create a Google API Console account if you have not already done so. | |
| * 2. Register for the Google Places API. | |
| * 3. Create an API key. | |
| * 4. Ensure that the API key can be used from wherever this script will execute |
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
| <ul class="products"> | |
| <?php | |
| $args = array( | |
| 'post_type' => 'product', | |
| 'posts_per_page' => 12, | |
| 'tax_query' => array( | |
| array( | |
| 'taxonomy' => 'product_visibility', | |
| 'field' => 'name', | |
| 'terms' => 'featured', |
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( 'sale_products', 'sale_products' ); | |
| function sale_products( $atts ){ | |
| global $woocommerce_loop, $woocommerce; | |
| extract( shortcode_atts( array( | |
| 'per_page' => '12', | |
| 'columns' => '4', | |
| 'orderby' => 'title', | |
| 'order' => 'asc' |
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 | |
| /** | |
| * All Fields List | |
| * @author Mohammad Fahim | |
| * @link https://fahim.xyz | |
| */ | |
| function get_fields() { | |
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 | |
| class Prefix_Module_Name extends ET_Builder_Module { | |
| public $slug = 'module_slug_name'; | |
| public $vb_support = 'on'; | |
| protected $module_credits = array( | |
| 'module_uri' => 'module_url', | |
| 'author' => 'Author Name', |
OlderNewer