SlideShare a Scribd company logo
1 of 1
liquidicity      WordPress Help Sheet.


                             Basic Template Files                                                                   PHP Snippets for Header
  style.css               Style sheet le                       <?php bloginfo('name'); ?>                Title of the site
  index.php               Home page le                         <?php wp_title(); ?>                      Title of the speci c post or page
  single.php              Single post page le                  <?php bloginfo('stylesheet_url'); ?>      The style.css le's location
  archive.php             Archive/category le                  <?php bloginfo('pingback_url'); ?>        Pingback URL for the site
  searchform.php          Search form le                       <?php bloginfo('template_url'); ?>        Location for the site’s theme les
  search.php              Search content le                    <?php bloginfo('version'); ?>             WordPress version for the site
  404.php                 Error page le                        <?php bloginfo('atom_url'); ?>            Atom URL for the site
  comments.php            Comments template le                 <?php bloginfo('rss2_url'); ?>            RSS2 URL for the site
  footer.php              Footer content le                    <?php bloginfo('url'); ?>                 Exact URL for the site
  header.php              Header content le                    <?php bloginfo('name'); ?>                Name of the site
  sidebar.php             Sidebar content le                   <?php bloginfo('html_type'); ?>           HTML version of the site
  page.php                Single page le                       <?php bloginfo('charset'); ?>             Charset parameter of the site



                                                                     PHP Snippets for Templates                                          Extra Stu
   <?php the_content(); ?>                                   Content of the posts                       /%postname%/
   <?php if(have_posts()) : ?>                               Checks if there are posts                          header.php
                                                                                                        Custom permalinks              s
   <?php while(have_posts()) : the_post(); ?>                Shows posts if posts are available                                          i
                                                                                                        <?php include(TEMPLATEPATH . ‘/x’); ?>
   <?php endwhile; ?>                                        Closes the 'while' PHP function                                               d
                                                                                                        Include any file 1                   e
   <?php endif; ?>                                           Closes the 'if' PHP function                                                      b
         Lists
   <?php get_header(); ?>                                    Header.php le's content                    <?php the_search_query(); ?> a
                                                                                                                   index.php                     r
   <?php get_sidebar(); ?>                                   Sidebar.php le's content                   Value for search form                      .
                                                                                                                                                     p
   <?php get_footer(); ?>                                    Footer.php le's content                    <?php _e(’Message’); ?>                        h
   <?php the_time('m-d-y') ?>                                The date in '08-18-07' format                                                               p
                                                                                                        Prints out message
   <?php comments_popup_link(); ?>                           Link for the comments on the post
                                                                                                        <?php wp_register(); ?>
                                                                                                                footer.php
   <?php the_title(); ?>                                     Title of a speci c post or page
   <?php the_permalink() ?>                                  Url of a speci c post or page              Displays the register link
   <?php the_category(', ') ?>                               Category of a speci c post or page         <?php wp_loginout(); ?>
   <?php the_author(); ?>                                    Author of a speci c post or page           Displays the login/logout link 2
   <?php the_ID(); ?>                                        ID of a speci c post or page               <!--next page-->
   <?php edit_post_link(); ?>                                Link to edit a speci c post or page
                                                                                                        Divides the content into pages
   <?php get_links_list(); ?>                                Links from the blogroll
                                                                                                        <!--more-->
   <?php comments_template(); ?>                             Comment.php le’s content
   <?php wp_list_pages(); ?>                                 List of pages of the                       Cuts off the content and adds a link to
                                                                                                        the rest of the content
   <?php wp_list_cats(); ?>                                  List of categories for the site
                                                                                                        <?php wp_meta(); ?>
   <?php next_post_link(' %link ') ?>                        Url to the next post
   <?php previous_post_link('%link') ?>                      Url to the previous post                   Meta for administrators
   <?php get_calendar(); ?>                                  The built-in calendar                      <?php timer_stop(1); ?>
   <?php wp_get_archives() ?>                                List of archives for the site              Time to load the page
   <?php posts_nav_link(); ?>                                Next and previous post link                <?php echo get_num_queries(); ?>
   <?php bloginfo(’description’); ?>                         Site’s description
                                                                                                        Queries to load the page

   1                              2
       Replace x with file name       Only for registered useres



                                                                                                   © 2007 Go Squared Ltd. & WPCandy

