My plugin for using REGEXP_REPLACE to optimize the search: https://wordpress.org/plugins/ignore-block-name-in-search/
Note
Please check your page builder if the native search still works!
/** | |
* Log the function name when doing_it_wrong is triggered | |
* | |
* @param string $function_name The function name that triggered the error | |
*/ | |
function log_function_name( $function_name ) { | |
// Taken from https://x.com/jkohlbach/status/1912769898171998653 | |
if ('_load textdomain_just_in_time' === $function_name ) { | |
error_log( wp_debug_backtrace_summary() ); | |
} |
<?php | |
/** | |
* Plugin Name: Fix IONOS Mail | |
* Description: Remove subdomain from the From address to allow mails on IONOS hosting. | |
* Plugin URI: https://torstenlandsiedel.de | |
* Version: 1.0.0 | |
* Author: Torsten Landsiedel | |
* Author URI: https://torstenlandsiedel.de | |
* Licence: GPL 2 | |
* License URI: http://opensource.org/licenses/GPL-2.0 |
<?php | |
/** | |
* Block Styles | |
* | |
* @link https://developer.wordpress.org/reference/functions/register_block_style/ | |
* | |
* @package WordPress | |
* @subpackage HeaderOutline | |
* @since HeaderOutline 1.0 | |
*/ |
<?php | |
// Source: https://divi.help/threads/the-user-scalable-no-attribute-is-used-in-the-meta-name-viewport-element-or-the-maximum-sc.10458/ | |
/** | |
* Remove the default viewport meta from Divi. | |
*/ | |
function db_remove_et_viewport_meta() { | |
remove_action( 'wp_head', 'et_add_viewport_meta' ); | |
} | |
add_action( 'after_setup_theme', 'db_remove_et_viewport_meta' ); |
<?php | |
// See: https://www.elegantthemes.com/blog/divi-resources/how-to-add-the-last-updated-date-to-divis-blog-post-meta-data#option-4-displaying-both-the-publish-and-last-updated-dates-without-time | |
function et_last_modified_date_blog( $the_date ) { | |
if ( 'post' === get_post_type() && !is_admin() ) { | |
$the_time = get_post_time( 'His' ); | |
$the_modified = get_post_modified_time( 'His' ); | |
$last_modified = sprintf( __( 'Zuletzt aktualisiert am %s', 'Divi' ), esc_html( get_post_modified_time( 'j. F Y', false, get_the_id(), true ) ) ); | |
$published = sprintf( __( 'Veröffentlicht am %s', 'Divi'), esc_html( get_post_time( 'j. F Y', false, get_the_id(), true ) ) ); |
/* | |
Submit button aligment "center" does not work correctly: | |
https://stackoverflow.com/questions/72353817/contact-form-7-submit-button-alignment-issue | |
*/ | |
.wpcf7-spinner { | |
display: block; | |
top: 15px; | |
left: 45%; | |
} |
<?php | |
/* Add two more user roles for viewing and managing Koko Analytics */ | |
/* See: https://www.kokoanalytics.com/kb/how-to-give-other-wordpress-users-access-to-the-koko-analytics-dashboard-page/ */ | |
add_role( 'koko_analytics_viewer', 'Koko Analytics Viewer', array( 'read' => true, 'view_koko_analytics' => true ) ); | |
add_role( 'koko_analytics_manager', 'Koko Analytics Manager', array( 'read' => true, 'view_koko_analytics' => true, 'manage_koko_analytics' => true ) ); |
My plugin for using REGEXP_REPLACE to optimize the search: https://wordpress.org/plugins/ignore-block-name-in-search/
Note
Please check your page builder if the native search still works!
<?php | |
/** | |
* Plugin Name: Repair AJAX comments for Antispam Bee | |
* Description: Add honeypot check and enable AJAX for Antispam Bee. | |
* Plugin URI: https://torstenlandsiedel.de | |
* Version: 1.0.0 | |
* Author: Torsten Landsiedel | |
* Author URI: https://torstenlandsiedel.de | |
* Licence: GPL 2 | |
* License URI: http://opensource.org/licenses/GPL-2.0 |
define( 'WP_DISABLE_FATAL_ERROR_HANDLER', true ); |