Here're a few good rules that you can make sure every writer follows to keep things civil and readable.
- 📨No para should have less than three and more than four lines
<?php | |
function remove_revslider_meta_tag() { | |
return ''; | |
} | |
add_filter( 'revslider_meta_generator', 'remove_revslider_meta_tag' ); | |
?> |
/** | |
* Filter Yoast SEO Metabox Priority to low | |
*/ | |
add_filter( 'wpseo_metabox_prio', 'aa_filter_yoast_seo_metabox' ); | |
function aa_filter_yoast_seo_metabox() { | |
return 'low'; | |
} | |
/** | |
* Remove Yoast SEO Metabox |
// Add to your Wordpress Theme's functions.php | |
// Remove All Yoast HTML Comments | |
// https://gist.github.com/paulcollett/4c81c4f6eb85334ba076 | |
add_action('wp_head',function() { ob_start(function($o) { | |
return preg_replace('/^\n?<!--.*?[Y]oast.*?-->\n?$/mi','',$o); | |
}); },~PHP_INT_MAX); |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<!-- we use 'preload_' instead of 'preload' to make it testable in chrome --> | |
<link rel="preload_" onload="console.log(this, 'script');" href="http://code.jquery.com/jquery-1.12.1.js" as="script" /> | |
<link rel="preload_" onload="console.log(this, 'style');" href="https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css" as="style" /> | |
<link rel="preload_" onload="console.log(this, 'font');" href="LatoLatin-Regular.woff" as="font" type="font/woff" crossorigin="" /> |
<?php | |
function wp_customize_admin_menu() { | |
remove_menu_page( 'edit.php' ); | |
remove_menu_page( 'edit-comments.php' ); | |
remove_submenu_page( 'themes.php', 'theme-editor.php' ); | |
remove_submenu_page( 'plugins.php', 'plugin-editor.php' ); | |
remove_submenu_page( 'tools.php', 'tools.php' ); | |
remove_submenu_page( 'tools.php', 'import.php' ); | |
remove_submenu_page( 'options-general.php', 'options-discussion.php' ); |
body.wpex-noscroll { | |
position: static !important; | |
width: auto !important; | |
overflow-y: inherit !important; | |
top: auto !important; | |
bottom: auto !important; | |
} |
server { | |
###################################################################### | |
## The Master .htaccess - NginX adaptation | |
## | |
## Version 3.3 | |
## | |
## This file is designed to be the template NginX server configuration file | |
## for your Joomla! sites. You should go through all of its sections and | |
## modify it to match your site. Most notably, all instances of example.com | |
## and example\.com should be replaced with your real domain name. |