WordPress > WebSite-SicherheitsTools

WordPress > WebSite-SpeedChecks

WordPress > Cookie-Checks

WordPress > WebSite-Theme-Detector

WordPress Installation via Shell (wget WP + Skript):

wget && tar -xzvf latest.tar.gz
wget && chmod 700

Make the script executable (chmod +x) and then run it like this:
or with explicit naming of shell like this:

# Komplettes SKRIPT für Installation + Plugins
# WordPress latest version runterladen, entpacken und Installer löschen
tar xfz latest.tar.gz;
mv wordpress/* ./;
rmdir ./wordpress/;
rm -f latest.tar.gz readme.html license.txt liesmich.html ./wp-content/plugins/hello.php;
# Plugins runterladen
cd ./wp-content/plugins/;
for i in *.zip;
do unzip $i;
rm *.zip;
cd ../../;
Eigenes Plugin für WordPress Batch-Installationen

How can I set a WordPress post to private by default instead of public?

Add the following code snippet in your theme’s function file.

function force_type_private($post) { if ($post['post_type'] == 'post') { if ($post['post_status'] != 'trash') $post['post_status'] = 'private'; } return $post; } add_filter('wp_insert_post_data', 'force_type_private');

Changed the boolean to:

if (($post['post_type'] == 'post')&&(!current_user_can('administrator')))

So only Admin can publish. Works as intended.