SlideShare ist ein Scribd-Unternehmen logo
1 von 15
1

By TOPS Technologies
http://www.tops-int.com/php-training-course.html

TOPS Technologies:http://www.tops-int.com/phptraining-course.html

WORDPRESS INTERVIEW
QUESTION AND ANSWER
1. WHAT IS WORDPRESS.
•

TOPS Technologies:http://www.topsint.com/php-training-course.html

•

Wordpress is a CMS (Content Management
System) based on php and mysql. 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
2. WHAT IS CURRENT VERSION OF
WORDPRESS.
•

The wordpress 3.5.2 version released in
June 2013.

3
TOPS Technologies:http://www.tops-int.com/php-training-course.html
3. WHAT ARE THE FEATURES OF
WORDPRESS.
Simplicity, make wordpress very easy to use for everyone.

•

Free open source.

•

Easy to install.

•

There are lots of free as well as paid theme to use.

•

Extends with plugins, we can extends the functionality of wordpress
using thousands of free plugins or will create any plugin according to
your requirements.

•

Multilingual, wordpress is available on more than 70 languages.

•

Multisite, create a child website along with the parent site with the
same URL and admin panel.

•

Flexibility, with wordpress you will create any type of blog or website.

•

Comment, the built in comment system also make wordpress popular
as you can comment your views on website.

•

Full standards compliance, XML-RPC interface, easy importing,
cross-blog communication tools.

TOPS Technologies:http://www.topsint.com/php-training-course.html

•

4
4. 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.

5
TOPS Technologies:http://www.tops-int.com/php-training-course.html
Q 5HOW 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.

6
TOPS Technologies:http://www.tops-int.com/php-training-course.html
6. TELL SOME COMMONLY USED
FUNCTIONS IN WORDPRESS.
•

Wordpress have lot of inbuilt functions. some of commonly
used function in wordpress are:-

•

wp_nav_menu() :- Displays a navigation menu.

•

is_page() :- Condition for check if page is displayed. Its return
true or false only.

•

get_the_excerpt() :- Copy the excerpt of the post into a specified
variable.

•

in_category() :- Tests if the specified post is assigned to any of
the specified categories or not.

•

the_title():- Displays the title of the post.

•

the_content():- Displays the contents of the post.

7
TOPS Technologies:http://www.tops-int.com/php-training-course.html
7. 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:

•

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>"; } ?>

TOPS Technologies:http://www.topsint.com/php-training-course.html

•

8
WORDPRESS.
THE MAIN FILES USED IN WORDPRESS
ARE:•

index.php :- for index page.

•

single.php :- for single post page.

•

page.php :- display the static pages.

•

category.php :- Display the category page.

•

archive.php :- For archive page display.

•

tag.php :- For display the tags page.

•

author.php :- For display author page.

•

search.php :- For display the search result page.

•

404.php :- For display 404 error page.

•

taxonomy.php :- For display the taxonomy archive.

•

attachment.php :- For managing the single attachments page.

•

header.php :- For managing top part of page.

•

footer.php :- For manage bottom part of pages.
9

TOPS Technologies:http://www.tops-int.com/php-training-course.html
9. WHAT ARE THE TEMPLATE TAGS IN
WORDPRESS.
•

A template tag is code that instructs WordPress to “do” or “get”
something. Like in header.php we will use the tag bloginfo(‘name’) to
get information from user profile.

•

The the_title() template tag is used to display the post title.

•

wp_list_cats() are for display categories.

•

get_header() for getting header.

•

get_sidebar() for display the sidebar on page.

•

get_footer() for get the footer content on page.

10
TOPS Technologies:http://www.tops-int.com/php-training-course.html
10. WHAT ARE THE CUSTOM FIELDS IN
WORDPRESS.
•

•

•

•
•
•

We will add extra information to your post by using custom
fields. Custom Fields are a form of meta-data that allows you
to store arbitrary information with each WordPress post.
Meta-data is handled with key/value pairs. The key is the
name of the meta-data element. The value is the information
that will appear in the meta-data list on each individual post
that the information is associated with.
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); ?>

11
TOPS Technologies:http://www.tops-int.com/php-training-course.html
11. WHAT ARE META TAGS.
•

•

•

•
•
•

We will add extra information to your post by using custom
fields. Custom Fields are a form of meta-data that allows you
to store arbitrary information with each WordPress post.
Meta-data is handled with key/value pairs. The key is the
name of the meta-data element. The value is the information
that will appear in the meta-data list on each individual post
that the information is associated with.
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); ?>

