SlideShare a Scribd company logo
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

Dockerの準備
Dockerの準備Dockerの準備
Dockerの準備
koedoyoshida
 
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
Clay 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-lint
Spencer 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 Modules
David 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 Development
Dray & 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 rimovibili
Massimiliano Ciaravolo
 
CoagSurveyIntro
CoagSurveyIntroCoagSurveyIntro
CoagSurveyIntroDClendon
 
My vacations
My vacationsMy vacations
My vacations
Tatiana Vanegas
 
Java server pages
Java server pagesJava server pages
Java server pages
Farzad Wadia
 
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.
 
UX 101 - TajRiba | UX Month Nairobi
UX 101 - TajRiba | UX Month NairobiUX 101 - TajRiba | UX Month Nairobi
UX 101 - TajRiba | UX Month Nairobi
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 Malaysia
ESD UNU-IAS
 
Presentation-IRS Housing Project
Presentation-IRS Housing ProjectPresentation-IRS Housing Project
Presentation-IRS Housing Project
Sandip Garg
 
Housing project in New Mumbai ppt
Housing project in New Mumbai pptHousing project in New Mumbai ppt
Housing project in New Mumbai ppt
Santosh Tiwari
 
Jindal group housing case study
Jindal group housing case studyJindal group housing case study
Jindal group housing case study
Satish 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 Development
Bijay Oli
 
Crash Course in Theme Surgery
Crash Course in Theme SurgeryCrash Course in Theme Surgery
Crash Course in Theme Surgery
Rational Frank
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
Dave Wallace
 
WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4WordPress Theme Workshop: Part 4
WordPress Theme Workshop: Part 4
David Bisset
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
Amanda Giles
 
The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017The Way to Theme Enlightenment 2017
The Way to Theme Enlightenment 2017
Amanda Giles
 
Intro to WordPress theme development
Intro to WordPress theme developmentIntro to WordPress theme development
Intro to WordPress theme development
Thad Allender
 
Theming 101
Theming 101Theming 101
Theming 101
WinnipegWordcamp
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
certainstrings
 
Building themesfromscratchwithframeworks
Building themesfromscratchwithframeworksBuilding themesfromscratchwithframeworks
Building themesfromscratchwithframeworks
David Brattoli
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
Laura Hartwig
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Theme
certainstrings
 
Customize your Wordpress site
Customize your Wordpress siteCustomize your Wordpress site
Customize your Wordpress site
kmcintyre3
 
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 25
New Tricks
 
WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
Zero Point Development
 
WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3WordPress Theme Workshop: Part 3
WordPress Theme Workshop: Part 3
David Bisset
 
How to make a WordPress theme
How to make a WordPress themeHow to make a WordPress theme
How to make a WordPress theme
Hardeep Asrani
 
Towards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme StructureTowards an Alternate WordPress Theme Structure
Towards an Alternate WordPress Theme Structure
Graham 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

A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 

Recently uploaded (20)

A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 

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()