Design With Extreme Prejudice

15 Grammar Mistakes That Can Trip You Up

Courtesy of Copyblogger, this info graphic outlines the 15 most common grammatical errors for bloggers. If you like it feel free to reblog it – I did!

15 Grammar Goofs That Make You Look Silly
Like this infographic? Get more copywriting tips from Copyblogger.

Genesis: Customize post_meta

I wanted to edit the post_meta to not only add some flavor, but also change “tagged with” to “tags:”. It took a while to find the right extended short code, here it is.

*For all the highlighted code below remove the space just after each square brace. WordPress interprets the code and I haven’t worked out how to fix that.*

First – here’s how to add the filter:

/** Customize the post meta function */
add_filter( 'genesis_post_meta', 'post_meta_filter' );
function post_meta_filter($post_meta) {
if (!is_page()) {
    $post_meta = '[ post_categories] [ post_comments zero="No Comments" one="1 Comment" more="% Comments"] [ post_tags sep=", " before="Tags: "]';
    return $post_meta;
}}

Note the area where you can add / subtract / change what appears in the post meta area is the line

$post_meta = '[ post_categories] [ post_comments zero="No Comments" one="1 Comment" more="% Comments"] [ post_tags sep=", " before="Tags: "]';

To change “tagged with” to “Tags:” not the entry:

[ post_tags sep=", " before="Tags: "]

Everything in the [ ] brackets will appear in the post_meta area.

Here’s the available short codes you can use:

Available shortcodes are (without the space in front):

[ post_date]: Date of publication; e.g., [ post_date format="F j, Y" label="Dated: "] = Dated: March 21, 2011
[ post_time]: Time of publication; e.g., [ post_time format="g:i a"] = 1:29 am
[ post_author]: Displays author’s name; e.g., [ post_author before="" after=""] = Travis Smith
[ post_author_link]: Produces the link to Author URL; e.g., [ post_author_link before="" after=""] = Steve Shead
[ post_author_posts_link]: Produces the link to Author’s Archive; e.g., [ post_author_link before="" after=""] = Steve Shead
[ post_comments]: Produces the Comment Link; e.g., [ post_comments zero="No Comments" one="1 Comment" more="% Comments"] =
No Comments
1 Comment
# Comments
[ post_tags]: Displays the tag link list; e.g., [ post_tags sep=", " before="Tags: "] = Tags: author, date, post info, shortcodes, time
[ post_categories]: Displays the category link list; e.g., [ post_categories sep=", " before="Posted Under: "] = Posted Under: Genesis, Tutorials
[ post_edit]: Displays the Edit link for logged in users; e.g., [ post_edit before="(" after=")"] =

For more shortcodes, click here: StudioPress’s Shortcodes.

Genesis: Using Custom Navigation

Here is a way to use your own menus by using wp_nav_menu. This can come in handy if you’ve used a third party CSS menu generator, and negates the need for a custom CSS plugin. If nothing else this lets you call out the custom CSS class and ID for your navigation.

For this example I’ve used custom CSS with the build in “Primary Navigation”.

The full list of attributes for wp_nav_menu are here: http://codex.wordpress.org/Function_Reference/wp_nav_menu

Insert this code into your functions.php.

/** Remove the primary navigation & add custom navigation */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_after_header', 'custom_do_nav' );
function custom_do_nav() {
wp_nav_menu(array(
'menu' => 'Primary Navigation',
'container' => '',
'menu_class' => 'topmenu',
'menu_id' => 'navigation'
));
}

‘menu’ => ‘Primary Navigation’, /* choose a menu from Appearance / Menus, or create a new one */
‘container’ => ”, /* this removes the container around the navigation */
‘menu_class’ => ‘topmenu’, /* this is the menu CSS class */
‘menu_id’ => ‘navigation’ /* this is the menu CSS ID */

Add you custom CSS to your style.css – making sure the class and ID in the array above match the class and ID in your CSS. It may sound obvious, but I’m saying it anyway.

There you have it.

Sandbox Genesis Child Theme

Sandbox is a smooth, extensible Genesis child theme with some creative fonts and imagery. It’s an SEO friendly WordPress theme with a smooth look, using neutral colors to keep it simple yet colorful.

This is a two column, widget ready theme that gives you more control over the content and customization. Built on the robust Genesis framework it leaves it open for you to develop it further if you wanted to.

This theme is ideal for use as a blog or CMS website, and can be edited to suit your needs. It was built on the Genesis framework and all files you need to make this work are included in the zip file.

Click on the button below to preview the theme.




Click on the button below to purchase this template for $29.99

Grayscale Genesis Child Theme

Grayscale is a smooth, extensible Genesis child theme. It’s an SEO friendly WordPress theme with a smooth look, using neutral colors to keep it simple yet punchy.

This is a two column, widget ready theme that gives you more control over the content and customization. Built on the robust Genesis framework it leaves it open for you to develop it further if you wanted to.

This theme is ideal for use as a blog or CMS website, and can be edited to suit your needs. It was built on the Genesis framework and all files you need to make this work are included in the zip file.

Click on the button below to preview the theme.




Click on the button below to purchase this template for $29.99

Genesis Framework

Genesis Framework for WordPress

Studiopress Themes

Scribble Theme - A Beautiful Frame For Your WordPress Website

Advertisements