SlideShare a Scribd company logo
1 of 3
Download to read offline
1
Wordpress Manual Doc
1) Copy a wordpress theme to themes folder; rename it to your website name& copy all
required folder in your copied site.
2) Open “style.css” rename “Twenty Fourteen” to your site name;
open “function.php” rename “Twenty_Fourteen” to your site name & rename
“twentyfourteen” to your site name. (566 replaced in 56 documents)
3) Delete this existing style from “style.css” to your site css.
4) Theme customize mostly use page are:
a. Style.css
b. Header.php
c. Footer.php
d. Index.php
e. Function.php
f. Page.php (for more page)
g. Single.php (for post)
h. Content.php (master file for all rest of pages)
Wordpress Coding
1) Create Widgets “function.php” *
function zylone_widgets_init(){
require get_template_directory() . '/inc/widgets.php';
register_widget( 'Zylone_Ephemera_Widget' );
register_sidebar( array(
'name' => __( Copyright-Sidebar', 'zylone' ),
'id' => 'sidebar-1',
'description' => __( 'Copyright sidebar that appears on the left.', 'zylone' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );
}
2
2) Use Widgets
a. dynamic_sidebar('sidebar-1');
3) Create Menu “function.php” *
function zylone_setup() {
register_nav_menus( array(
'primary' => __( 'Top primary menu', 'zylone' ),
'web-design' => __( 'Web Design And Branding' ),
'web-app' => __( 'Web Application' ),
'internet-marketing' => __( 'Internet Marketing' )
) );
}
4) Use Menu
a. wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'main-menu'
) );
5) Create Custom Post “function.php”
add_action( 'init', 'create_post_type' );
function create_post_type() {
register_post_type( 'test-slider',
array(
'labels' => array(
'name' => __( 'Test slider' ),
'singular_name' => __( ' test-slider' )
),
'public' => true,
'has_archive' => true,
)
);
}
3
6) Use custom post
wp_reset_query();
$args1 = array( 'post_type' => 'test-slider' );
query_posts( $args1 );
while ( have_posts() ) : the_post();
$author_link = get_field( "author_link" );
echo '<li><p>'.get_the_content().'</p>
<a href="'.$author_link.'" target="_blank"> '.get_the_title().' </a></li>';
endwhile;
wp_reset_query();
7) Template Directory
a. get_template_directory_uri()
8) Post Title
a. get_the_title()
9) Post Content
a. get_the_content()
10) Post Link
a. get_permalink()
11) Post Date
a. get_the_date()
12) Post comment
a. get_comments_number()
13) Get home location
a. get_homr_url()

More Related Content

What's hot

Building a userspace filesystem in node.js
Building a userspace filesystem in node.jsBuilding a userspace filesystem in node.js
Building a userspace filesystem in node.jsClay Smith
 
Creating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lintCreating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lintSpencer Owen
 
Client-side Storage 
Client-side Storage Client-side Storage 
Client-side Storage Tobias Wolf
 
Presentasi Mac'LC
Presentasi Mac'LCPresentasi Mac'LC
Presentasi Mac'LCmaman__
 
Presentasi mac'lc-02
Presentasi mac'lc-02Presentasi mac'lc-02
Presentasi mac'lc-02maman__
 
A Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet ModulesA Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet ModulesDavid Phillips
 

What's hot (7)

Dockerの準備
Dockerの準備Dockerの準備
Dockerの準備
 
Building a userspace filesystem in node.js
Building a userspace filesystem in node.jsBuilding a userspace filesystem in node.js
Building a userspace filesystem in node.js
 
Creating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lintCreating beautiful puppet modules with puppet-lint
Creating beautiful puppet modules with puppet-lint
 
Client-side Storage 
Client-side Storage Client-side Storage 
Client-side Storage 
 
Presentasi Mac'LC
Presentasi Mac'LCPresentasi Mac'LC
Presentasi Mac'LC
 
