Interviewer And Interviewee Guide

Behavioral WordPress Themes Developer Interview Questions & Answers:

1. Tell me can WordPress use cookies?

Yes, wordpress use cookies. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users.

2. Tell me the ternary conditional operator in PHP language?

Ternary Condition is a very popular operator in PHP which evaluates the expression preceding the ?. If the condition is true then it executes the expression preceding : and If the condition is false then it executes the expression following :.

3. Tell me in what case you don't see plugin menu?

You can't see your plugin menu when the blog is hosted on free wordpress.com as you cannot add plugin there. Also, if you do not have an account of an administrator level on your WordPress is not possible to see plugin.

4. Tell me how do I find the absolute path I need for uploading images?

To find the absolute path of a page, absolutepath.zip will help you. Download, unzip, ftp to the location of the page / image / directory and then call the file in your browser

5. Explain me a difference between characters 35 and x35?

These Both Characters are a way different from each other. The first character is defined as octal 35 whereas the second one is Hex 35.

6. Explain what is the special meaning of _sleep and _wakeup?

_sleeps return the array of all variables than need to be saved, while _wakeup retrives them.

8. Tell me what are the plugins you can use to create contact form in WordPress?

To create a contact form in WordPress you can use plugin like Gravity forms or also you can use a free plugin contact form 7.

9. Do you know blog is a necessary part to be included in a WordPress Website?

No it is not a necessary part. Although WP was first designed as a platform for blogging but now it can be used for every genre of websites. Blogs are added in the website to provide valuable information to the visitor and for a better SEO.

10. Explain me what are the custom fields in wordpress? How to display it?

We will add extra information to our post by using custom fields.Custom Fields are a form of meta-data that allows us to store arbitrary information with each WordPress post.
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); ?>

Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.