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!
/* | |
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 ); |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>WordPress plugin preview</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> |
<?php | |
/** | |
* Plugin Name: Double every translation | |
* Description: Double every translation string for testing purpose. | |
* Plugin URI: https://torstenlandsiedel.de | |
* Version: 1.0 | |
* Author: Torsten Landsiedel | |
* Author URI: https://torstenlandsiedel.de | |
* Licence: GPL 2 | |
* License URI: http://opensource.org/licenses/GPL-2.0 |
<?php | |
/** | |
* Plugin Name: Disallow GPTBot | |
* Description: Add line in robots.txt to disallow GPTBot. | |
* Plugin URI: https://torstenlandsiedel.de | |
* Version: 1.0 | |
* Author: Torsten Landsiedel | |
* Author URI: http://torstenlandsiedel.de | |
* Licence: GPL 2 | |
* License URI: http://opensource.org/licenses/GPL-2.0 |
# Protect wp-login.php without interfering with post/page password protection | |
<files wp-login.php> | |
<If "%{QUERY_STRING} != 'action=postpass'"> | |
# Protect wp-login.php | |
AuthName "Login erforderlich" | |
AuthType Basic | |
AuthUserFile /path/to/password-file/.htpasswd | |
require valid-user | |
</If> | |
</files> |
Context | Possibe values |
---|---|
default GMT offset or timezone string | Must be either a valid offset (-12 to 14) or a valid timezone string (America/New_York) |
start of week | 0 = Sunday, 1 = Monday (0 or 1) |
Events widget offset prefix | Used as part of a string like GMT+5 in the Events Widget. (?) |
draft_length | Maximum number of words used in a preview of a draft on the dashboard. (number) |
Comment number declension: on or off | If comment number in your language requires declension, translate this to ‘on’. (on or off) |
decline months names: on or off | If months in your language require a genitive case, translate this to ‘on’. (on or off) |
Word count type. Do not translate! | If your word count is based on single characters (e.g. East Asian characters), enter ‘characters_excluding_spaces’ or ‘characters_including_spaces’. Otherwise, enter ‘words’. |
Google Font Name and Variants | Use this to specify the proper Google Font name and variants to load that is supporte |