Categories
WordPress

WordPress

And the Jazz Artists.

WordPress is an open source content management system. This system is the most popular CMS due to the great flexibility it provides and the option to manage a site even without extensive programming knowledge.

A significant option in WordPress is to create a Multisite network, ie multiple sites based on the same code, making it easier to manage and maintain them.

To improve system security at the WordPress level: Update frequently, install few plugins as possible, remove unused templates, install SSL certificate, and set up Two-Factor Authentication.

To improve system security at the server level: Update frequently, report any suspicious activity in your account to your hosting provider, verify that there is a firewall, and config the Intrusion Prevention System (enable mod_remoteip if used with reverse proxy), hide software versions, and disable the XML-RPC function and the directory browsing option by adding the commands to the .htacess file:

<Files "xmlrpc.php">
Order Allow,Deny
Deny from all
</Files>

Options -Indexes

To detect malwares, look for suspicious code lines and files in the WordPress folder and database (Japanese Keyword Hack guide, Mobile Spam Popup guide) and check the recently modified files:

find ./ -type f -mtime -15

To run WordPress website with SSL in reverse proxy, it is required to edit the commands in the wp-config.php file to appear at this order:

$_SERVER['HTTPS'] = 'on';
require_once(ABSPATH . 'wp-settings.php');

To improve the SEO for the WordPress: use responsive template, config permalink by post name, set the URL slugs in English, and speed up the WordPress.

To optimize the WordPress Speed: Turn off Trackbacks & Pingbacks, use few plugins as possible, delete unused media, decrease media size before upload, run frequently a Database Cleaner, and limit autosaves and revisions by adding the commands to the wp-config.php file:

define('AUTOSAVE_INTERVAL', 300 );
define('WP_POST_REVISIONS', false );

To control the file storage and upload size limit, the available space on the server, the size of the hosting plan, the hosting panel settings, the WordPress site and multisite settings, and the files: .htaccess, php.ini, .user.ini, wp-config.php, functions.php, must be taken into account.

To change theme files in WordPress, create child theme. To change WordPress functionality, use built-in hooks (which are seperated to actions and filters), add the hooks into the functions.php file in the child theme. To change WordPress styles, use the Dashboard => Appearance => Customize => Additional CSS, and in order the change the styles of the Dashboard itself:

add_action( 'admin_head', 'condless_admin_custom_css' );
function condless_admin_custom_css() { echo '<style>your_custom_css</style>'; }

To customize the Twenty Twenty theme header, make use of the CSS:

.cover-header-inner-wrapper { min-height: 60vh !importent; }
.home .entry-header { display: none; }

To limit the length of the code block, make use of the CSS:

pre.wp-block-code { max-height: 30vh; }

Enable use of session variables:

add_action( 'init', 'condless_activate_session', 1 );
function condless_activate_session() {
    if( ! session_id() ) {
        session_start();
    }
}

E-commerce.

Tags for effective social media sharing.

Contact forms. For custom design, make use of the CSS:

.wpcf7-form {
	background: #dcc8a5;
	padding: 10px 20px;
	border: 2px solid #f6efdf;
	border-radius: 7px;
	max-width: 300px;
}
 
.wpcf7-form p {
	color: #4f2a0f;
	margin-bottom: 5px;
}
 
.wpcf7-form input,
.wpcf7-form textarea {
	background: #f6efdf;
	padding: 5px 7px;
	margin: 4px 0 8px 0;
	border: 3px solid #ccb58c;
	color: #4f4f4f;
	border-radius: 7px;
}
 
.wpcf7-form .wpcf7-submit {
	background: #4f2a0f;
	padding: 5px 15px;
	color: #fff;
	min-width: 100px;
}
 
.wpcf7-form input[type="submit"]:hover {
 	background: #000;
}

Multi language.

Forums with moderation options.

Social network with private area.

Ads board.

Database search and replace.

Slider. To create full width video, make use of the CSS:

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}
.mejs-container {
	padding-top: 56.25%;
}
.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}
video.wp-video-shortcode {
	position: relative;
}
.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.mejs-controls {
	display: none;
}
.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

Image hover effects.

As you probably have noticed- Pastorius, Carter, Vald├ęs, and all other WordPress Version names, are names of popular jazz artists, inspired by WordPress core developers, who share a love of jazz music.

Leave a Reply

Your email address will not be published. Required fields are marked *