Presentasi mac'lc-02
Presentasi mac'lc-02Presentasi mac'lc-02
Presentasi mac'lc-02
 
A Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet ModulesA Brief Introduction to Writing and Understanding Puppet Modules
A Brief Introduction to Writing and Understanding Puppet Modules
 

Viewers also liked

Segmentation - The Shadowy Side of Persona Development
Segmentation - The Shadowy Side of Persona DevelopmentSegmentation - The Shadowy Side of Persona Development
Segmentation - The Shadowy Side of Persona DevelopmentDray & Associates, Inc.
 
Segmentation -The Shadowy Side of Persona Development
Segmentation -The Shadowy Side of Persona DevelopmentSegmentation -The Shadowy Side of Persona Development
Segmentation -The Shadowy Side of Persona DevelopmentDray & Associates, Inc.
 
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012 Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012 Dray & Associates, Inc.
 
Apparecchio invisibile - Bracket rimovibili
Apparecchio invisibile - Bracket rimovibiliApparecchio invisibile - Bracket rimovibili
Apparecchio invisibile - Bracket rimovibiliMassimiliano Ciaravolo
 
CoagSurveyIntro
CoagSurveyIntroCoagSurveyIntro
CoagSurveyIntroDClendon
 
What African Countries Can Teach The World (and What They Can Learn) Susan D...
What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...
What African Countries Can Teach The World (and What They Can Learn) Susan D...Dray & Associates, Inc.
 
Penanganan Limbah Padat IV
Penanganan Limbah Padat IVPenanganan Limbah Padat IV
Penanganan Limbah Padat IVMochammad Rizki
 
Penanganan Limbah Padat III
Penanganan Limbah Padat IIIPenanganan Limbah Padat III
Penanganan Limbah Padat IIIMochammad Rizki
 
Penanganan Limbah Padat I
Penanganan Limbah Padat IPenanganan Limbah Padat I
Penanganan Limbah Padat IMochammad Rizki
 
Penanganan Limbah Padat II
Penanganan Limbah Padat IIPenanganan Limbah Padat II
Penanganan Limbah Padat IIMochammad Rizki
 
A case study on Housing in Kampung Rancha Rancha Laut, Labuan Island Malaysia
A case study on Housing in  Kampung Rancha Rancha Laut, Labuan Island MalaysiaA case study on Housing in  Kampung Rancha Rancha Laut, Labuan Island Malaysia
A case study on Housing in Kampung Rancha Rancha Laut, Labuan Island MalaysiaESD UNU-IAS
 
Presentation-IRS Housing Project
Presentation-IRS Housing ProjectPresentation-IRS Housing Project
Presentation-IRS Housing ProjectSandip Garg
 
Housing project in New Mumbai ppt
Housing project in New Mumbai pptHousing project in New Mumbai ppt
Housing project in New Mumbai pptSantosh Tiwari
 
Jindal group housing case study
Jindal group housing case studyJindal group housing case study
Jindal group housing case studySatish Deshmukh
 

Viewers also liked (20)

Segmentation - The Shadowy Side of Persona Development
Segmentation - The Shadowy Side of Persona DevelopmentSegmentation - The Shadowy Side of Persona Development
Segmentation - The Shadowy Side of Persona Development
 
Segmentation -The Shadowy Side of Persona Development
Segmentation -The Shadowy Side of Persona DevelopmentSegmentation -The Shadowy Side of Persona Development
Segmentation -The Shadowy Side of Persona Development
 
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012 Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012
Human-Centered Design for Development (HCD4D): Workshop at U(X)PA2012
 
Apparecchio invisibile - Bracket rimovibili
Apparecchio invisibile - Bracket rimovibiliApparecchio invisibile - Bracket rimovibili
Apparecchio invisibile - Bracket rimovibili
 
CoagSurveyIntro
CoagSurveyIntroCoagSurveyIntro
CoagSurveyIntro
 
