WordPress Interview Questions & Answers – Part6
51. What if I need help after the project?
That is what we are here for! You will get full training at the conclusion of the project and we will be available for email support following the project when needed. Additional one on one training will be available at an additional cost if needed.
Coming soon we will be launching a new members support area here on the web site that will include full training for clients only. This will include a number of PDF downloads, tutorials and video training. This will be available to all past and future clients.
52. Can you briefly explain 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 :.
53. 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.
54. Can you tell that whether the comparison of string “50ᕙ and integer 60 will work in PHP or not?
Yes it will work as the PHP will consider the comparators as Integer type and hence will compare 50 and 60.
55. Will I have the ability to update my own content?
That depends on the site/project itself. We have created sites where almost every aspect could be edited by the client (content, navigation, photos, forms, etc) and others where it was a simple setup to allow for the main content areas to be edited. This is something we will discuss when planning the project and determine what your need will be. At the very least you will be able to edit the site content yourself and the ability to add/remove photos.
56. Briefly explain how include and require are different from each other?
Both include and require scans the program. If the require() function doesn’t find any file than the script will not execute. On the other hand if the include() file can’t find a file or encounter any error then the warning notification will be raised but the script will still execute.
57. What are the rules that you have to follow for wordpress plugin development?
- Create a unique name
- Create the plugin’s folder
- Create a sub-folder for PHP files, translations and assets
- Create the main plug-in file and fill in header information
- Create activation and de-activation functions
- Create an uninstall script
- Create a readme.txt file
- To detect paths to plugin file use proper constants and functions
58. 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.
59. Is it possible to rename the WordPress folder?
Yes, it is possible to rename the WordPress folder. If WordPress is already installed you have to login to the weblog as the administrator and then change the settings
WordPress address (URI) :
Blog address( URI) :
After making the changes, you can rename the folder or directory with the WordPress file in it.
60. How you can disable the WordPress comment?
If you go on dashboard under options-discussion there is a comment “ Allow people to post comment” try unchecking the comment.