WordPress Themes Development Interview Preparation Guide
Download PDF
Add New Question

WordPress Themes Development based Frequently Asked Questions by expert members with experience as WordPress Theme Developer. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts

109 WordPress Theme Development Questions and Answers:

1 :: Tell me are there any limitations to a WordPress web site?

You can use WordPress for e-commerce sites, membership sites, photo galleries and any other type of site you can think of. The web site is created using the same html code as any other site so there are no limitations there either.
Post Your Answer

2 :: Tell me how you will pass a variable by value in WordPress?

Its same like we will work in c,
$a = &$b
Post Your Answer

3 :: Tell me what do you mean by custom field in wordpress?

Custom field is a meta-data that allows you to store arbitrary information to the wordpress post. Through custom field extra information can be added to the post.
Post Your Answer

4 :: Tell me what is the simplest way to find out the number of parameters passed into a function?

It is really easy to find out the no. of parameters passed into the function by following the below provided command:
func_num_args()
Post Your Answer

5 :: Explain what are the custom fields in wordpress?

We will add extra information to your post by using custom fields. Custom Fields are a form of meta-data that allows you to store arbitrary information with each WordPress post.
Meta-data is handled with key/value pairs. The key is the name of the meta-data element. The value is the information that will appear in the meta-data list on each individual post that the information is associated with.
To display the Custom Fields for each post, use the the_meta() template tag.
To fetch meta values use the get_post_meta() function.
For example we use custom fields:-
<?php echo get_post_meta($post->ID, ‘key’, true); ?>
Post Your Answer

6 :: Tell me how to call a constructor for a parent class?

parent::constructor($value)
Post Your Answer

7 :: Tell me when are you supposed to use endif to end the conditional statement?

When the original if was followed by : and then the code block without braces.
Post Your Answer

8 :: Explain me do I need to know any programming to make updates?

To initially setup a site and customize it you will, though you don’t need to worry about that because that is what we are doing for you. Once the site is setup we will train you on how to perform the updates (very simple) and you will be good to go. In order to perform the content updates you may need in the future you will not need to know any programming at all. I compared it earlier to using Microsoft Word and it really is that easy!
Forget about having to hire a programmer to make simple text updates on your site from now on, you can go in and do it yourself in a matter of minutes.
Post Your Answer

9 :: Explain me why does WordPress use MySQL?

MySQL is widely available database server and is extremely fast. It is an open source and it is available at no cost also it is supported by many low-cost Linux hosts so its easy for anyone to host their website.
Post Your Answer

10 :: Explain me how do I prevent my images from being hot-linked by another website?

You can use your .htaccess file to protect images from being hot linked, or, in other words, being linked-to from other websites. This can be a drain on your bandwidth, because if someone links directly to the image on your site, then you lose the bandwidth.
Post Your Answer
Add New Question