Generate the .pot
file to include all translatable strings:
wp i18n make-pot . /languages/my-plugin.pot --domain=my-plugin
.
: Root directory of your plugin.
cursor: pointer; |
<script type="text/javascript"> | |
jQuery(document).ready(function(){ | |
jQuery(".hyper_this").on('click', function(){ | |
window.location = "https://divinotes.com/free-premium-divi-theme-layouts/"; | |
}); | |
}); | |
</script> |
/*Change Project Post Type Slug*/ | |
function ds_divi_modify_project_post_slug() { | |
return array( | |
'feeds' => true, | |
'slug' => 'new-slug', /*Change text between brackets*/ | |
'with_front' => false, | |
); | |
} | |
add_filter( 'et_project_posttype_rewrite_args', 'ds_divi_modify_project_post_slug' ); |
<?php | |
// Here you can see how to combine "Divi - Filterable Blog Module" with the free plugin "Events Manager": https://wordpress.org/plugins/events-manager/ | |
// Just add these snippets to your themes functions.php and change them according to your needs. | |
// Combine Event Manager with "Divi – Filterable Blog Module" by changing the $query_args | |
// If you use it like this, the sorting starts with the current event and past events will be hidden automatically | |
add_filter( 'dfbm_query_args_output', function( $query_args ) | |
{ |
SELECT 'autoloaded data in KiB' as name, ROUND(SUM(LENGTH(option_value))/ 1024) as value FROM wp_options WHERE autoload='yes' | |
UNION | |
SELECT 'autoloaded data count', count(*) FROM wp_options WHERE autoload='yes' | |
UNION | |
(SELECT option_name, length(option_value) FROM wp_options WHERE autoload='yes' ORDER BY length(option_value) DESC LIMIT 10) |
{ | |
"registry": "https://registry.bower.io" | |
} |
######################################################################## | |
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024 | |
# ---------------------------------------------------------------------- | |
# @Author: Andreas Hecht | |
# @Author URI: https://seoagentur-hamburg.com | |
# License: GNU General Public License v2 or later | |
# License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
######################################################################## | |