Quick View on WordPress Settings

WordPress-Christmas-18In all versions of WordPress, there is the possibility to view all settings within the admin area of WordPress, but a menu link doesn't exist. The page options.php enables to have a quick look at various options and also allows you to save settings.
However, it must be said, WordPress stores more data in serialized form, which also is a good thing, but those you can no longer edit on this page.


Nonetheless, certainly worth a look and now and then a help to quickly look into the settings of the blog. Alternatively, the plugin WP Developer Assistant can help here, because it also allows a glimpse into the serialized data.

Example-URL: http://example.com/wp-admin/options.php

Alternatively you can also add a menu link. Add the following snippet in to the functions.php of your theme or create a Plugin.

function all_settings_page() {
	add_options_page( __( 'All Settings' ), __( 'All Settings' ), 'administrator', 'options.php' );
add_action( 'admin_menu', 'all_settings_page' );

Optimize Syndication Frequenzy

WordPress-Christmas-20Today a standard becomes 9 years old. But hardly ever noticed: The Syndication-Module 1.4.1 of RDF Site Summary 1.0.

What is it good for?

Apparently some of you publishing posts less than 10 times per day. Shame on you ... not!
WordPress, however, assumes that you can not even stop, so write it in the RSS feed:


In plain English: Every feed reader should check once an hour, if you finally wrote something again.

Anyone who wants to relieve his server from such a thing, can change that. In the functions.php you write this two lines:

add_filter( 'rss_update_period',    create_function( '', 'return "daily";' ) );
add_filter( 'rss_update_frequency', create_function( '', 'return 4;' ) );

A few feed reader keep it by that but other don't. But even if there is only one: You've saved a few resources that you can use somewhere else.

Guest Post

This post is written by Thomas Scholz - toscho.de and is a post in our Advent Calendar on WP Engineer about WordPress.
Thank you very much from my part to Thomas.
If you also like to have your interesting post published on our website, please let us know on our contact page. Of course we will appreciate your contribution!

Use WordPress Cron

WordPress-Christmas-14WordPress has its own cron to automatically and scheduled run certain themes. Therefore WordPress provides several functions to use the cron.

In our first example we send every hour a mail with the help of the WordPress function wp_mail(). FYI, this is just a possibility, please don't do it on your system!

As default, WordPress can handle 3 time keys, which you can call with the function wp_schedule_event.

// send automatic scheduled email
if ( ! wp_next_scheduled('my_task_hook') ) {
	wp_schedule_event( time(), 'hourly', 'my_task_hook' ); // hourly, daily and twicedaily

add_action( 'my_task_hook', 'my_task_function' );
function my_task_function() {
		'Automatic mail', 
		'Hello, this is an automatically scheduled email from WordPress.'

If you use the cron in a Plugin or theme, then don't forget to deactivate the cron if you don't need it anymore.

delete_action( 'my_task_hook', 'my_task_deactivate' );
// clean the scheduler
function my_task_deactivate() {
	wp_clear_scheduled_hook( 'my_task_hook' );

But not always are 3 time values enough. Luckily you can expand the control via a filter.

add_filter( 'cron_schedules', 'filter_cron_schedules' );
// add custom time to cron
function filter_cron_schedules( $schedules ) {
	$schedules['once_half_hour'] = array( 
		'interval' => 1800, // seconds
		'display'  => __( 'Once Half an Hour' ) 
	return $schedules;