My vacations
My vacationsMy vacations
My vacations
 
Java server pages
Java server pagesJava server pages
Java server pages
 
What African Countries Can Teach The World (and What They Can Learn) Susan D...
What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...What	 African Countries Can Teach The World (and What They Can Learn)	Susan D...
What African Countries Can Teach The World (and What They Can Learn) Susan D...
 
UX 101 - TajRiba | UX Month Nairobi
UX 101 - TajRiba | UX Month NairobiUX 101 - TajRiba | UX Month Nairobi
UX 101 - TajRiba | UX Month Nairobi
 
Penanganan Limbah Padat IV
Penanganan Limbah Padat IVPenanganan Limbah Padat IV
Penanganan Limbah Padat IV
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Penanganan Limbah Padat III
Penanganan Limbah Padat IIIPenanganan Limbah Padat III
Penanganan Limbah Padat III
 
PHP slides
PHP slidesPHP slides
PHP slides
 
Penanganan Limbah Padat I
Penanganan Limbah Padat IPenanganan Limbah Padat I
Penanganan Limbah Padat I
 
Penanganan Limbah Padat II
Penanganan Limbah Padat IIPenanganan Limbah Padat II
Penanganan Limbah Padat II
 
A case study on Housing in Kampung Rancha Rancha Laut, Labuan Island Malaysia
A case study on Housing in  Kampung Rancha Rancha Laut, Labuan Island MalaysiaA case study on Housing in  Kampung Rancha Rancha Laut, Labuan Island Malaysia
A case study on Housing in Kampung Rancha Rancha Laut, Labuan Island Malaysia
 
Presentation-IRS Housing Project
Presentation-IRS Housing ProjectPresentation-IRS Housing Project
Presentation-IRS Housing Project
 
ADO.NET
ADO.NETADO.NET
ADO.NET
 
Housing project in New Mumbai ppt
Housing project in New Mumbai pptHousing project in New Mumbai ppt
Housing project in New Mumbai ppt
 
Jindal group housing case study
Jindal group housing case studyJindal group housing case study
Jindal group housing case study
 

Similar to Wordpress Manual Document

WordPress Theme Development
 WordPress Theme Development WordPress Theme Development
WordPress Theme DevelopmentBijay Oli
 
Crash Course in Theme Surgery
Crash Course in Theme SurgeryCrash Course in Theme Surgery
Crash Course in Theme SurgeryRational Frank
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress themeDave Wallace
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4David Bisset
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme EnlightenmentAmanda Giles
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017Amanda Giles
 
Intro to WordPress theme development
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme developmentThad Allender
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Themecertainstrings
 
Building themesfromscratchwithframeworks
Building themesfromscratchwithframeworksBuilding themesfromscratchwithframeworks
Building themesfromscratchwithframeworksDavid Brattoli
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress ThemesLaura Hartwig
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Themecertainstrings
 
Customize your Wordpress site
Customize your Wordpress siteCustomize your Wordpress site
Customize your Wordpress sitekmcintyre3
 
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
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25New Tricks
 
WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3David Bisset
 
How to make a WordPress theme
How to make a WordPress themeHow to make a WordPress theme
How to make a WordPress themeHardeep Asrani
 
Towards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme StructureTowards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme StructureGraham Armfield
 
Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Rakesh Kushwaha
 

Similar to Wordpress Manual Document (20)

WordPress Theme Development
 WordPress Theme Development WordPress Theme Development
WordPress Theme Development
 
Crash Course in Theme Surgery
Crash Course in Theme SurgeryCrash Course in Theme Surgery
Crash Course in Theme Surgery
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017
 
Intro to WordPress theme development
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme development
 
Theming 101
Theming 101Theming 101
Theming 101
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
 
Building themesfromscratchwithframeworks
Building themesfromscratchwithframeworksBuilding themesfromscratchwithframeworks
Building themesfromscratchwithframeworks
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Theme
 
