SlideShare a Scribd company logo
1 of 20
Wordpress
By Samir Lakhani
Contents - 1
● Introduction Of WordPress
● Installation Of Wordpress
● Structure Of Wordpress
● Wordpress Database
Structure
● Themes
● Popular Themes
● Plugins
● Popular Plugins
● Posts and pages
● Category And Tags
● Wordpress Query
● Wordpress Hooks
● Widgets
● Wordpress Shortcodes
● Wordpress Security Steps
● Wordpress Speed
(Performance) Optimization
1. Introduction Of WordPress
● Wordpress Is Open Source, Most Popular CMS (Content Management
System).
● Wordpress Developed By Matt Mullenweg And Mike Little on 27th May, 2003
● On Web 34% Over Websites Are Made With Wordpress.
● Wordpress allows the users to build dynamic websites and blog.
● Wordpress helps in editing, publishing and modifying the content of the
website.
● Features Of Wordpress:
❖ MultiLingual
❖ SEO
❖ User Management
❖ Media Management
2. Installation Of Wordpress
1. Download the Wordpress Installation Package.
2. Create A MYSQL Database For Wordpress To Use.
3. Go Through Installation Process.
4. Select Language, Lets Go, Add Database Host Details Submit,
Run Installation.
5. Add Site Title, Admin Username, Password, Email Details Then
Install Wordpress
6. Login
3. Structure Of Wordpress
● [dir] wp-admin
● [dir] wp-includes
● Index.php license.txt
● readme.html
● wp-activate.php
● wp-blog-header.php
● Wp-comments-post.php
● Wp-config-sample.php
● wp-cron.php
● wp-links-opml.php
● wp-load.php
● wp-login.php
● wp-mail.php
● wp-settings.php
● wp-signup.php
● wp-trackback.php
● xmlrpc.php
4. Wordpress Database Structure
● wp_options
● wp_users
● wp_links
● wp_commentmeta
● wp_term_relationships
● wp_postmeta
● wp_posts
● wp_term_taxonomy
● wp_usermeta
● wp_terms
● wp_comments
● wp_termmeta
5. Wordpress Theme
● Theme Allows You To Define The Appearance And Display of a
wordpress Site..
● Theme Creation Steps:
1. Create Directory Of Theme
2. Create style.css, and index.php, header.php, footer.php,
functions.php
3. Style.css Content
/*
Theme Name: Custom Theme
Author: Author Name
Author Uri: URL
*/
6. Wordpress Popular Themes
1. DIVI
2. ULTRA
3. AVADA
4. HESTIA
5. ASTRA
6. Beaver Builder
7. StudioPress
8. OceanWP
7. Plugins
Plugin Is chunk of code and
collection of core and wordpress
functions which extend the
functionality of wordpress.
Default Plugins:
1. Akismet
2. Hello Dolly
Plugin Creation Steps:
Create directory, class file ,
index.php
/* Plugin Name: Plugin Name
Plugin URi: URI Name
Description: Description */
8. Wordpress Popular Plugins
1. Woocommerce: For Ecommerce WebSite
2. Contact Form 7
3. Seo: Yoast Seo, Jetpack, Google XML Site Map
4. Security: Wordfence, Wp Security
5. Taxonomy - Post Type : CPTUI, ACF(Advance Custom Fields)
6. Speed: Smush It (Image), Wp Super Cache.
7. Multi Language: WPML(pro), Polylang (free).
8. Page Builder: Wp- Bakery, Visual Composer
9. Login And Registration: Ultimate Member
10.Slider: Meta Slider, Revolution Slider
9. Posts and Pages
Posts and pages are the basic content holders for a WordPress site.
Pages:
● Pages Are individual static stand
alone content blocks.
● Pages are not associated with
date and time.
● Do not use tags or categories and
ress feeds.
● Page has not public_author
Posts:
● Individual pieces of a
collection of content.
● Each content piece is
associated with a date and
time
● Posts have categories and
tags and rss feeds.
● Post has public_author
10. Category And Tags
● Taxonomy:
Grouping mechanism for post.
● Category:
Category is hierarchical, so you can have sub categories
Tags:
Tags are not hierarchical
11. Wordpress Query
Wp_query:
Wp_query used request data of posts
$args=array( ‘post_type’=>’post’,’tag_id’=>12,’cat’=>4,’author_in’=>array(1,2));
Query: $wpdb->query(“sql query”);
Insert: $wpdb->insert(‘post_type’,$array); $array(‘key’=>’value’);
update:$wpdb->update(‘post_type’$array_change_value,$array_where_clause);
result: $wpdb->get_results($sql_query,’[type]’);
row: $wpdb->get_row($sql_query);
12. Wordpress Hooks
Action Hooks:
has_action, do_action, add_action,
remove_action
add_action( $hook, function_to_add,
$priority, $accepted_args );
has_action/remove_action( $hook);
do_action($hook[,’$args’],’[‘’$priority]’
);
Filter Hooks:
has_filter, add_filter, apply_filter
add_filter( $hook, $function_to_add,
$priority, $accepted_args );
has_filter($hooks);
apply_filter($hooks,$args,$priority)
13. Widgets
● Is block of code specific task,
sidebar, design for customizing
design and content of theme. You
can drag and drop header, footer,
sidebar, below content and basically
any other area in your theme.
● Wordpress by default comes with
several widgets including categories,
tag cloud, navigation menu, calendar,
search, recent posts etc.
● Example:
class wpdb_widget extends
WP_Widget{ }
Function wp_load_widget(){
register_widget(‘wpdb_widget
’);
}
add_action(‘widget_init’,’wpb_
load_widget’);
14. Shortcodes
● Special Tag That Put Shortcode
for use in post and pages.
● You Can Also Pass Arguments In
Shortcodes.
add_shortcode(‘shortcode_name
’,’function’)
do_shortcode( string $content, bool
$ignore_html = false );
Example:
Function shorcode_func(){
}
add_shortcode(‘shorcode_tag’,’sh
orcode_func’,[ $args]); or
[‘shorcode_tag’, [$args]];
15. Security Steps For Wordpress Site
Before Hack:
1. Keep wordpress version, theme,
plugins updated.
2. Set .htaccess security rules, file
permissions
3. Set strong password, prefix of
database prefix
4. Use Plugins like: wp-security,
wordefinece, wp- hide login etc.
5. Take backup of files and
database regularly.
After Hack:
1. Check server log and recently modified file
2. Search files with base64, eval,exec
preg_replace, move_uploaded_file replace
with file
3. Manually replace new wordpress wp-
admin, wp-includes, update plugins and
themes
4. Reset password, Prefix Of Database, Ftp
Credentials , Generate New Secret Key
Generator
16. Speed (Performance) Optimization
● GTMetrix And Google Page Speed For Steps
● Optimize Css, Javascript And Minifying Css And Javascript.
● Use Cache Plugins Like Wp Super Cache, Wp Total Cache
● Use Image Optimization Plugin Like Smush It, Imagify.
● Modify .htaccess add leverage browser caching, gzip etc.
● Optimize Query, Code
● Use Async, Defer Keyword As Per Requirement in js.
Thank You
Thank You For Study This Article,
Samir Lakhani
Email: samirlakhanitemp@gmail.com