More Related Content

What's hot

Developing web applications
Developing web applicationsDeveloping web applications
Developing web applicationssalissal
 
13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS 13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS DrupalMumbai
 
Make your application expressive
Make your application expressiveMake your application expressive
Make your application expressiveChristian Varela
 
Browser Serving Your We Application Security - ZendCon 2017
Browser Serving Your We Application Security - ZendCon 2017Browser Serving Your We Application Security - ZendCon 2017
Browser Serving Your We Application Security - ZendCon 2017Philippe Gamache
 
Drupal 7 as a rad tool
Drupal 7 as a rad toolDrupal 7 as a rad tool
Drupal 7 as a rad toolCary Gordon
 
TYPO3 Extension development using new Extbase framework
TYPO3 Extension development using new Extbase frameworkTYPO3 Extension development using new Extbase framework
TYPO3 Extension development using new Extbase frameworkChristian Trabold
 
Php Documentor The Beauty And The Beast
Php Documentor The Beauty And The BeastPhp Documentor The Beauty And The Beast
Php Documentor The Beauty And The BeastBastian Feder
 
Service approach for development REST API in Symfony2
Service approach for development REST API in Symfony2Service approach for development REST API in Symfony2
Service approach for development REST API in Symfony2Sumy PHP User Grpoup
 
CMake - Introduction and best practices
CMake - Introduction and best practicesCMake - Introduction and best practices
CMake - Introduction and best practicesDaniel Pfeifer
 
PHP 良好實踐 (Best Practice)
PHP 良好實踐 (Best Practice)PHP 良好實踐 (Best Practice)
PHP 良好實踐 (Best Practice)Win Yu
 
PHP 5.3 Overview
PHP 5.3 OverviewPHP 5.3 Overview
PHP 5.3 Overviewjsmith92
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake TutorialFu Haiping
 
T3CON11: Lazy Development using the Extension Builder
T3CON11: Lazy Development using the Extension BuilderT3CON11: Lazy Development using the Extension Builder
T3CON11: Lazy Development using the Extension BuilderSteffen Müller
 
Collaborative Peer-to-Peer Information Sharing
Collaborative Peer-to-Peer Information SharingCollaborative Peer-to-Peer Information Sharing
Collaborative Peer-to-Peer Information Sharingelliando dias
 
Php MySql For Beginners
Php MySql For BeginnersPhp MySql For Beginners
Php MySql For BeginnersPriti Solanki
 
short_intro_to_CMake_(inria_REVES_team)
short_intro_to_CMake_(inria_REVES_team)short_intro_to_CMake_(inria_REVES_team)
short_intro_to_CMake_(inria_REVES_team)Jérôme Esnault
 

What's hot (20)

Developing web applications
Developing web applicationsDeveloping web applications
Developing web applications
 
13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS 13th Sep, Drupal 7 advanced training by TCS
13th Sep, Drupal 7 advanced training by TCS
 
Make your application expressive
Make your application expressiveMake your application expressive
Make your application expressive
 
Browser Serving Your We Application Security - ZendCon 2017
Browser Serving Your We Application Security - ZendCon 2017Browser Serving Your We Application Security - ZendCon 2017
Browser Serving Your We Application Security - ZendCon 2017
 
Effective CMake
Effective CMakeEffective CMake
Effective CMake
 
Php Presentation
Php PresentationPhp Presentation
Php Presentation
 
Lca05
Lca05Lca05
Lca05
 
Drupal 7 as a rad tool
Drupal 7 as a rad toolDrupal 7 as a rad tool
Drupal 7 as a rad tool
 
TYPO3 Extension development using new Extbase framework
TYPO3 Extension development using new Extbase frameworkTYPO3 Extension development using new Extbase framework
TYPO3 Extension development using new Extbase framework
 
