Remove unnecessary statics

This commit is contained in:
Robin Cornett
2015-05-30 09:50:56 -04:00
parent 9b42e9b3ea
commit 79d672f623
2 changed files with 11 additions and 11 deletions
@@ -21,7 +21,7 @@ class Display_Featured_Image_Genesis_Description {
* @return null Return early if not a single post with an excerpt.
*/
public static function do_excerpt() {
public function do_excerpt() {
if ( ! is_singular() || is_front_page() ) {
return;
@@ -53,7 +53,7 @@ class Display_Featured_Image_Genesis_Description {
*
* @return null Return early if not blog/front page.
*/
public static function do_front_blog_excerpt() {
public function do_front_blog_excerpt() {
if ( ! is_front_page() && ! is_home() ) {
return;
@@ -96,7 +96,7 @@ class Display_Featured_Image_Genesis_Description {
* @return null Return early if not the correct archive page, not page one, or no term meta is set.
*/
public static function do_tax_description() {
public function do_tax_description() {
global $wp_query;
@@ -136,7 +136,7 @@ class Display_Featured_Image_Genesis_Description {
* @return null Return early if not author archive or not page one.
*/
public static function do_author_description() {
public function do_author_description() {
if ( ! is_author() || get_query_var( 'paged' ) >= 2 ) {
return;
@@ -168,7 +168,7 @@ class Display_Featured_Image_Genesis_Description {
* @return null Return early if not on relevant post type archive.
*/
public static function do_cpt_archive_description() {
public function do_cpt_archive_description() {
if ( ! is_post_type_archive() || ! genesis_has_post_type_archive_support() ) {
return;