Archive for the “hook” category
Customize WordPress login logo without a plugin
by Jean-Baptiste Jung on December 21, 2009
WordPress login logo looks nice, but sometimes you may want to change it, for example when building a site for a client. In that case, you can use a plugin, or simply take advantage of this cool hack.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
How to define your own dashboard logo
by Jean-Baptiste Jung on December 18, 2009
By default, the “W” WordPress logo is displayed on the top left side of the dashboard. If for some reason, you’”d like to add your own logo, just read this recipe.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
WordPress hack: Extend the body_class function
by Jean-Baptiste Jung on November 2, 2009
Introduced in WordPress 2.7 the body_class() function is extremely useful to style a particular post, page or subpage. But when we look at the subsubpages, the parent page ID is that of it’s nearest parent and not the ID of it’s top level parent. Let’s solve this issue.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
WordPress hack: Automatically insert author bio on each post
by Jean-Baptiste Jung on October 26, 2009
Using WordPress hooks, it can be very easy to modify WordPress variables to fit your needs. In this recipe, I’m going to show you how to use hooks to automatically insert the author bio after each post.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
WordPress hack: Automatically insert author bio on each post
Force the use of a specific WordPress theme
by Jean-Baptiste Jung on September 17, 2009
Did you know that in WordPress, the $theme variable control the apparence of your blog? In fact, its value is the name of your theme. In this recipe, I’m going to show you how you can switch themes using a simple code snippet.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!
WordPress trick: Disable plugin stylesheet
by Jean-Baptiste Jung on August 9, 2009
When activated, some plugins automatically ads their css stylesheet to your WordPress blog. This is great in most cases, but it is a lot cleaner to have all your css styles in one stylesheet. Here’s a hack to disable plugin specific stylesheets.
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!