Wordpress is opensource content management system where you can add/update/delete contents from admin section. Content may be text, images or videos etc.
Because it is opensource, so you can update the code at free of cost. Wordpress built on PHP/MySQL/javascript (which is also an Open Source) and licensed under GPL. You can create different types of websites whether it is personal / commercial website. Today most of developer prefer wordpress as its easy to install and millions of plugins, themes are available over internet at free of cost & you can do customization.
1. What is Wordpress?
Wordpress is Content Management System which have robust admin section. From Admin section you can manage the website text/html, image & videos etc. You can easily manage pages & posts. You can set meta title, meta description & meta keywords for each post. It gives you full control over post & pages . Its free and open source blogging tool. Its now most popular blogging tool on internet network.
Wordpress is Content Management System which have robust admin section. From Admin section you can manage the website text/html, image & videos etc. You can easily manage pages & posts. You can set meta title, meta description & meta keywords for each post. It gives you full control over post & pages . Its free and open source blogging tool. Its now most popular blogging tool on internet network.
The main reason for its popularity is the administrator panel is very user friendly, easy to use and manageable for the layman user.
2. Is Wordpress opensource?Wordpress is opensource and you can do customization as per your requirement. Wordpress is built in PHP/MySql/javascript/jQuery which is also an opensource.
3. How safe is website on WordPress?
The word press is safe to operate but still it is suggested to keep updating with the latest version of WordPress to avoid hacking.
4. 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.
5. 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.
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.
6. 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.
7. How many tables are there in WordPress by default?
There are about 11 tables in WordPress by default. Note: With succeeding releases of WordPress this number will change. You need to check phpMyAdmin to determine the number of tables in a vanilla version of latest WordPress installation.
8. Will using WordPress help my site show up on Google?
Yes. That is one of the major selling points of using WordPress is that it includes excellent built in search engine optimization (SEO). With a normal site you would need to include all of the SEO yourself (or hire someone). While it is still recommended that you hire someone for a full SEO campaign if needed, the built in SEO capabilities of WordPress more than enough to get you started.
We will also install additional plugins to help with your SEO when you first launch the site. These are popular plugins that are known to help your rank on search engines such as Google and Bing.
We will also install additional plugins to help with your SEO when you first launch the site. These are popular plugins that are known to help your rank on search engines such as Google and Bing.
9. 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.
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.
10. What is the default prefix of wordpress tables.
By default prefix of wordpress is wp_ . But for security reasons it is highly recommend to use different prefix.
11. How many tables a default WordPress will have?
Following are main table in wordpress:
Following are main table in wordpress:
- wp_commentmeta
- wp_comments
- wp_links
- wp_options
- wp_postmeta
- wp_posts
- wp_terms
- wp_term_relationships
- wp_term_taxonomy
- wp_usermeta
- wp_users
12. How can you backup or import your WordPress content from admin panel.
For import content from wordpress admin panel goes to:-
WordPress admin -> Tools -> Import
This will create a xml file for your posts, comments, category etc.
13. What kind of website can I build with WordPress?
WordPress was originally developed as a blogging in 2003 but now it has been changed a lot. you can create personal website as well as commercial website.
WordPress was originally developed as a blogging in 2003 but now it has been changed a lot. you can create personal website as well as commercial website.
14.Following types of websites can be built in wordpress:
- Informative Website
- Personal Website
- Photo Gallery
- Business Website
- E-Commerce website
- Blogging
Today, million of free/paid wordpress themes, wordpress plugin are available which help you to create as per your requirement.
15. From where you can download plugins?
https://wordpress.org/plugins/
16. From where you can download themes?
https://wordpress.org/themes/
15. From where you can download plugins?
https://wordpress.org/plugins/
16. From where you can download themes?
https://wordpress.org/themes/
17. What are hooks in wordpress?
Wordpress hooks allows user to create or modify wordpress theme / plugin with shortcode without changing the original files. There are two types of hooks:
Wordpress hooks allows user to create or modify wordpress theme / plugin with shortcode without changing the original files. There are two types of hooks:
- Action Hooks
- Filter Hooks
Action Hooks :- Action hooks are points in wordpress core where its possible for outside resources to insert additional code.
For example- wp_head() , the_post(), get_sidebar() is an action hook which is used by most of themes. To hook an action, create an hook in your function file and hook it using add_action() function.
<?php
add_action( 'wp_head', 'head_func' );
function head_func () {
echo "<div>This is test</div>";
}
?>
Filter Hooks :- Filter hooks are used to handle output like using it you will add an text or content at end of content of your post. You will add an filter using add_filter() function. There are various filter used in wordpress as the_title(), wp_title(), get_the_excerpt(), get_to_ping(), attachment_icon().
For example:- Using these filter we will add content add end of posts.
<?php add_filter( 'the_content', 'webs_expert' );
function head_func( $content ) {
if ( is_single() ) {
$content .= '<div>This is test</div>' . " ";
}
return $content;
}
?>
18. What types of hooks in wordpress is used?
1)Following are Actions hooks:
1
2
3
4
5
6
7
| has_action() add_action() do_action() do_action_ref_array() did_action() remove_action() remove_all_actions() |
2)Following are Filters hooks .
1
2
3
4
5
6
7
| has_filter() add_filter() apply_filters() apply_filters_ref_array() current_filter() remove_filter() remove_all_filters() |
19. What are the template tags in WordPress?
Template tags is a code that instructs WordPress to "do" or "get" something.
20.What are meta tags in wordpress?
Meta-tags are keywords and description used to display website.
21.What is WordPress loop?
The Loop is PHP code used by WordPress to display posts.
22. What is the use of loop in Worpdress Where we used it?
Ans. The Loop are php code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page.check below sample code.
Ans. The Loop are php code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page.check below sample code.
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
//
// Post Content here
//
} // end while
} // end if
?>
23. Basic functions then we generally used in WordPress? Why?
If developer have good knowledge then he/she must know this function name at-least 3-5
If developer have good knowledge then he/she must know this function name at-least 3-5
1. is_page() :- Condition for check if page is displayed. Its return true or false.
2. wp_nav_menu() :- Enabling WordPress 3.0′s Navigation Menu Feature
3. wp_list_pages() :- Listing All Pages
4. get_excerpt() :- Displays the excerpt of the current post with read more link for display full post.
5. is_category() :- Condition for check if category is displayed. Its return true or false.
6. the_title():- Displays the title of the current post
7. the_content():- Displays the contents of the current post.
8. bloginfo(‘url’) :- Getting the Site’s URL
9. bloginfo(‘template_url’) :- Getting the URL to the Current Theme
10.the_time():- Display the time the post was published (uses PHP date formatting as a parameter).
2. wp_nav_menu() :- Enabling WordPress 3.0′s Navigation Menu Feature
3. wp_list_pages() :- Listing All Pages
4. get_excerpt() :- Displays the excerpt of the current post with read more link for display full post.
5. is_category() :- Condition for check if category is displayed. Its return true or false.
6. the_title():- Displays the title of the current post
7. the_content():- Displays the contents of the current post.
8. bloginfo(‘url’) :- Getting the Site’s URL
9. bloginfo(‘template_url’) :- Getting the URL to the Current Theme
10.the_time():- Display the time the post was published (uses PHP date formatting as a parameter).
24. How to secure your wordpress website?
- Install security plug-ins like WP security
- Change password of super admin OR other admin
- Add security level checks at server level like folder/file permission.
25. How to hide the top admin bar at the frontend in WordPress?
Add following code functions.php
add_filter( 'show_admin_bar' , '__return_false' ); |
26. How to display custom field in wordpress?
echo get_post_meta( $post -> ID , 'keyName' , true ); |
27. How to run database Query in WordPress?
The $wpdb->query function allows you to execute any SQL query on the WordPress database. It is best to use a more specific function. Check sample code below for SELECT query.
The $wpdb->query function allows you to execute any SQL query on the WordPress database. It is best to use a more specific function. Check sample code below for SELECT query.
<?php $wpdb->query('query'); ?>
// Examples
$wpdb->query( "
UPDATE $wpdb->posts
SET post_parent = 7
WHERE ID = 15
AND post_status = 'static' "
);
28. how to write the short code in WordPress php file?
Using do_shortcode() function inside of php echo tag. A very simple solution is to use the do_shortcode() function inside a PHP echo tag.
Short code is used in WordPress post or page and text box widget and php file.
29. What is the Basic Difference Between Posts vs. Pages.
Posts are timely vs. Pages are timeless.
Posts are social vs. Pages are NOT.
Posts can be categorized vs. Pages are hierarchical.
Posts are included in RSS feed vs. Pages are not.
Pages have custom template feature vs. Posts do not.
Posts are timely vs. Pages are timeless.
Posts are social vs. Pages are NOT.
Posts can be categorized vs. Pages are hierarchical.
Posts are included in RSS feed vs. Pages are not.
Pages have custom template feature vs. Posts do not.
30. How to modify the parent theme behavior within the child theme?
The child theme could optionally override other template files likeauthor.php, category.php, functions.php, style.css etc. The WordPress framework first looks for a template file in the child theme directory and then will pick it up from the parent directory if not found.
For more details: http://code.tutsplus.com/articles/how-to-modify-the-parent-theme-behavior-within-the-child-theme–wp-31006
31 How to Create Custom Post Type?
Custom post types are new post types you can create. A custom post type can be added to WordPress via the register_post_type() function. This function allows you to define a new post type by its labels, supported features, availability and other specifics.
Here’s a basic example of adding a custom post type:
32. List most commonly functions used in wordpress?
- wp_nav_menu() :- Displays a navigation menu.
- is_page() :- to check if this is page OR NOT, will return boolean value.
- get_the_excerpt() :- Copy the excerpt of the post into a specified variable.
- in_category() :- Check if the specified post is assigned to any of the specified categories OR not.
- the_title():- Displays the title of the post in website.
- the_content():- Displays the contents of the post in website.
32. How to retrieve an image attachment’s alt text?
The wp_get_attachment_image() function which will return an HTML string containing these attributes:
- ‘src‘
- ‘class‘
- ‘alt‘
- ‘title‘.
33. 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.
34. What are the steps you can take if your WordPress file is hacked?
- Install security plug-ins like WP security
- Re-install the latest version of WordPress
- Change password and user-ids for all your users
- Check your themes and plug-ins are up to date
35. 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.
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.
36. Why widget does not show up in the sidebar?
While using widget you have to ensure whether your theme supports the widget and if it does then it must show the sidebar. If in any case if it happens that you don’t see the sidebar then it might be missing the “function.php” file or file similar to that. This can also happen if you have forgot to save the changes in the widget or refreshing the older display of the page.
37. Is there any other CMS better WordPress?
WordPress is no doubt a good CMS, but Drupal and Joomla are among the best CMS you can work with.
38. Which is the best multi-lingual plugin for wordpress?
Keeping all the limitations in mind, WPML would be the best multi-lingual plugin for wordpress .
39. Can you update your own content on the site?
It depends on the type of the site or project, but yes one can update their own content on the site.
40. In what case we cannot recommend WordPress to our client?
We cannot recommend WordPress on following situation:
- If client is working on non-CMS base project
- If site wants complex or innovative e-commerce
- In case of enterprise intranet solution
- Sites requiring custom scripting solutions.
hi Thanks for sharing this valuable Information about Interview Question and Answer this is very Helpful for Freshers and Experienced Candidate.
ReplyDeleteWordPress Interview Questions and Answers
This comment has been removed by the author.
ReplyDeleteGreat contents for wordpress lovers.Keep the good work doing
ReplyDeletehow-to-create-a-custom-page-template-in-wordpress
You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. wordpress virus remova
ReplyDeleteThanks for shearing WordPress interview. if you are looking for Wordpress Developer Interview Questions for Freshers or Experienced that can help you crack your interview.
ReplyDeletewordpress interview questions
Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!! customwritings
ReplyDeleteI just want to let you know that I just check out your site and I find it very interesting and informative.. schlüsseldienst
ReplyDelete