Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Wordpress - Quick Reference Cheat Sheet
Search
Christian Hochfilzer
April 08, 2012
Programming
1
110
Wordpress - Quick Reference Cheat Sheet
Common Wordpress Functions on a compact cheat sheet
Christian Hochfilzer
April 08, 2012
Tweet
Share
More Decks by Christian Hochfilzer
See All by Christian Hochfilzer
CSS2 - Quick Reference Cheat Sheet
netconstructor
1
84
CSS3 - Quick Reference Cheat Sheet
netconstructor
2
130
HTML5 - Quick Reference Cheat Sheet
netconstructor
1
86
FME Desktop - Transformation Tutorial
netconstructor
1
170
FME Desktop GIS Transformation Options
netconstructor
1
52
ArcGIS Topology Rules Poster
netconstructor
1
250
Digitizing Polygons using QGIS
netconstructor
1
97
CartoDB Version 1.0 Release
netconstructor
1
58
Other Decks in Programming
See All in Programming
Docker_OSS_ホスティング入門
satokoki645
0
140
Namespace, What and Why
tagomoris
4
970
Unlocking Potential of Property Based Testing with Ractor
ohbarye
2
410
RustでAWS Lambda functionをいい感じに書く
taiki45
2
160
The test code generator using static analysis and LLM
mikik0
1
270
The Cutting Edge Of Versioning (LambdaConf 2024)
chriskrycho
0
250
Three ways to use AI on Android: The Good, the Bad and the Ugly
marxallski
0
120
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
74k
The Final Frontier of Web Development: React Server Components vs Jakarta EE
ivargrimstad
0
180
Embedding it into Ruby code
soutaro
2
410
Escolhendo (ou não) o melhor ORM para o seu projeto
andreiacsilva
1
160
GoでParserを書く
karupanerura
3
440
Featured
See All Featured
Navigating Team Friction
lara
179
13k
Gamification - CAS2011
davidbonilla
77
4.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Code Reviewing Like a Champion
maltzj
516
39k
What's in a price? How to price your products and services
michaelherold
238
11k
Thoughts on Productivity
jonyablonski
60
3.9k
The Invisible Side of Design
smashingmag
294
49k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
22
1.6k
Code Review Best Practice
trishagee
56
15k
Documentation Writing (for coders)
carmenintech
60
4k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
Transcript
header.php footer.php index.php s i d e b a r
. p h p WordPress Help Sheet. <?php bloginfo('name'); ?> <?php wp_title(); ?> <?php bloginfo('stylesheet_url'); ?> <?php bloginfo('pingback_url'); ?> <?php bloginfo('template_url'); ?> <?php bloginfo('version'); ?> <?php bloginfo('atom_url'); ?> <?php bloginfo('rss2_url'); ?> <?php bloginfo('url'); ?> <?php bloginfo('name'); ?> <?php bloginfo('html_type'); ?> <?php bloginfo('charset'); ?> WordPress Help Sheet. WordPress Help Sheet. liquidicity liquidicity style.css index.php single.php archive.php searchform.php search.php 404.php comments.php footer.php header.php sidebar.php page.php Basic Template Files Style sheet le Lists PHP Snippets for Header © 2007 Go Squared Ltd. & WPCandy Home page le Single post page le Archive/category le Search form le Search content le Error page le Comments template le Footer content le Header content le Sidebar content le Single page le Title of the site Title of the speci c post or page The style.css le's location Pingback URL for the site Location for the site’s theme les WordPress version for the site Atom URL for the site RSS2 URL for the site Exact URL for the site Name of the site HTML version of the site Charset parameter of the site <?php the_content(); ?> <?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?> <?php endwhile; ?> <?php endif; ?> <?php get_header(); ?> <?php get_sidebar(); ?> <?php get_footer(); ?> <?php the_time('m-d-y') ?> <?php comments_popup_link(); ?> <?php the_title(); ?> <?php the_permalink() ?> <?php the_category(', ') ?> <?php the_author(); ?> <?php the_ID(); ?> <?php edit_post_link(); ?> <?php get_links_list(); ?> <?php comments_template(); ?> <?php wp_list_pages(); ?> <?php wp_list_cats(); ?> <?php next_post_link(' %link ') ?> <?php previous_post_link('%link') ?> <?php get_calendar(); ?> <?php wp_get_archives() ?> <?php posts_nav_link(); ?> <?php bloginfo(’description’); ?> PHP Snippets for Templates Content of the posts Checks if there are posts Shows posts if posts are available Closes the 'while' PHP function Closes the 'if' PHP function Header.php le's content Sidebar.php le's content Footer.php le's content The date in '08-18-07' format Link for the comments on the post Title of a speci c post or page Url of a speci c post or page Category of a speci c post or page Author of a speci c post or page ID of a speci c post or page Link to edit a speci c post or page Links from the blogroll Comment.php le’s content List of pages of the List of categories for the site Url to the next post Url to the previous post The built-in calendar List of archives for the site Next and previous post link Site’s description Extra Stu /%postname%/ Custom permalinks <?php include(TEMPLATEPATH . ‘/x’); ?> Include any file <?php the_search_query(); ?> Value for search form <?php _e(’Message’); ?> Prints out message <?php wp_register(); ?> Displays the register link <?php wp_loginout(); ?> Displays the login/logout link <!--next page--> Divides the content into pages <!--more--> Cuts off the content and adds a link to the rest of the content <?php wp_meta(); ?> Meta for administrators <?php timer_stop(1); ?> Time to load the page <?php echo get_num_queries(); ?> Queries to load the page 2 1 1 Replace x with file name 2 Only for registered useres