• Skip to primary navigation
  • Skip to main content
  • Skip to footer

eric c wagner

ramblings, musings, and WordPress

  • About

Category: WordPress

Change the number of Footer Widgets in Genesis Framework

August 15, 2020 by Eric Wagner Leave a Comment

It has been a while since I needed to use a different number of Footer Widgets than the default in the Genesis Sample theme, which is 3. You used to be able to use this:

//* Add support for 2-column footer widgets
add_theme_support( 'genesis-footer-widgets', 2 );

In fact, the above is still in StudioPress’ tutorial for using Footer Widgets, so you could Imagine my surprise when it no longer worked.

Well, I found the answer buried in a post on the Community Forum. The answer is that StudioPress moved the setting that controls this out of the functions.php file and into:

config/theme-supports.php

Filed Under: WordPress Tagged With: Genesis Framework

Display Featured Image on top of Genesis Framework Posts

September 7, 2014 by Eric Wagner Leave a Comment

Here’s a snippet of code that I re-use often. It will display the post’s featured image above the content but under the entry title on the post page and the front page.

 
/* Display Featured Image on top of the post */ 
add_action( 'genesis_before_entry_content', 'featured_post_image', 8 ); 

function featured_post_image() { 
    if ( ! is_singular( 'post' ) && ! is_front_page() ) 
        return; the_post_thumbnail('post-image'); 
}

Filed Under: WordPress Tagged With: Genesis Framework

Removing Edit Link on Genesis Framework

July 19, 2014 by Eric Wagner Leave a Comment

Here’s how to remove the Edit link that appears at the bottom of posts and pages when using the Genesis Framework for WordPress.

//* Remove the edit link
add_filter ( 'genesis_edit_post_link' , '__return_false' );

Filed Under: WordPress Tagged With: Genesis Framework

Attending WordCamp Maine 2014

July 19, 2014 by Eric Wagner Leave a Comment

Filed Under: WordPress

Attending WordCamp NYC 2014

July 12, 2014 by Eric Wagner Leave a Comment

I’m Attending WordCamp NYC – August 2-3, 2014

Filed Under: WordPress

WordPress Body Home Styling

May 17, 2014 by Eric Wagner Leave a Comment

Here’s a tip (really a reminder for myself) to be able to style the home page differently from the other pages, for example having a special background color or image for the home page.

body { background-color: #000000; }

body.home { background-color: #ffffff; }

Filed Under: WordPress

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to Next Page »

Footer

Connect Online

  • LinkedIn
  • RSS
  • Twitter

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other subscribers

Categories

  • Development
  • General
  • Joomla
  • Linux
  • Mental Note
  • Sales
  • Science
  • Tech Toys
  • Uncategorized
  • Web Hosting
  • WordPress

Tags

Amazon.com Apple Watch cache DigitalOcean Genesis Framework Infographic MAMP WordCamp Yoast

Website Design and Development

Copyright © 2023 · Eric Wagner