Home » WordPress


10 Essential WordPress Interview Questions

1. Consider the following code snippet. Briefly explain what changes it will achieve, who can and cannot view its effects, and at what URL WordPress will make it available. add_action('admin_menu', 'custom_menu'); function custom_menu(){ add_menu_page('Custom Menu', 'Custom Menu', 'manage_options', 'custom-menu-slug', 'custom_menu_page_display'); } function custom_menu_page_display(){ echo '<h1>Hello World</h1>'; echo '<p>This is a custom page</p>'; } This will add a new menu item labelled ...

Read More »

How to Start a Blog with WordPress (Step by Step Guide for Blog Hosting)

EDITORIAL NOTE: Blogging has surged in popularity in recent years. Companies and individuals are using blogging in order to express their voices and connect with their audience. Most of this is performed on the popular WordPress platform. WordPress is a free and open-source content management system (CMS) based on PHP and MySQL. Features include a plugin architecture and a template ...

Read More »

WordPress get_post_meta Example

Let’s take it as if you’re writing a post in your WordPress website. Being the nice guy he is, WordPress would actually facilitate this for you and why not add some little perks such as you including your favorite song for the moment, or even your mood into your post. This is done through metadata. How exactly? Look below!   ...

Read More »

WordPress functions.php Tutorial

When designing WordPress Themes, you might have wanted to customize a theme by adding your own set of functions to make it come closer to your wants and needs. You are not the only one, and the funny thing is, some of the functions you want to add, are also the ones I (or someone else out there in the ...

Read More »

WordPress get_permalink Example

While working on your WordPress theme or plugin, you might need to get the current posts permalink. Below, you will learn how to do that, and why not also getting another post’s permalink while we’re at it? Let’s find out how!           Definition and Syntax The get_permalink() function makes it possible for you to retrieve the ...

Read More »

WordPress get_option Example

WordPress has simplified a lot the way we approach functionality, as it has defined many PHP functions, some of them (known as Template Tags) intended especially for WordPress Themes. Among many others which you can find here, are the Options functions. In case you want to get values for a specific option of your site from the database, you can ...

Read More »

Templating a WordPress theme with Twig

Well, that wasn’t as painful as I thought it would be. Some googling and a couple of experiments went a long way, and now I have a partial, unstyled, Twig-based theme happily running on WordPress. Twig is a templating engine for php. It has more than enough features to get me going, setting it up is as easy as falling ...

Read More »

How to customize WordPress mail sending method

Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud hosts such as openshift, aws, etc. are usually blacklisted by most email servers, hence its not a good idea to use them to send mails. In any case, why should I depend on my hosting ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook