Top
Home

Create CSS Columns:

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12

Add a Page Within a Page:

WP Page Number

Include a Page from the Theme "included" Directory:

Included File

Register Three Sidebars:

Sidebar01
Sidebar02
Sidebar03

Template Page Tag:

Template Name

News Column:

Category Name (Lower Case)

Loop

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<p><?php the_content( $more_link_text, $strip_teaser, $more_file ); ?></p>
<?php edit_post_link('<font color="red">+</font>','',''); ?>
<?php endwhile; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>

Path to Theme

<?php bloginfo('template_directory'); ?>/

WordPress Base

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<HTML>
<HEAD>
<?php
get_header();
?>
<TITLE>Title</TITLE>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<META NAME="description" CONTENT="Paragraph">
<META NAME="keywords" CONTENT="Words">
<link rel="stylesheet" href="style.css" type="text/css" media="screen" title="no title" charset="utf-8">
<!--[if lt IE 8]><link rel="stylesheet" href="iestyle.css" type="text/css" media="screen" title="no title" charset="utf-8"><![endif]-->
</HEAD>
<BODY>

<DIV class="container_12">

</DIV>
</body>
</html>

Putting Short code into Templte File Outside of Loop

<?php echo do_shortcode('[ShortCode]'); ?>

Check/Place "http://"

if(!preg_match('/http[s]?:\/\//', $Link, $matches)) $Link = 'http://'.$Link;





Smiley Face !

img#wpstats {
    display: none;
}

Removes "Remove You may use these HTML tags and attributes"

<?php comment_form(array('comment_notes_after' => '')); ?>



var $feardearg = jQuery.noConflict();



Get metadata from Custom Field

<?php echo get_metadata ($post->ID,'CUSTOM FIELD',true);?>



Add PHP page to index.php

Instead of making a new template which includes php code, use the following



[insert_php]
require_once( ABSPATH . '/my-project/index.php' );
[/insert_php]