Free Quote
Blog

Little secrets of better WordPress development

With WordPress conditional statements your blog will stand out against thousands of others

Conditional statements can transform themes in something unrecognizable. Be sure, your readers will be amazed by such features in WordPress blog design. There is nothing difficult in directory conditioned elements, they based on PHP code. So with the help of PHP programmers you will be able to realize your ideas. For instance, welcome block at the home page can be done with the following code:

if (is_home()) {
echo 'YOUR WELCOME BOX CODES HERE';
} else { }

Theme framework is a timesaver for WordPress template customization

There are a lot of theme frameworks (Guerrilla Theme, Thesis, Thematic, WP Framework, etc.) that will help you to build custom templates in the shortest possible time. Use them with no hesitation!

WordPress widgets for better usability

With widgets you can easily customize the look of your theme, rearrange different blog areas (ad blocks, posts, headers, footers, etc.).

Say “no” to plugins and “yes” to PHP code

Using WordPress plugins you force end-users of your blog to download and install additional software. It’s not a good idea for quick and easy accesses to blog features and published information. PHP solves this problem and it also gives more know-hows for WordPress developers.

Continuous learning is an indispensable condition of qualitative WordPress development

WordPress has a great blogging community, it’s even more then web community. So WordPress-as-a-CMS development can be just fun and easy work with some simple plugins, php code and official teaching material from tutorial sites. You can try a simple hack code that helps to reduce spam. It blocks all comments on your blog written by users who have come with “No referrer” result (for example, spam bots).

function check_referrer() {
if (!isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] == "") {
wp_die( __('Please enable referrers in your browser, or, if you're a spammer, bugger off!') );
}}
add_action('check_comment_flood', 'check_referrer');add_action ( 'check_comment_flood', 'check_referrer');
Leave a Comment
Your email will not be published