30 + Wordpress Interview Questions and Answers: 2. What Year Was Wordpress Released?
30 + Wordpress Interview Questions and Answers: 2. What Year Was Wordpress Released?
1. What is WordPress?
2003
PHP 7 or greater
MySQL 5.6 or greater OR MariaDB 10.0 or greater
The mod_rewrite Apache module
HTTPS support(Recommended)
WordPress powers more than 28% of the web and this figure is not limited it rises every
day.Everything from simple websites, to blogs, to complex portals and enterprise
websites, and even applications, are built with WordPress.
It’s Simplicity
Easier publishing tools
Search Engine Optimized
User Management
Media Management
Easy Theme System
Easy Extendability with Plugins
Multilingual Support
Easy Installation and Upgrades
Multilingual Support
Built-in Comments System
Custom Content Types
WordPress Plugins are a piece of code that contains one or more functions written to
extend and add to the functionality of an existing WordPress website.
The core of WordPress is designed to be lean and lightweight, to maximize flexibility
and minimize code bloat. Plugins then offer custom functions and features so that each
user can tailor their site to their specific needs.
Akismet
Hello Dolly
The difference is in who’s hosting your site. With org, YOU host your website or blog.
This is where you find the open source software to download.
-com, THEY host for you.
Posts are timed and listed in chronological order with the latest posts at the top. Posts
are meant to be shared and commented on.
Pages are static are static content, so an about us, contact us page etc. They are
permanent and timeless entries.
9. What are the types of hooks in WP and what are their
functions?
There are two types hooks are available in WordPress, action hooks and filter hooks
They allow the user to, with short snippets of code, modify areas in a theme or plugin
without modifying the original file.
A Filter hook in WordPress allows you get and modify WordPress data before it is sent
to the database or the browser. Some examples of filters would include customizing
how excerpts are displayed or adding some custom code to the end of a blog post or
headings.
In WordPress, a “taxonomy” is a grouping mechanism for some posts (or links or custom
post types).There are four default taxonomies in WordPress they are
Category
Tag
Link Category
Post Formats
15. How many default tables are the WordPress, Can you list
them?
wp_options
wp_users
wp_links
wp_commentmeta
wp_term_relationships
wp_postmeta
wp_posts
wp_term_taxonomy
wp_usermeta
wp_terms
wp_comments
Use of multiple plugins can make website heavy to load and slow
Only utilizes PHP
Sometimes updates can lead to loss of data, so you always need a backup copy
Modifying images and tables are difficult.
When a theme is activated it’s what’s controlling your site, while an installed theme is
simply part of your theme library and available to activate.
19. Which ‘meta box’ is not hidden by default on Post and Page
screens?
Featured Image is the meta box that is not hidden by default on Post and Page
screens.
The WordPress Address is where to look for WordPress files, while the Site Address is
what will be used as the base for creating URLs for web pages.
In WordPress, Importers are plugins that provide functionality to import a bulk XML file
with any number of records. It enables to import Posts, Page, Custom Posts and Users
data in an XML file.
Custom fields are also known as post meta. Post meta is a feature in WordPress which
allows post authors to add additional information at the time writing a post. WordPress
stores this information as metadata in key-value pairs. Users can later display this
metadata by using template tags in their WordPress themes if required.
WordPress’s query function allows you to execute any SQL query on the WordPress
database. It is best used when there is a need for specific, custom, or otherwise complex
SQL queries. For more basic queries, such as selecting information from a table, see the
other wpdb functions above such as get_results, get_var, get_row or get_col.
Syntax
has_filter()
add_filter()
apply_filters()
apply_filters_ref_array()
current_filter()
remove_filter()
remove_all_filters()
doing_filter()
has_action()
add_action()
do_action()
do_action_ref_array()
did_action()
remove_action()
remove_all_actions()
doing_action()
28. What are the template tags in WordPress? List some of them.
In WordPress template tags are PHP functions that are used to display information
dynamically or customize blog template.Below are the list of some generally used
template tags in WordPress
get_header()
wp_register()
get_sidebar()
wp_title()
wp_enqueue_script()
get_the_author()
wp_list_authors()
category_description()
get_bookmarks()