Php Documentor The Beauty And The Beast
Php Documentor The Beauty And The BeastPhp Documentor The Beauty And The Beast
Php Documentor The Beauty And The Beast
 
Service approach for development REST API in Symfony2
Service approach for development REST API in Symfony2Service approach for development REST API in Symfony2
Service approach for development REST API in Symfony2
 
CMake - Introduction and best practices
CMake - Introduction and best practicesCMake - Introduction and best practices
CMake - Introduction and best practices
 
Perl 20tips
Perl 20tipsPerl 20tips
Perl 20tips
 
PHP 良好實踐 (Best Practice)
PHP 良好實踐 (Best Practice)PHP 良好實踐 (Best Practice)
PHP 良好實踐 (Best Practice)
 
PHP 5.3 Overview
PHP 5.3 OverviewPHP 5.3 Overview
PHP 5.3 Overview
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake Tutorial
 
T3CON11: Lazy Development using the Extension Builder
T3CON11: Lazy Development using the Extension BuilderT3CON11: Lazy Development using the Extension Builder
T3CON11: Lazy Development using the Extension Builder
 
Collaborative Peer-to-Peer Information Sharing
Collaborative Peer-to-Peer Information SharingCollaborative Peer-to-Peer Information Sharing
Collaborative Peer-to-Peer Information Sharing
 
Php MySql For Beginners
Php MySql For BeginnersPhp MySql For Beginners
Php MySql For Beginners
 
short_intro_to_CMake_(inria_REVES_team)
short_intro_to_CMake_(inria_REVES_team)short_intro_to_CMake_(inria_REVES_team)
short_intro_to_CMake_(inria_REVES_team)
 

Similar to Word Press Help Sheet

PSD to WordPress
PSD to WordPressPSD to WordPress
PSD to WordPressNile Flores
 
How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten thememohd rozani abd ghani
 
Various Ways of Using WordPress
Various Ways of Using WordPressVarious Ways of Using WordPress
Various Ways of Using WordPressNick La
 
Word press templates
Word press templatesWord press templates
Word press templatesDan Phiffer
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Themecertainstrings
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Themecertainstrings
 
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトWordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトHiromichi Koga
 
Wordpress Custom Child theme
Wordpress Custom Child themeWordpress Custom Child theme
Wordpress Custom Child themeYouSaf HasSan
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
 
WordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneWordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneLorelle VanFossen
 
Grok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateGrok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateLaura Scott
 
Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Maurizio Pelizzone
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentSitdhibong Laokok
 
Creating Themes
Creating ThemesCreating Themes
Creating ThemesDaisyOlsen
 
Custom Post Type - Create and Display
Custom Post Type - Create and DisplayCustom Post Type - Create and Display
Custom Post Type - Create and DisplayJan Wilson
 

Similar to Word Press Help Sheet (20)

Word Camp Fukuoka2010
Word Camp Fukuoka2010Word Camp Fukuoka2010
Word Camp Fukuoka2010
 
PSD to WordPress
PSD to WordPressPSD to WordPress
PSD to WordPress
 
How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten theme
 
Various Ways of Using WordPress
Various Ways of Using WordPressVarious Ways of Using WordPress
Various Ways of Using WordPress
 
The Loop
The LoopThe Loop
The Loop
 
Word press templates
Word press templatesWord press templates
Word press templates
 
20110820 header new style
20110820 header new style20110820 header new style
20110820 header new style
 
Theming 101
Theming 101Theming 101
Theming 101
 
Builing a WordPress Theme
Builing a WordPress ThemeBuiling a WordPress Theme
Builing a WordPress Theme
 
Arizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress ThemeArizona WP - Building a WordPress Theme
Arizona WP - Building a WordPress Theme
 
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクトWordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
WordPress&映像配信セミナー+さぶみっと!オフ会 - 第1回 さぶみっと! WEB制作セミナー Supported by NTTスマートコネクト
 
