Genesis Simple Edits

This plugin allows you to edit your footer and other parts of your post template.

Note: you must be using a Genesis theme in order to use this plugin.

Go to the Genesis > Simple Edits menu. You can edit the post info (the information that appears under the post title), post meta (the information that appears at the bottom of the post), and footer (the text that appears at the very bottom of your website, below the footer widgets that are controlled in the Appearance > Widgets menu).

Shortcode Reference (original source: StudioPress)

Post Shortcodes

Below is a list of shortcodes that can be used for in the post-info and post-meta sections.

[POST_DATE]

This function produces the date of post publication. Here is a list of attributes for this short code:

  • format – The format for the date. Defaults to the date format configured in your WordPress options.
  • before – Text/markup to place before the post date.
  • after – Text/markup to place after the post date.
  • label – Text to place before the post date.

Example:

[[post_date format="F j, Y" label="Dated: "]]

Output: Dated: November 12, 2012

[POST_TIME]

This function produces the time of post publication. Here is a list of attributes for this short code:

  • format – The format for the time. Defaults to the time format configured in your WordPress options.
  • before – Text/markup to place before the post time.
  • after – Text/markup to place after the post time.
  • label – Text to place before the post time.

Example:

[[post_time format="g:i a"]]

Output: 12:01 pm

Note: More information on formatting date and time can be found here.

[POST_AUTHOR]

This function produces the author of the post (display name). Here is a list of attributes for this short code:

  • before – Text/markup to place before the post author name.
  • after – Text/markup to place after the post author name.

Example:

[[post_author before="<em>" after="</em>"]]

Output: Author Name

[POST_AUTHOR_LINK]

This function produces the author of the post (link to author URL). Here is a list of attributes for this short code:

  • nofollow – assign nofollow to the rel attribute in the link to the author. By default is set to FALSE
  • before – Text/markup to place before the post author link.
  • after – Text/markup to place after the post author link.

Example:

[[post_author_link before="<b>" after="</b>"]]

Output: Author Name

[POST_AUTHOR_POSTS_LINK]

This function produces the author of the post (link to author archive). Here is a list of attributes for this short code:

  • before – Text/markup to place before the post author link.
  • after – Text/markup to place after the post author link.

Example:

[[post_author_posts_link before="<b>" after="</b>"]]

Output: Author Name

[POST_COMMENTS]

This function produces the comment link. Here is a list of attributes for this short code:

  • zero – Text to display if zero comments on the post
  • one – Text to display if one comment on the post
  • more – Text to display if more than one comment on the post
  • hide_if_off – Disable comment link even if comments is enabled.
  • before – Text/markup to place before the post comment link.
  • after – Text/markup to place after the post comment link.

Example:

[[post_comments zero="No Comments" one="1 Comment" more="% Comments"]]

Output:

No Comments: Leave a Comment
1 Comment: 1 Comment
Multiple Comments: 7 Comments

[POST_TAGS]

This function produces the tag link list. Here is a list of attributes for this short code:

  • sep – Separator between post tags
  • before – Text/markup to place before the tag list. Default “Tagged With: “
  • after – Text/markup to place after the tag list.

Example:

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

Output: Tags: Tag Name

[POST_CATEGORIES]

This function produces the category link list. Here is a list of attributes for this short code:

  • sep – Separator between post categories
  • before – Text/markup to place before the post category list. Default “Filed Under: “
  • after – Text/markup to place after the post category list.

Example:

[[post_categories sep=", " before="Posted Under: "]]

Output: Posted Under: Category #1

[POST_EDIT]

This function produces the edit post link for logged in users. Here is a list of attributes for this short code:

  • link – Text for edit link. Default “(Edit)”
  • before – Text/markup to place before the edit post link. Default “Filed Under: “
  • after – Text/markup to place after the edit post link.

Example:

[[post_edit before="<b>" after="</b>"]]

Output: A link to the edit post/page screen for that post will be displayed only for logged in users with a role that permits editing.

[POST_TERMS]

This function produces a list of terms associated with the post from the specified taxonomy. Here is a list of attributes for this short code:

  • sep – Separator between the terms.
  • before – Text/markup to place before the post terms list. Default “Filed Under: “
  • after – Text/markup to place after the terms list.
  • taxonomy – Which taxonomy to use. Default “category”

Example:

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

Output: Tags: Tag #1, Tag #2

Footer Shortcodes

Below is a list of shortcodes that can be used in the site footer.

[FOOTER_COPYRIGHT]

This function produces the copyright. Here is a list of attributes for this short code:

  • copyright – Default: ©
  • first- Text/markup to place between the copyright symbol and the copyright date.
  • before – Text/markup to place before the copyright.
  • after – Text/markup to place after the copyright.

Example:

[[footer_copyright first="2005"]]

Output: © 2005–2015

[FOOTER_CHILDTHEME_LINK]

This function produces the child theme link. Here is a list of attributes for this short code:

  • before – Text/markup to place before the child theme link. Default: &middot
  • after – Text/markup to place after the child theme link.

Example:

[[footer_childtheme_link before ="&middot;"]]

Output: · Prose Theme

Note: Must be supported by Child Theme

[FOOTER_GENESIS_LINK]

This function produces the genesis theme link. Here is a list of attributes for this short code:

  • before – Text/markup to place before the genesis theme link.
  • after – Text/markup to place after the genesis theme link.

Example:

[[footer_genesis_link]]

Output: Genesis Framework

[FOOTER_STUDIOPRESS_LINK]

This function produces the StudioPress link. Here is a list of attributes for this short code:

  • before – Text/markup to place before the StudioPress link. Default: “by”
  • after – Text/markup to place after the StudioPress link.

Example:

[[footer_studiopress_link]]

Output: by StudioPress

[FOOTER_WORDPRESS_LINK]

This function produces the WordPress link. Here is a list of attributes for this short code:

  • before – Text/markup to place before the WordPress link.
  • after – Text/markup to place after the WordPress link.

Example:

[[footer_wordpress_link]]

Output: WordPress

[FOOTER_LOGINOUT]

This function produces the log in/out link. Here is a list of attributes for this short code:

  • redirect – set redirect to a URL on login.
  • before – Text/markup to place before the log in/out link.
  • after – Text/markup to place after the log in/out link.

Example:

[[footer_loginout redirect="https://efficientwp.com"]]

Output: Log out