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
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...
Meta Box Script Is Now Available at WordPress.org

Meta Box Script Is Now Available at WordPress.org

As I said in a previous post, I was planning to put Meta Box Script on the plugin repository at WordPress.org. After 3 weeks of fixing some small bugs in version 4.0, today the plugin is now available at WordPress.org. The main purpose of forming the script as a plugin and putting it on WordPress.org...
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...
WordPress Reference Guide – An Useful Cheat Sheet For WordPress Users

WordPress Reference Guide – An Useful Cheat Sheet For WordPress Users

One of the features of WordPress that makes it superior to other CMSes is the online documentation (Codex). Everyone from designers to developers, from beginners to experts can find almost everything they need at the Codex. However, in some cases the Codex is too complicated, too detailed and we don’t need that much. That’s the...
Stop censorship