Deluxe Blog Tips

I'm a web developer and a freelancer from Vietnam. I love WordPress and write about it and anything related at Deluxe Blog Tips. [ more ]
Home \ WordPress
Auto Create And Assign Static Homepage In WordPress

Auto Create And Assign Static Homepage In WordPress

For some themes, when the homepage or more exactly – the front page, is well designed, and users have to follow the theme documentation to create such that page to make it look the same as in the demo. In this article, I’ll show you a simple way to check if a static homepage has...
Add Custom Post Types And Custom Taxonomies To Menu Screen

Add Custom Post Types And Custom Taxonomies To Menu Screen

By default in the Menus screen (Appearance -> Menu), WordPress shows only meta boxes for Pages and Categories, from which you can select items and add to menus. Do you know that we can add the same meta boxes for all custom post types and custom taxonomies? Actually WordPress supports that feature, but it simply...
Get Current Admin Screen Information In WordPress 3.3

Get Current Admin Screen Information In WordPress 3.3

There’re a couple of variables can help us determining which admin screen we’re seeing: $pagenow for current page ID, $typenow for current post type, etc. But using these variables requires us a huge afford to combine them just to get the correct information we want. Fortunately, since version 3.3, WordPress gives us a more completed...
How To Show Youtube Video Outside The Post In WordPress

How To Show Youtube Video Outside The Post In WordPress

Embedding Youtube video in the post content in WordPress is extremely easy, just wrap it in the [ embed ]. Or even easier by checking the options Auto-embeds in Settings > Media and WordPress will automatically turns Youtube URL into the embedded video. But that’s for the post content. How do we embed the Youtube...
How to Remove Inline Style Of WordPress Gallery Shortcode

How to Remove Inline Style Of WordPress Gallery Shortcode

Some users don’t notice this, but by default WordPress displays inline style for gallery shortcode. If you look at the source of a post that contains [ gallery ] shortcode, you’ll see something similar to: The <style> tag should not be there. It will break your HTML validation (if you care). Another reason you should...
Meta Box Script 4.0 Needs Your Collaboration

Meta Box Script 4.0 Needs Your Collaboration

It’s been a while since the version 3.2.2 of Meta Box Script was released. I was working on this script for refactoring, making a good architect for it so that users and developers can easily use and customize it. The result of refactoring (which I call v4.0 beta) is put on GitHub. There’re many major...
How To Get Error Message When Using WordPress HTTP API

How To Get Error Message When Using WordPress HTTP API

One problem I’ve met when using WordPress HTTP API is that I couldn’t show the error message to users when the connection has failed. There are various problems of connection failure such as wrong URL, timeout, server block, etc. Users (and developers) need to see the error message to fix the PHP code or ask...