How to use Hidden options in WordPress


There are lot of hidden options in WordPress that you don’t know about. Today we are going to teach you about a simple trick that will be helpful if you’re managing a multi-author blog. If your blog has multiple authors or users posting then you cannot be giving instructions every time to each one to arrange/align the images to center/right/left or link the image with URL/none/attachment page and also setting the size of image to full size/medium/thumbnail and so on. Specially for multi-author blogs, if you want to set the media stuff as default whoever the author maybe, then here is a trick to do it.

Using the hidden menu options in WordPress and setting them by default avoids extra work, so that users do it correctly, without needing to be told. Now let’s see how to set defaults for the Gallery settings such as image, video files which are inserted into the blog posts.

All you need to do is, open your browser, make sure you have logged into your wordpress dashboard already. Now navigate into Wp-admin/options.php in your browser. So the URL in your address bar should be like (

In options.php file you can define default values ​​for the posting of images in the articles. This options.php file lets you to change the values for posting of images. You can change the alignment of images, change the default dimensions for WP’s default sizes (“small”, “medium”, etc) as well.

Now when ‘options.php’ file is displayed you can find various options and their values. Now search for the word “image_default_align” on the text field beside it enter the value you want your images to be aligned. It supports three values – left, right, center.

Also for the “image_default_link_type” where you can specify whether you want to hyperlink your images or just leave it to the image URL or attachment page etc. The values which you can enter has two options. ‘post’ and ‘file’. The ‘post’ value allows the image to link to the article (page attachment.php your theme) and the ‘file’ value allows to link directly to the file itself.

The next option is for the size of the default image here ‘image_default_size’. You can enter values such as ‘thumbnail’ for thumbnail of the image by default and also values such as ‘medium’, ‘large’, ‘full’ size of the image.

Hope you get rid of small things that annoys when you manage a multi-author blog.

For a limited time I'm sharing some select Tips and Tricks and How-To Guides for FREE.


  1. Rakesh says:

    Very nice discovery. Keep it up.

Speak Your Mind