Back to Top

WordPress Tips

WordPress Tips

Enqueue Style Sheets with Conditional Statements

Awaiting Opinion...

Using a built-in but hidden feature of WordPress to enqueue your IE-specific style sheets.... more

Script Localization for WordPress

2 OPINIONS!

Ever wonder how to localize your Javascript within a plugin? This tip will show you how!... more

Remove WordPress’s Version Number

6 OPINIONS!

Remove WordPress's version number in header, feeds, and media links without using any plugin!... more

Create a .pot or .po File using Poedit

24 OPINIONS!

Use Poedit, a cross-platform Gettext catalogs editing tool, to prepare a .pot file for translators or a .po file to translate a project.... more

Properly get your Plugin’s Path and URL

2 OPINIONS!

Yet another two undocumented WordPress functions that can help you tremendously when writing a plugin or theme.... more

Disable HTML in Comments Entirely

5 OPINIONS!

If you do not want your visitors to post any HTML in their comments, this tip is definitely for you!... more

Safely Redirect URLs in WordPress

Awaiting Opinion...

If you need to redirect your plugin or theme to untrusted URLs, it's best to use a function that only permits local ones.... more

Disable some WordPress Pages of Little Use

3 OPINIONS!

There are pages in WordPress that you might never use, such as daily archive page, attachment page, and so on. This tip will show you how to disable them!... more

Include Custom Post Types in Default Post Listings

Awaiting Opinion...

Read this tip to know how to include any post type in default post listings such as feeds, tag archives, date archives, etc.... more

Polldaddy Polls Callback after Voting

Awaiting Opinion...

The callback feature Polldaddy provides allows you to define a JavaScript function that will be called after a poll vote has been registered.... more

WordPress’s Fancy Excerpt for Your Site

24 OPINIONS!

By default WordPress strips all HTML from generated excerpts, making them look plain and ugly. Fortunately, we can fix this without using any plugin!... more

Reset Post Data

4 OPINIONS!

When you use query_posts() or create a new WP_Query object to get posts from the database, it is necessary to reset the post data so that other portions of a particular page can display correctly.... more

Install BWP Plugins in a Network Environment

5 OPINIONS!

This tip shows you how to install plugins that I developed as must-use plugins in a network environment.... more

Adding a Comment Formatting Guidelines for Visitors

10 OPINIONS!

Your visitors might not know what HTML markups are allowed in comments. It is, therefore, a good idea to have comment formatting guidelines somewhere near the comment form.... more

Page 2 of 3 1 2 3