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...
View ArticleRegister 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. In this example we will see how to register 2 sidebars and then use...
View ArticleWordPress 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...
View ArticleAds 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...
View ArticleStyling 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...
View ArticlePublish 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...
View ArticleChange 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...
View ArticleInclude 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...
View ArticleGet 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...
View ArticleDisable 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...
View Article