This file contains 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
.divi-cr-unauthorized-msg { | |
display:none!important; | |
} |
This file contains 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 | |
/** | |
* Italian Translation string for food recipes plugin. | |
* | |
* Add this code in a child theme | |
*/ | |
add_filter( | |
'gettext', | |
function ( |
This file contains 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 | |
/** | |
* uc_post_type_item_content - Replace the description of the 'Post Type Carousel' from | |
* 'Ultimate Divi Carousel' plugin. | |
* | |
* This is already implemented in the 'Food Recipes' plugin. | |
* | |
* Add this to your child theme | |
* You can control what text you want to display here. If you want to, for example, add preparation and total time data, |
This file contains 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 | |
/** | |
* Custom Filter to add text after the woocommerce product title in ultimate product carousel | |
* | |
*/ | |
add_filter( | |
'udc_after_woo_product_title', | |
function ( | |
// product title in html |
This file contains 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
/** | |
* Custom Filter to add text after the woocommerce product title in ultimate product carousel | |
* | |
*/ | |
add_filter( | |
'udc_after_woo_product_title', | |
function ( | |
// product title in html | |
$product_title, | |
// product |
This file contains 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 | |
/** | |
* Custom filter for "Restricting Content" via divi section. | |
* In the divi section "Restrict" Toggle, restrict content via "Custom WordPress Filter" | |
* Use the name "my_custom_filter" as the name of the filter. Note: You can name the filter however you like. | |
* Just ensure that you use the same filter name here as well. | |
* | |
* This filter take 3 arguments | |
* $original_content - A text representing the original "inner" contents of the divi section. Its in shortcode format |
This file contains 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('wpt_faq_manager_shortcode_categories', function ( | |
// categoryIds from shortcode . for example [5, 8, 3 ] | |
$categoryIds, | |
// page on which the faq gutenberg block, divi module or shortcode is used. | |
$page, | |
// the counter of the faq block/divi module/shortcode on the page. | |
$shortcode_count | |
) { |
This file contains 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
[wpcf7_row] | |
[wpcf7_one_half][text* your-name placeholder "Name (*)"][/wpcf7_one_half] | |
[wpcf7_one_half][email* your-email placeholder "Email Address (*)"][/wpcf7_one_half] | |
[/wpcf7_row] | |
[wpcf7_row][wpcf7_one][textarea* your-message placeholder "Message (*)"][/wpcf7_one][/wpcf7_row] | |
[wpcf7_row][wpcf7_one][submit "Send"][/wpcf7_one][/wpcf7_row] |
This file contains 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 | |
/** | |
* Plugin Name: Replace WordPress Dashboard | |
* Description: Replaces the default WordPress dashboard with a custom one. | |
* Author: Micah Wood | |
* Author URI: http://micahwood.me | |
* Version: 0.1 | |
* License: GPL3 | |
*/ |
NewerOlder