12
TOPS Technologies:http://www.tops-int.com/php-training-course.html
12. 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.

13
TOPS Technologies:http://www.tops-int.com/php-training-course.html
CONTACT US FOR PHP TRAINING
•

•

•
•

College Students from Uttarakhand BCA, MCA, BE IT, BE
Tech, M Tech, BSC IT can also join.
CG Road
Address:
Dehradun
96/2 Haridwar Road,
(in front of LIC office),
Dharampur, Dehradun,
Uttarakhand.
97608 82882

14
TOPS Technologies:http://www.tops-int.com/php-training-course.html
TOPS Technologies:http://www.topsint.com/php-training-course.html

15

Weitere ähnliche Inhalte

Was ist angesagt?

Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015iScripts
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme developmentTammy Hart
 
Whats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in futureWhats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in futureTim Plummer
 
WordPress
WordPressWordPress
WordPressrisager
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme developmentNaeem Junejo
 
NewBCamp09: Turning your design into a WordPress Theme
NewBCamp09: Turning your design into a WordPress ThemeNewBCamp09: Turning your design into a WordPress Theme
NewBCamp09: Turning your design into a WordPress ThemeAdam Darowski
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)christopherfross
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Themecertainstrings
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structurekeithdevon
 
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...LinnAlexandra
 
Wordpress Tech Talk at Atlogys
Wordpress Tech Talk at AtlogysWordpress Tech Talk at Atlogys
Wordpress Tech Talk at AtlogysRitika Garga
 
Rapid application development for WordPress using AWF
Rapid application development for WordPress using AWFRapid application development for WordPress using AWF
Rapid application development for WordPress using AWFTim Plummer
 
Wordpress 101 - The Basics by Jack Davenport
Wordpress 101 - The Basics by Jack DavenportWordpress 101 - The Basics by Jack Davenport
Wordpress 101 - The Basics by Jack DavenportJäck Davenpørt
 
Cross CMS plugin development using AWF
Cross CMS plugin development using AWFCross CMS plugin development using AWF
Cross CMS plugin development using AWFTim Plummer
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 QuickstartAmyStephen
 

Was ist angesagt? (19)

Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme development
 
Whats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in futureWhats new in joomla 3.5 & whats coming in future
Whats new in joomla 3.5 & whats coming in future
 
WordPress
WordPressWordPress
WordPress
 
Wordpress theme development
Wordpress theme developmentWordpress theme development
Wordpress theme development
 
NewBCamp09: Turning your design into a WordPress Theme
NewBCamp09: Turning your design into a WordPress ThemeNewBCamp09: Turning your design into a WordPress Theme
NewBCamp09: Turning your design into a WordPress Theme
 
Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)Building the basics (WordPress Ottawa 2014)
Building the basics (WordPress Ottawa 2014)
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structure
 
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
 
Wordpress Tech Talk at Atlogys
Wordpress Tech Talk at AtlogysWordpress Tech Talk at Atlogys
Wordpress Tech Talk at Atlogys
 
Rapid application development for WordPress using AWF
Rapid application development for WordPress using AWFRapid application development for WordPress using AWF
Rapid application development for WordPress using AWF
 
Wordpress 101 - The Basics by Jack Davenport
Wordpress 101 - The Basics by Jack DavenportWordpress 101 - The Basics by Jack Davenport
Wordpress 101 - The Basics by Jack Davenport
 
Wordpress
WordpressWordpress
Wordpress
 
Theming 101
Theming 101Theming 101
Theming 101
 
Cross CMS plugin development using AWF
Cross CMS plugin development using AWFCross CMS plugin development using AWF
Cross CMS plugin development using AWF
 
Joomla 15 Quickstart
Joomla 15 QuickstartJoomla 15 Quickstart
Joomla 15 Quickstart
 
Rebrand WordPress Admin
Rebrand WordPress AdminRebrand WordPress Admin
Rebrand WordPress Admin
 
Dev Theming
Dev ThemingDev Theming
Dev Theming
 

Ähnlich wie Word press interview question and answer tops technologies

Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To DrupalLauren Roth
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopBrendan Sera-Shriar
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress themeDave Wallace
 
Wordpress Custom Child theme
Wordpress Custom Child themeWordpress Custom Child theme
Wordpress Custom Child themeYouSaf HasSan
 