More Related Content

What's hot

WordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesWordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesEquinet Academy
 
Introduction to Wordpress
Introduction to WordpressIntroduction to Wordpress
Introduction to WordpressSandy Ratliff
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPressLumosTech
 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training PresentationMayeCreate Design
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu
 
SynapseIndia wordpress installation training module
SynapseIndia wordpress installation training moduleSynapseIndia wordpress installation training module
SynapseIndia wordpress installation training moduleSynapseIndia
 
All Roads Lead to WordPress
All Roads Lead to WordPress All Roads Lead to WordPress
All Roads Lead to WordPress CMS2CMS
 
Wordpress Intro
Wordpress IntroWordpress Intro
Wordpress IntroRicha Goel
 
WordPress for Beginners
WordPress for BeginnersWordPress for Beginners
WordPress for BeginnersMichelle Ames
 
Install WordPress Blogging Software with EasyPHP
Install WordPress Blogging Software with EasyPHPInstall WordPress Blogging Software with EasyPHP
Install WordPress Blogging Software with EasyPHPRupesh Kumar
 
Wordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialWordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialChristos Zigkolis
 
How to WordPress: the basics, part 1
How to WordPress:  the basics, part 1How to WordPress:  the basics, part 1
How to WordPress: the basics, part 1R-Cubed Design Forge
 
Introduction To Wordpress
Introduction  To Wordpress Introduction  To Wordpress
Introduction To Wordpress librarianrafia
 
Create website using open source CMS WordPress by swapnil chafale
Create website using open source CMS WordPress by swapnil chafaleCreate website using open source CMS WordPress by swapnil chafale
Create website using open source CMS WordPress by swapnil chafaleNextServices
 

What's hot (20)

WordPress Website Creation Training Course Slides
WordPress Website Creation Training Course SlidesWordPress Website Creation Training Course Slides
WordPress Website Creation Training Course Slides
 
