Category Archives: Tricks

Remove unused shortcodes from post content


If you have installed some plugin that adds shortcodes like [shortcode id=1] (for example [nggallery id=4], [tweeetmeme id=4 section=Name] etc), one you remove that, this pieces of text will appear in your post content unprocessed (just appear like they are in backend). WordPress has it’s own Shortcode API, so managing them is very easy. So if you don’t plan to use it or just temporary disable, you can use a pretty simple function that you can add to any plugin or theme’s functions.php that removes any shortcode you want from post output:

Changing post count on home page in WordPress template


Some professional WordPress websites usually have custom post roll layout and different post count on homepage. So this means when you go to second page of post roll you should’t see repeating items as a consequence of another post count than set in ‘Blog pages show at most’ setting in Reading section of Settings in WP-admin.

How to make iPhone ringtone for free by yourself

Bought an iPhone and have no idea how to make personal ringtones? Wish to have your ringtone from previous phone? Or just don’t want to pay Apple for ringtone? No problem. Actually adding your ringtone to iPhone is really easy. It should be a file with .m4r extention which is actually .m4a file. So just convert your song from mp3 or another format to AAC, change extension to .m4r and you’re done! NOTE: A song duration must be not longer than 40 seconds to be imported as ringtone.