Customize your Wordpress site
Customize your Wordpress siteCustomize your Wordpress site
Customize your Wordpress site
 
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 ...
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
 
WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3
 
How to make a WordPress theme
How to make a WordPress themeHow to make a WordPress theme
How to make a WordPress theme
 
Towards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme StructureTowards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme Structure
 
Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality Overview on WordPress theme file structure and working functionality
Overview on WordPress theme file structure and working functionality
 

Recently uploaded

Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxRTS corp
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsJean Silva
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdfSteve Caron
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesKrzysztofKkol1
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jNeo4j
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxSasikiranMarri
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfkalichargn70th171
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxAS Design & AST.
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 

Recently uploaded (20)

Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptx
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
Strategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero resultsStrategies for using alternative queries to mitigate zero results
Strategies for using alternative queries to mitigate zero results
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News UpdateVictoriaMetrics Q1 Meet Up '24 - Community & News Update
VictoriaMetrics Q1 Meet Up '24 - Community & News Update
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4jGraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
GraphSummit Madrid - Product Vision and Roadmap - Luis Salvador Neo4j
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptxUnderstanding Plagiarism: Causes, Consequences and Prevention.pptx
Understanding Plagiarism: Causes, Consequences and Prevention.pptx
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Mastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptxMastering Project Planning with Microsoft Project 2016.pptx
Mastering Project Planning with Microsoft Project 2016.pptx
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 

Wordpress Manual Document

  • 1. 1 Wordpress Manual Doc 1) Copy a wordpress theme to themes folder; rename it to your website name& copy all required folder in your copied site. 2) Open “style.css” rename “Twenty Fourteen” to your site name; open “function.php” rename “Twenty_Fourteen” to your site name & rename “twentyfourteen” to your site name. (566 replaced in 56 documents) 3) Delete this existing style from “style.css” to your site css. 4) Theme customize mostly use page are: a. Style.css b. Header.php c. Footer.php d. Index.php e. Function.php f. Page.php (for more page) g. Single.php (for post) h. Content.php (master file for all rest of pages) Wordpress Coding 1) Create Widgets “function.php” * function zylone_widgets_init(){ require get_template_directory() . '/inc/widgets.php'; register_widget( 'Zylone_Ephemera_Widget' ); register_sidebar( array( 'name' => __( Copyright-Sidebar', 'zylone' ), 'id' => 'sidebar-1', 'description' => __( 'Copyright sidebar that appears on the left.', 'zylone' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h1 class="widget-title">', 'after_title' => '</h1>', ) ); }
  • 2. 2 2) Use Widgets a. dynamic_sidebar('sidebar-1'); 3) Create Menu “function.php” * function zylone_setup() { register_nav_menus( array( 'primary' => __( 'Top primary menu', 'zylone' ), 'web-design' => __( 'Web Design And Branding' ), 'web-app' => __( 'Web Application' ), 'internet-marketing' => __( 'Internet Marketing' ) ) ); } 4) Use Menu a. wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'main-menu' ) ); 5) Create Custom Post “function.php” add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'test-slider', array( 'labels' => array( 'name' => __( 'Test slider' ), 'singular_name' => __( ' test-slider' ) ), 'public' => true, 'has_archive' => true, ) ); }
  • 3. 3 6) Use custom post wp_reset_query(); $args1 = array( 'post_type' => 'test-slider' ); query_posts( $args1 ); while ( have_posts() ) : the_post(); $author_link = get_field( "author_link" ); echo '<li><p>'.get_the_content().'</p> <a href="'.$author_link.'" target="_blank"> '.get_the_title().' </a></li>'; endwhile; wp_reset_query(); 7) Template Directory a. get_template_directory_uri() 8) Post Title a. get_the_title() 9) Post Content a. get_the_content() 10) Post Link a. get_permalink() 11) Post Date a. get_the_date() 12) Post comment a. get_comments_number() 13) Get home location a. get_homr_url()