WordPress Interview Questions and Answers 2


Q1. How will you disable theme and plugin editing in your WordPress admin?

Ans. Adding the following constant will disable theme and plugin editing from within the WordPress admin:

   define(‘DISALLOW_FILE_EDIT’, true);

Q2. How will you prevent automatic update to a plugin which you have modified?

Ans. You can do it by changing the name of the plugin’s directory then activating it again into your WordPress dashboard. Alternatively, you can modify the name of the plugin to achieve the same.

Continue reading

Advertisements

80 jQuery interview questions and answers


shreelimbkar

80jQuery

Below is the list of latest and updated jQuery interview questions and their answers for freshers as well as experienced users. These interview question covers latest version of jQuery which is jQuery 2.0. These interview questions will help you to prepare for the interviews, for quick revision and provide strength to your technical skills.

Q1. What is jQuery?
Ans: jQuery is fast, lightweight and feature-rich client side JavaScript Library/Framework which helps in to traverse HTML DOM, make animations, add Ajax interaction, manipulate the page content, change the style and provide cool UI effect. It is one of the most popular client side library and as per a survey it runs on every second website.

Q2. Why do we use jQuery?
Ans: Due to following advantages.

  • Easy to use and learn.
  • Easily expandable.
  • Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)
  • Easy to use for DOM manipulation and traversal.

View original post 4,608 more words

PHP Interview Questions and Answers


1. What’s PHP ?

The PHP Hypertext Preprocessor is a programming language that allows web developers to create dynamic content that interacts with databases. PHP is basically used for developing web based software applications.

2. How can we know the number of days between two given dates using PHP?

$date1 = date(‘Y-m-d’);
$date2 = ‘2006-07-01’;
$days = (strtotime($date1) – strtotime($date2)) / (60 * 60 * 24);
echo “Number of days since ‘2006-07-01’: $days”;

3. How do you define a constant?

define (“MYCONSTANT”, 100);

4. What is meant by urlencode and urldecode?

urlencode() returns the URL encoded version of the given string. URL coding converts special characters into % signs followed by two hex digits.
For example:
urlencode(“10.00%”) will return “10%2E00%25”. URL encoded strings are safe to be used as part of URLs.
urldecode() returns the URL decoded version of the given string. Continue reading

Joomla Interview


IT-World

joomla-cms-content-management-system-seo-guide-redirects-canonicals
1. Joomla is released under which license?

Joomla is released under the Gnu General Public License 2 (GPL).

2. What are mambots? 

Mambots are small codes or mini-programs, which when given, either activate a program, script or conduct a function on a database. For example, there are mambots WYSIWYG editors. There are mambots for several other specific taks like this.

3. What are plug-ins?   

In the new version of Joomla 1.5, mambots are called plug-ins. In some 3rd party components, mambots and modules themselves have plug-ins. Hence, plug-ins can be given the same definition as a mambot, that they are small codes or mini-programs, which when given, activate a program or script or conduct a function on the database.

4. What are modules?  

Modules are small content items that extend the functionality in Joomla. They allow the user to place them anywhere that the template allows it, through the…

View original post 1,112 more words