Difference between revisions of "Customize"

From wiki.linuxonlinehelp.eu
Jump to navigation Jump to search
(No difference)

Revision as of 12:58, 20 April 2012

Wordpress Customize

Security Tip: Reduce the count of Wordpress Plugins, do never use PHP Upload Plugins like "Gallery" cause most of them are scanned by hackers to access the file systems of the Webserver !!!

to remove date of posts edit functions.php

function theme_remove_post_dates() {
    add_filter('the_date', '__return_false');
    add_filter('the_time', '__return_false');
    add_filter('the_modified_date', '__return_false');
} add_action('loop_start', 'theme_remove_post_dates');

force ssl login to wp-admin.php add to wp-config.php and block port 443 to public access (iptables firewall)

define('FORCE_SSL_ADMIN', true);

delete trash add to wp-config.php

define('EMPTY_TRASH_DAYS', 0);