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
| name: Release Plugin in Subfolder | |
| # This workflow is for plugins where the .koplugin folder is in a subfolder of the repository | |
| # (e.g., pinpadlockscreen.koplugin/ inside pinpad_screenlock_plugin repository) | |
| # It automatically finds the .koplugin folder and creates a proper release ZIP | |
| on: | |
| push: | |
| tags: | |
| - 'v*' |
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
| { | |
| "templates": [{ | |
| "id": "3e1aa306", | |
| "title": "Contact 1", | |
| "created_at": "2022-06-17 14:14:53", | |
| "type": "section", | |
| "url": "https:\/\/site.com\/portfolio\/contact-1\/", | |
| "is_plus": false, | |
| "thumbnail": "https:\/\/site.com\/elementor-library\/templates\/section\/contact\/3e1aa306.png", | |
| "tags": [], |
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
| #cookie-notice {min-width:100%!important} | |
| .box-white { | |
| background-color: #FFFFFF; | |
| } | |
| .box3, .box5, .box7 { | |
| background: #F0EFF5 !important; | |
| } | |
| .gotham-lite { | |
| font-family: "Gotham Pro Light", sans-serif !important; | |
| } |
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 | |
| 'default' => '', | |
| 'default' => [ | |
| 'unit' => 'px', | |
| 'size' => 10, | |
| ], | |
| 'default' => [ | |
| 'top' => '20', | |
| 'right' => '20', | |
| 'bottom' => '20', |
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 | |
| $control->start_controls_tabs( 'container_tabs' ); | |
| $control->start_controls_tab( 'container_tab_normal', array( 'label' => __( 'Normal', 'text-domain' ) ) ); | |
| $control->end_controls_tab(); | |
| $control->start_controls_tab( 'container_tab_hover', array( 'label' => __( 'Hover', 'text-domain' ) ) ); | |
| $control->end_controls_tab(); |
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 | |
| // New order notification if order total bigger than value | |
| add_action( 'woocommerce_checkout_order_processed', 'devise_email_if_ordertotal_bigger_than', 20, 1 ); | |
| function devise_email_if_ordertotal_bigger_than ( $order_id ) { | |
| $order = wc_get_order( $order_id ); | |
| $total = $order->get_total(); | |
| $total_over = 500; |
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 | |
| /* Display only children of current category in Woocommerce product categories widget */ | |
| add_filter('woocommerce_product_categories_widget_args','woo_current_product_category'); | |
| function woo_current_product_category( $args ){ | |
| global $wp_query, $post, $woocommerce; | |
| $include = array(); | |
| $category_parent = ''; |
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 if( is_home() || is_front_page() ) : ?> | |
| <style id="my-internal-css"> | |
| #main_content .container { | |
| position: relative; | |
| padding: 120px 0; | |
| } | |
| </style> | |
| <?php endif; ?> |
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 id="voting-form" style="display:none"> | |
| <?php echo do_shortcode( '[gravityform id="6" title="false" description="false" ajax="true"]' ) ?> | |
| </div> | |
| <a href="#voting-form" class="fancybox button">Vote Now</a> |
NewerOlder