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

eric c wagner

ramblings, musings, and WordPress

  • About

Tag: Genesis Framework

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

Category Page Titles in Genesis Framework

March 30, 2014 by Eric Wagner Leave a Comment

This weekend I noticed the name of the category wasn’t appearing at the top of the category pages on this site and another site I run, which are both WordPress sites running the Genesis Framework. You’d think this would be default functionality (spoiler: it is, but I never RTFM.)

[Read more…] about Category Page Titles in Genesis Framework

Filed Under: WordPress Tagged With: Genesis Framework

Removing the Website field from the Genesis Framework’s Comment Form

March 21, 2014 by Eric Wagner Leave a Comment

Here’s a snippet of code to add to your Genesis Framework child theme in order to remove the Website field on your comment form. Add this to the functions.php file in your child theme’s folder.

//* Remove the website field from the comment form
add_filter( 'genesis_comment_form_args', 'url_filtered' ); 
add_filter( 'comment_form_default_fields', 'url_filtered' ); 
function url_filtered( $fields ) { 
    if ( isset( $fields['url'] ) ) unset( $fields['url'] ); 
    if ( isset( $fields['fields']['url'] ) ) unset( $fields['fields']['url'] ); 
    return $fields; 
} 

Filed Under: WordPress Tagged With: Genesis Framework

Digital Ocean A Couple Of Months Later

January 18, 2014 by Eric Wagner Leave a Comment

A few months have passed since I created this site on a DigitalOcean hosted VPS. I haven’t blogged much, but I’ve been making tweaks behind the scenes to see what affects performance and what doesn’t. Some of that takes time as I’ll make a tweak and wait a few days to see what impact it had, and then I’ll make another tweak.

[Read more…] about Digital Ocean A Couple Of Months Later

Filed Under: WordPress Tagged With: DigitalOcean, Genesis Framework

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