advance theme development
advance theme developmentadvance theme development
advance theme development1amitgupta
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017Amanda Giles
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme EnlightenmentAmanda Giles
 
Introduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentIntroduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentBruce L Chamoff
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Stephanie Eckles
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
Learning Wordpress - the internal guide
Learning Wordpress - the internal guideLearning Wordpress - the internal guide
Learning Wordpress - the internal guidetom altman
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyLeslie Doherty
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme developmenthenri_makembe
 
Advanced Intro to Wordpress
Advanced Intro to WordpressAdvanced Intro to Wordpress
Advanced Intro to WordpressClique Studios
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Dutyreedmaniac
 

Ähnlich wie Word press interview question and answer tops technologies (20)

Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Introduction To Drupal
Introduction To DrupalIntroduction To Drupal
Introduction To Drupal
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
Wordpress Custom Child theme
Wordpress Custom Child themeWordpress Custom Child theme
Wordpress Custom Child theme
 
advance theme development
advance theme developmentadvance theme development
advance theme development
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
Introduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin DevelopmentIntroduction To Simple WordPress Plugin Development
Introduction To Simple WordPress Plugin Development
 
&lt;?php + WordPress
&lt;?php + WordPress&lt;?php + WordPress
&lt;?php + WordPress
 
Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014Content-Driven WordPress Development - WordCamp Omaha 2014
Content-Driven WordPress Development - WordCamp Omaha 2014
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Learning Wordpress - the internal guide
Learning Wordpress - the internal guideLearning Wordpress - the internal guide
Learning Wordpress - the internal guide
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
 
Advanced Intro to Wordpress
Advanced Intro to WordpressAdvanced Intro to Wordpress
Advanced Intro to Wordpress
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 

Mehr von TOPS Technologies

Learn java objects inheritance-overriding-polymorphism
Learn java objects  inheritance-overriding-polymorphismLearn java objects  inheritance-overriding-polymorphism
Learn java objects inheritance-overriding-polymorphismTOPS Technologies
 
Surat tops conducted one hour seminar on “corporate basic skills”
Surat tops conducted  one hour seminar on “corporate basic skills”Surat tops conducted  one hour seminar on “corporate basic skills”
Surat tops conducted one hour seminar on “corporate basic skills”TOPS Technologies
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceTOPS Technologies
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programmingTOPS Technologies
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applicationsTOPS Technologies
 
What is ui element in i phone developmetn
What is ui element in i phone developmetnWhat is ui element in i phone developmetn
What is ui element in i phone developmetnTOPS Technologies
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applicationsTOPS Technologies
 
Software testing live project training
Software testing live project trainingSoftware testing live project training
Software testing live project trainingTOPS Technologies
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project trainingTOPS Technologies
 
iPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesiPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesTOPS Technologies
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phoneTOPS Technologies
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesTOPS Technologies
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesTOPS Technologies
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVATOPS Technologies
 

Mehr von TOPS Technologies (20)

Learn java objects inheritance-overriding-polymorphism
Learn java objects  inheritance-overriding-polymorphismLearn java objects  inheritance-overriding-polymorphism
Learn java objects inheritance-overriding-polymorphism
 
Surat tops conducted one hour seminar on “corporate basic skills”
Surat tops conducted  one hour seminar on “corporate basic skills”Surat tops conducted  one hour seminar on “corporate basic skills”
Surat tops conducted one hour seminar on “corporate basic skills”
 
How to install android sdk
How to install android sdkHow to install android sdk
How to install android sdk
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Basics in software testing
Basics in software testingBasics in software testing
Basics in software testing
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programming
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
What is ui element in i phone developmetn
What is ui element in i phone developmetnWhat is ui element in i phone developmetn
What is ui element in i phone developmetn
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
Java live project training
Java live project trainingJava live project training
Java live project training
 
Software testing live project training
Software testing live project trainingSoftware testing live project training
Software testing live project training
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
 
Php live project training
Php live project trainingPhp live project training
Php live project training
 
iPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesiPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologies
 
Php training in ahmedabad
Php training in ahmedabadPhp training in ahmedabad
Php training in ahmedabad
 
Java training in ahmedabad
Java training in ahmedabadJava training in ahmedabad
Java training in ahmedabad
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training Guidelines
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training Guidelines
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
 

Kürzlich hochgeladen

DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 

