Tips & Tricks

Disable and Delete Post Revisions in WordPress

WordPress post revisions are automatically created whenever you edit an existing post. This is extremely annoying for some site owners as it creates many additional records in your database and at some point you end up having more post revisions than actual posts… So what you need to do is turn off WordPress post revisions […]

read more

Get WordPress Custom Field if it exists

If you want to get a custom field anywhere in your posts/pages accompanied by a phrase indicating that the output is something specific (e.g. you have a showcase and you want to include the showcased site’s url under the image but you want it styled specifically) then all you have to do is insert the […]

read more

Include JavaScript in home page only

Sometimes you need to use a slider, slideshow or some javascript effect that will appear only in your home page. Therefore, you don’t need all of your pages to include in the <head> section the JavaScript code that is used for that purpose. All you need to do is to put your JavaScript code between […]

read more

Change WordPress Default Excerpt […]

WordPress excerpt by default, looks like […]. But this is not what we might want for a costumer’s page, where their blog/site is more corporate. That’s why, we will see how to change it. Edit your theme’s  functions.php file (create one if it doesn’t exist) and paste the following code <?php function replace_excerpt($content) { return […]

read more

Publish your WordPress site’s Feed Later

If you have ever faced the problem of publishing a post with an error that you haven’t noticed but this post is already included in a feed that is published to the whole world, then you will probably find this article very useful! Using the following code you can have your new posts published to […]

read more

Styling the WordPress Login Page

If you want to change the way your login WordPress page looks, this is the easiest way to do it. This code snippet adds a stylesheet to your login page and you can style it any way you like and moreover change the default WordPress logo link (leading to wordpress.org) and its title text to […]

read more

Ads into WordPress Feeds

Many of your readers just grab your rss feed and might never return to your web page! That way you might be losing money from the advertisements you have put inside your content. To avoid that, we will show you a way to include your ads inside your feeds. Just paste the following code inside […]

read more

WordPress Categories: Alternate CSS Stylesheets

When you use WordPress to build a site and not simply a blog, you often need to have different styling for posts belonging to specific categories. For example you may want to use different color themes for category specific posts, thus you will need to use different images, different background colors and different font colors. […]

read more

Register Multiple Sidebars in WordPress: the simplest way

Registering multiple sidebars for your WordPress blog/site allows you to use different widgets in different areas of your blog/site.

read more

Get rid of curly quotes in your WordPress blog

If you’re a developer who often publishes code snippets on your website, you might have encountered the following annoying problem: someone points out that the code you posted doesn’t work. Why does that happen? It’s quite simple: WordPress by default replaces normal quotes with “smart quotes” and that is what breaks your code snippets. In […]

read more