Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
Use a spacebar or arrow keys to navigate
Erick Hitter
cdia@ethitter.com
get_stylesheet_directory_uri()
Lets you find the URL for the active theme directory's.
Use to add the http://yourgroovydomain.com/wp-content/themes/yourtheme
before /style.css
.
Any file in your theme's PHP that needs to reference an image, stylesheet, or JavaScript file (not PHP) in the theme.
get_stylesheet_directory_uri()
<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png" />
wp_title()
<title>
tag.
wp_title()
<title><?php wp_title(); ?></title>
bloginfo( $thing )
$thing
could be:
name
- Site Title set under Settings → Generaldescription
- Tagline set under Settings → General
More options at http://codex.wordpress.org/Function_Reference/get_bloginfo.
bloginfo()
<h1><?php bloginfo( 'name' ); ?></h1> <h2><?php bloginfo( 'description' ); ?></h2>
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
home_url()
Get the address for the current WordPress site.
home_url()
<a href="<?php echo home_url( '/' ); ?>">Home</a> <a href="<?php echo home_url( '/' ); ?>"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png" /> </a>