Kürzlich hochgeladen (20)

DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 

Word press interview question and answer tops technologies

  • 1. 1 By TOPS Technologies http://www.tops-int.com/php-training-course.html TOPS Technologies:http://www.tops-int.com/phptraining-course.html WORDPRESS INTERVIEW QUESTION AND ANSWER
  • 2. 1. WHAT IS WORDPRESS. • TOPS Technologies:http://www.topsint.com/php-training-course.html • Wordpress is a CMS (Content Management System) based on php and mysql. 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
  • 3. 2. WHAT IS CURRENT VERSION OF WORDPRESS. • The wordpress 3.5.2 version released in June 2013. 3 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 4. 3. WHAT ARE THE FEATURES OF WORDPRESS. Simplicity, make wordpress very easy to use for everyone. • Free open source. • Easy to install. • There are lots of free as well as paid theme to use. • Extends with plugins, we can extends the functionality of wordpress using thousands of free plugins or will create any plugin according to your requirements. • Multilingual, wordpress is available on more than 70 languages. • Multisite, create a child website along with the parent site with the same URL and admin panel. • Flexibility, with wordpress you will create any type of blog or website. • Comment, the built in comment system also make wordpress popular as you can comment your views on website. • Full standards compliance, XML-RPC interface, easy importing, cross-blog communication tools. TOPS Technologies:http://www.topsint.com/php-training-course.html • 4
  • 5. 4. 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. 5 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 6. Q 5HOW 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. 6 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 7. 6. TELL SOME COMMONLY USED FUNCTIONS IN WORDPRESS. • Wordpress have lot of inbuilt functions. some of commonly used function in wordpress are:- • wp_nav_menu() :- Displays a navigation menu. • is_page() :- Condition for check if page is displayed. Its return true or false only. • get_the_excerpt() :- Copy the excerpt of the post into a specified variable. • in_category() :- Tests if the specified post is assigned to any of the specified categories or not. • the_title():- Displays the title of the post. • the_content():- Displays the contents of the post. 7 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 8. 7. 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: • 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>"; } ?> TOPS Technologies:http://www.topsint.com/php-training-course.html • 8
  • 9. WORDPRESS. THE MAIN FILES USED IN WORDPRESS ARE:• index.php :- for index page. • single.php :- for single post page. • page.php :- display the static pages. • category.php :- Display the category page. • archive.php :- For archive page display. • tag.php :- For display the tags page. • author.php :- For display author page. • search.php :- For display the search result page. • 404.php :- For display 404 error page. • taxonomy.php :- For display the taxonomy archive. • attachment.php :- For managing the single attachments page. • header.php :- For managing top part of page. • footer.php :- For manage bottom part of pages. 9 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 10. 9. WHAT ARE THE TEMPLATE TAGS IN WORDPRESS. • A template tag is code that instructs WordPress to “do” or “get” something. Like in header.php we will use the tag bloginfo(‘name’) to get information from user profile. • The the_title() template tag is used to display the post title. • wp_list_cats() are for display categories. • get_header() for getting header. • get_sidebar() for display the sidebar on page. • get_footer() for get the footer content on page. 10 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 11. 10. WHAT ARE THE CUSTOM FIELDS IN WORDPRESS. • • • • • • We will add extra information to your post by using custom fields. Custom Fields are a form of meta-data that allows you to store arbitrary information with each WordPress post. Meta-data is handled with key/value pairs. The key is the name of the meta-data element. The value is the information that will appear in the meta-data list on each individual post that the information is associated with. 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); ?> 11 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 12. 11. WHAT ARE META TAGS. • • • • • • We will add extra information to your post by using custom fields. Custom Fields are a form of meta-data that allows you to store arbitrary information with each WordPress post. Meta-data is handled with key/value pairs. The key is the name of the meta-data element. The value is the information that will appear in the meta-data list on each individual post that the information is associated with. 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); ?> 12 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 13. 12. 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. 13 TOPS Technologies:http://www.tops-int.com/php-training-course.html
  • 14. CONTACT US FOR PHP TRAINING • • • • College Students from Uttarakhand BCA, MCA, BE IT, BE Tech, M Tech, BSC IT can also join. CG Road Address: Dehradun 96/2 Haridwar Road, (in front of LIC office), Dharampur, Dehradun, Uttarakhand. 97608 82882 14 TOPS Technologies:http://www.tops-int.com/php-training-course.html