A list of sites using the WP REST API in production (aka add your own)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
MU Plugin: remove-jetpack-css | |
Plugin Name: WP Remove jetpack.css | |
Plugin URI: http://required.ch | |
Description: Removes the jetpack.css | |
Version: 1.0 | |
Author: Silvan Hagen | |
Author URI: http://www.silvanhagen.com | |
License: GPLv3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant plugin update $(vagrant plugin list |awk '/^[:alnum:]/i {print $1}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In your config/deploy/<stage>.rb files add the correct path which is publicly curlable :D | |
# Opcache file url | |
set :opcache_file_url, "https://<add_public_url_of_stage>/opcache_clear.php" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#user-feedback-init-button, | |
#user-feedback-bottombar, | |
.user-feedback-modal, | |
.user-feedback-annotation { | |
z-index: 100; | |
} | |
#user-feedback-canvas { | |
z-index: 99; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
span:empty::before { | |
content: attr(id); | |
} | |
span:empty { | |
display: block; | |
border: 1px dashed black; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Post Likes | |
* Description: WP REST API Post Likes | |
* Author: Joe Hoyle | |
* Version: 1.0 | |
* Author URI: http://joehoyle.co.uk | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$icons = array( | |
'menu-icon-dashicons-menu' => __('Menu', 'iconic'), | |
'menu-icon-dashicons-dashboard' => __('Dashboard', 'iconic'), | |
'menu-icon-dashicons-admin-site' => __('Admin Site', 'iconic'), | |
'menu-icon-dashicons-admin-media' => __('Admin Media', 'iconic'), | |
'menu-icon-dashicons-admin-page' => __('Admin Page', 'iconic'), | |
'menu-icon-dashicons-admin-comments' => __('Admin Comments', 'iconic'), | |
'menu-icon-dashicons-admin-appearance' => __('Admin Appearance', 'iconic'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change the path below according to your hosting | |
# - Add a cron job to get an email every week :) | |
find /home/*/public_html/ -type f -iwholename "*/wp-includes/version.php" -exec grep -H "\$wp_version =" {} \; | |
# Empty lines to make it easy to copy |