Wordpress Custom Child theme
Wordpress Custom Child themeWordpress Custom Child theme
Wordpress Custom Child theme
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
 
WordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneWordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know One
 
Grok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb updateGrok Drupal (7) Theming - 2011 Feb update
Grok Drupal (7) Theming - 2011 Feb update
 
Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress Use Symfony2 components inside WordPress
Use Symfony2 components inside WordPress
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme Development
 
Creating Themes
Creating ThemesCreating Themes
Creating Themes
 
Custom Post Type - Create and Display
Custom Post Type - Create and DisplayCustom Post Type - Create and Display
Custom Post Type - Create and Display
 
How php works
How php worksHow php works
How php works
 

Recently uploaded

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

Word Press Help Sheet

  • 1. liquidicity WordPress Help Sheet. Basic Template Files PHP Snippets for Header style.css Style sheet le <?php bloginfo('name'); ?> Title of the site index.php Home page le <?php wp_title(); ?> Title of the speci c post or page single.php Single post page le <?php bloginfo('stylesheet_url'); ?> The style.css le's location archive.php Archive/category le <?php bloginfo('pingback_url'); ?> Pingback URL for the site searchform.php Search form le <?php bloginfo('template_url'); ?> Location for the site’s theme les search.php Search content le <?php bloginfo('version'); ?> WordPress version for the site 404.php Error page le <?php bloginfo('atom_url'); ?> Atom URL for the site comments.php Comments template le <?php bloginfo('rss2_url'); ?> RSS2 URL for the site footer.php Footer content le <?php bloginfo('url'); ?> Exact URL for the site header.php Header content le <?php bloginfo('name'); ?> Name of the site sidebar.php Sidebar content le <?php bloginfo('html_type'); ?> HTML version of the site page.php Single page le <?php bloginfo('charset'); ?> Charset parameter of the site PHP Snippets for Templates Extra Stu <?php the_content(); ?> Content of the posts /%postname%/ <?php if(have_posts()) : ?> Checks if there are posts header.php Custom permalinks s <?php while(have_posts()) : the_post(); ?> Shows posts if posts are available i <?php include(TEMPLATEPATH . ‘/x’); ?> <?php endwhile; ?> Closes the 'while' PHP function d Include any file 1 e <?php endif; ?> Closes the 'if' PHP function b Lists <?php get_header(); ?> Header.php le's content <?php the_search_query(); ?> a index.php r <?php get_sidebar(); ?> Sidebar.php le's content Value for search form . p <?php get_footer(); ?> Footer.php le's content <?php _e(’Message’); ?> h <?php the_time('m-d-y') ?> The date in '08-18-07' format p Prints out message <?php comments_popup_link(); ?> Link for the comments on the post <?php wp_register(); ?> footer.php <?php the_title(); ?> Title of a speci c post or page <?php the_permalink() ?> Url of a speci c post or page Displays the register link <?php the_category(', ') ?> Category of a speci c post or page <?php wp_loginout(); ?> <?php the_author(); ?> Author of a speci c post or page Displays the login/logout link 2 <?php the_ID(); ?> ID of a speci c post or page <!--next page--> <?php edit_post_link(); ?> Link to edit a speci c post or page Divides the content into pages <?php get_links_list(); ?> Links from the blogroll <!--more--> <?php comments_template(); ?> Comment.php le’s content <?php wp_list_pages(); ?> List of pages of the Cuts off the content and adds a link to the rest of the content <?php wp_list_cats(); ?> List of categories for the site <?php wp_meta(); ?> <?php next_post_link(' %link ') ?> Url to the next post <?php previous_post_link('%link') ?> Url to the previous post Meta for administrators <?php get_calendar(); ?> The built-in calendar <?php timer_stop(1); ?> <?php wp_get_archives() ?> List of archives for the site Time to load the page <?php posts_nav_link(); ?> Next and previous post link <?php echo get_num_queries(); ?> <?php bloginfo(’description’); ?> Site’s description Queries to load the page 1 2 Replace x with file name Only for registered useres © 2007 Go Squared Ltd. & WPCandy