Introduction to Wordpress
Introduction to WordpressIntroduction to Wordpress
Introduction to Wordpress
 
Introduction to WordPress
Introduction to WordPressIntroduction to WordPress
Introduction to WordPress
 
WordPress Webinar Training Presentation
WordPress Webinar Training PresentationWordPress Webinar Training Presentation
WordPress Webinar Training Presentation
 
Wordpress ppt
Wordpress pptWordpress ppt
Wordpress ppt
 
Alice Phieu - WordPress For Beginners
Alice Phieu - WordPress For BeginnersAlice Phieu - WordPress For Beginners
Alice Phieu - WordPress For Beginners
 
SynapseIndia wordpress installation training module
SynapseIndia wordpress installation training moduleSynapseIndia wordpress installation training module
SynapseIndia wordpress installation training module
 
All Roads Lead to WordPress
All Roads Lead to WordPress All Roads Lead to WordPress
All Roads Lead to WordPress
 
Wordpress Intro
Wordpress IntroWordpress Intro
Wordpress Intro
 
WordPress for Beginners
WordPress for BeginnersWordPress for Beginners
WordPress for Beginners
 
Install WordPress Blogging Software with EasyPHP
Install WordPress Blogging Software with EasyPHPInstall WordPress Blogging Software with EasyPHP
Install WordPress Blogging Software with EasyPHP
 
Wordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short TutorialWordpress Plugin Development Short Tutorial
Wordpress Plugin Development Short Tutorial
 
How to WordPress: the basics, part 1
How to WordPress:  the basics, part 1How to WordPress:  the basics, part 1
How to WordPress: the basics, part 1
 
Jomc463 beginner wordpress(zeoli)
Jomc463 beginner wordpress(zeoli)Jomc463 beginner wordpress(zeoli)
Jomc463 beginner wordpress(zeoli)
 
Wordpress for Beginners: 10 Must Knows
Wordpress for Beginners: 10 Must KnowsWordpress for Beginners: 10 Must Knows
Wordpress for Beginners: 10 Must Knows
 
Introduction To Wordpress
Introduction  To Wordpress Introduction  To Wordpress
Introduction To Wordpress
 
Installation 02 (wp)
Installation 02 (wp)Installation 02 (wp)
Installation 02 (wp)
 
Wordpress customer support
Wordpress customer support Wordpress customer support
Wordpress customer support
 
Create website using open source CMS WordPress by swapnil chafale
Create website using open source CMS WordPress by swapnil chafaleCreate website using open source CMS WordPress by swapnil chafale
Create website using open source CMS WordPress by swapnil chafale
 
Word Press
Word PressWord Press
Word Press
 

Similar to Wordpress

Plugin development demystified 2017
Plugin development demystified 2017Plugin development demystified 2017
Plugin development demystified 2017ylefebvre
 
WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Trivandrum
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond bloggingJulien Minguely
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With LoveUp2 Technology
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress developmentSteve Mortiboy
 
Beginner's guide to drupal
Beginner's guide to drupalBeginner's guide to drupal
Beginner's guide to drupalmayank.grd
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentEvan Mullins
 
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!Frédéric Harper
 
<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into WordpressMatt Harris
 
Dojo javascript toolkit
Dojo javascript toolkit Dojo javascript toolkit
Dojo javascript toolkit Predhin Sapru
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...Simplilearn
 
Advanced WordPress Optimization - iGaming Supershow 2012
Advanced WordPress Optimization - iGaming Supershow 2012Advanced WordPress Optimization - iGaming Supershow 2012
Advanced WordPress Optimization - iGaming Supershow 2012Bastian Grimm
 
Kick start your career with WordPress
Kick start your career with WordPressKick start your career with WordPress
Kick start your career with WordPressJignasa Naik
 
JavaScript Modules Done Right
JavaScript Modules Done RightJavaScript Modules Done Right
JavaScript Modules Done RightMariusz Nowak
 
WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1Yoav Farhi
 
WebMatrix 100-level presentation
WebMatrix 100-level presentationWebMatrix 100-level presentation
WebMatrix 100-level presentationAlice Pang
 
Kick start your career with wordpress
Kick start your career with wordpressKick start your career with wordpress
Kick start your career with wordpressOpenDev
 
How to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy StepsHow to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy StepsSingsys Pte Ltd
 
WordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteWordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteBrendan Sera-Shriar
 

Similar to Wordpress (20)

Plugin development demystified 2017
Plugin development demystified 2017Plugin development demystified 2017
Plugin development demystified 2017
 
WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond blogging
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Getting started with WordPress development
Getting started with WordPress developmentGetting started with WordPress development
Getting started with WordPress development
 
Beginner's guide to drupal
Beginner's guide to drupalBeginner's guide to drupal
Beginner's guide to drupal
 
Wordpress as a framework
Wordpress as a frameworkWordpress as a framework
Wordpress as a framework
 
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to DevelopmentWordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
WordCamp Greenville 2018 - Beware the Dark Side, or an Intro to Development
 
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!
DevTeach Ottawa - Webmatrix, see what the matrix can do for you!!
 
<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress<Head> Presentation: Plugging Into Wordpress
<Head> Presentation: Plugging Into Wordpress
 
Dojo javascript toolkit
Dojo javascript toolkit Dojo javascript toolkit
Dojo javascript toolkit
 
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
WordPress Tutorial for Beginners 2023 | What Is WordPress and How Does It Wor...
 
Advanced WordPress Optimization - iGaming Supershow 2012
Advanced WordPress Optimization - iGaming Supershow 2012Advanced WordPress Optimization - iGaming Supershow 2012
Advanced WordPress Optimization - iGaming Supershow 2012
 
Kick start your career with WordPress
Kick start your career with WordPressKick start your career with WordPress
Kick start your career with WordPress
 
JavaScript Modules Done Right
JavaScript Modules Done RightJavaScript Modules Done Right
JavaScript Modules Done Right
 
WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1
 
WebMatrix 100-level presentation
WebMatrix 100-level presentationWebMatrix 100-level presentation
WebMatrix 100-level presentation
 
Kick start your career with wordpress
Kick start your career with wordpressKick start your career with wordpress
Kick start your career with wordpress
 
How to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy StepsHow to Create WordPress Website in Easy Steps
How to Create WordPress Website in Easy Steps
 
WordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media InstituteWordPress 2.5 Overview - Rich Media Institute
WordPress 2.5 Overview - Rich Media Institute
 

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Wordpress

  • 2. Contents - 1 ● Introduction Of WordPress ● Installation Of Wordpress ● Structure Of Wordpress ● Wordpress Database Structure ● Themes ● Popular Themes ● Plugins ● Popular Plugins ● Posts and pages ● Category And Tags ● Wordpress Query ● Wordpress Hooks ● Widgets ● Wordpress Shortcodes ● Wordpress Security Steps ● Wordpress Speed (Performance) Optimization
  • 3. 1. Introduction Of WordPress ● Wordpress Is Open Source, Most Popular CMS (Content Management System). ● Wordpress Developed By Matt Mullenweg And Mike Little on 27th May, 2003 ● On Web 34% Over Websites Are Made With Wordpress. ● Wordpress allows the users to build dynamic websites and blog. ● Wordpress helps in editing, publishing and modifying the content of the website. ● Features Of Wordpress: ❖ MultiLingual ❖ SEO ❖ User Management ❖ Media Management
  • 4. 2. Installation Of Wordpress 1. Download the Wordpress Installation Package. 2. Create A MYSQL Database For Wordpress To Use. 3. Go Through Installation Process. 4. Select Language, Lets Go, Add Database Host Details Submit, Run Installation. 5. Add Site Title, Admin Username, Password, Email Details Then Install Wordpress 6. Login
  • 5. 3. Structure Of Wordpress ● [dir] wp-admin ● [dir] wp-includes ● Index.php license.txt ● readme.html ● wp-activate.php ● wp-blog-header.php ● Wp-comments-post.php ● Wp-config-sample.php ● wp-cron.php ● wp-links-opml.php ● wp-load.php ● wp-login.php ● wp-mail.php ● wp-settings.php ● wp-signup.php ● wp-trackback.php ● xmlrpc.php
  • 6. 4. Wordpress Database Structure ● wp_options ● wp_users ● wp_links ● wp_commentmeta ● wp_term_relationships ● wp_postmeta ● wp_posts ● wp_term_taxonomy ● wp_usermeta ● wp_terms ● wp_comments ● wp_termmeta
  • 7. 5. Wordpress Theme ● Theme Allows You To Define The Appearance And Display of a wordpress Site..
  • 8. ● Theme Creation Steps: 1. Create Directory Of Theme 2. Create style.css, and index.php, header.php, footer.php, functions.php 3. Style.css Content /* Theme Name: Custom Theme Author: Author Name Author Uri: URL */
  • 9. 6. Wordpress Popular Themes 1. DIVI 2. ULTRA 3. AVADA 4. HESTIA 5. ASTRA 6. Beaver Builder 7. StudioPress 8. OceanWP
  • 10. 7. Plugins Plugin Is chunk of code and collection of core and wordpress functions which extend the functionality of wordpress. Default Plugins: 1. Akismet 2. Hello Dolly Plugin Creation Steps: Create directory, class file , index.php /* Plugin Name: Plugin Name Plugin URi: URI Name Description: Description */
  • 11. 8. Wordpress Popular Plugins 1. Woocommerce: For Ecommerce WebSite 2. Contact Form 7 3. Seo: Yoast Seo, Jetpack, Google XML Site Map 4. Security: Wordfence, Wp Security 5. Taxonomy - Post Type : CPTUI, ACF(Advance Custom Fields) 6. Speed: Smush It (Image), Wp Super Cache. 7. Multi Language: WPML(pro), Polylang (free). 8. Page Builder: Wp- Bakery, Visual Composer 9. Login And Registration: Ultimate Member 10.Slider: Meta Slider, Revolution Slider
  • 12. 9. Posts and Pages Posts and pages are the basic content holders for a WordPress site. Pages: ● Pages Are individual static stand alone content blocks. ● Pages are not associated with date and time. ● Do not use tags or categories and ress feeds. ● Page has not public_author Posts: ● Individual pieces of a collection of content. ● Each content piece is associated with a date and time ● Posts have categories and tags and rss feeds. ● Post has public_author
  • 13. 10. Category And Tags ● Taxonomy: Grouping mechanism for post. ● Category: Category is hierarchical, so you can have sub categories Tags: Tags are not hierarchical
  • 14. 11. Wordpress Query Wp_query: Wp_query used request data of posts $args=array( ‘post_type’=>’post’,’tag_id’=>12,’cat’=>4,’author_in’=>array(1,2)); Query: $wpdb->query(“sql query”); Insert: $wpdb->insert(‘post_type’,$array); $array(‘key’=>’value’); update:$wpdb->update(‘post_type’$array_change_value,$array_where_clause); result: $wpdb->get_results($sql_query,’[type]’); row: $wpdb->get_row($sql_query);
  • 15. 12. Wordpress Hooks Action Hooks: has_action, do_action, add_action, remove_action add_action( $hook, function_to_add, $priority, $accepted_args ); has_action/remove_action( $hook); do_action($hook[,’$args’],’[‘’$priority]’ ); Filter Hooks: has_filter, add_filter, apply_filter add_filter( $hook, $function_to_add, $priority, $accepted_args ); has_filter($hooks); apply_filter($hooks,$args,$priority)
  • 16. 13. Widgets ● Is block of code specific task, sidebar, design for customizing design and content of theme. You can drag and drop header, footer, sidebar, below content and basically any other area in your theme. ● Wordpress by default comes with several widgets including categories, tag cloud, navigation menu, calendar, search, recent posts etc. ● Example: class wpdb_widget extends WP_Widget{ } Function wp_load_widget(){ register_widget(‘wpdb_widget ’); } add_action(‘widget_init’,’wpb_ load_widget’);
  • 17. 14. Shortcodes ● Special Tag That Put Shortcode for use in post and pages. ● You Can Also Pass Arguments In Shortcodes. add_shortcode(‘shortcode_name ’,’function’) do_shortcode( string $content, bool $ignore_html = false ); Example: Function shorcode_func(){ } add_shortcode(‘shorcode_tag’,’sh orcode_func’,[ $args]); or [‘shorcode_tag’, [$args]];
  • 18. 15. Security Steps For Wordpress Site Before Hack: 1. Keep wordpress version, theme, plugins updated. 2. Set .htaccess security rules, file permissions 3. Set strong password, prefix of database prefix 4. Use Plugins like: wp-security, wordefinece, wp- hide login etc. 5. Take backup of files and database regularly. After Hack: 1. Check server log and recently modified file 2. Search files with base64, eval,exec preg_replace, move_uploaded_file replace with file 3. Manually replace new wordpress wp- admin, wp-includes, update plugins and themes 4. Reset password, Prefix Of Database, Ftp Credentials , Generate New Secret Key Generator
  • 19. 16. Speed (Performance) Optimization ● GTMetrix And Google Page Speed For Steps ● Optimize Css, Javascript And Minifying Css And Javascript. ● Use Cache Plugins Like Wp Super Cache, Wp Total Cache ● Use Image Optimization Plugin Like Smush It, Imagify. ● Modify .htaccess add leverage browser caching, gzip etc. ● Optimize Query, Code ● Use Async, Defer Keyword As Per Requirement in js.
  • 20. Thank You Thank You For Study This Article, Samir Lakhani Email: samirlakhanitemp@gmail.com