• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

johnstrubel

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 22 total)
1 2 →
  • Author
    Posts
  • July 27, 2015 at 2:34 pm in reply to: Community Pro Menu #160620
    johnstrubel
    Member

    That worked. Thanks, Christoph.

    July 27, 2015 at 1:48 pm in reply to: Community Pro Menu #160614
    johnstrubel
    Member

    Thanks, Christoph.

    I see the code. When I changed the display setting to "inline" the page displays the menu option.

    Prior to the nav disappearing it was displaying across the top.

    Is there additional code I need to change the display?

    July 27, 2015 at 1:10 pm in reply to: Community Pro Menu #160609
    johnstrubel
    Member

    Thanks, Jackie.

    This is strange. I checked the code and it is consistent with the sample above.

    I have not added any new plugins or adjusted the code.

    Any other suggestions?

    Appreciate your help ... John

    January 26, 2015 at 9:42 pm in reply to: Featured Image: Eleven40 pro #138730
    johnstrubel
    Member

    The featured images might looked distorted unless you already had them sized to 372x132. If so, just resize the images. A little tedious, I know, but it will look clean and sharp in the end.

    January 26, 2015 at 9:33 pm in reply to: Featured Image: Eleven40 pro #138728
    johnstrubel
    Member

    Click on "appearance" > "editor" > "functions.php"

    Scroll down until you see this code:

    }
    //* Add new featured image size
    add_image_size( 'grid-featured', 372, 132, TRUE );

    Replace the image size from 270, 100 to 372, 132

    Does that help?

    John

    January 26, 2015 at 3:24 pm in reply to: Featured Image: Eleven40 pro #138702
    johnstrubel
    Member

    1. How do I get the Featured Image to show up on the top post of the home page.

    How to add an image below header in eleven40 Pro

    2. On the post excerpts that follow the initial post, my thumbnails are only 270px wide (270 x 100), unlike John’s blog which shows 372?—132 images.

    How to set a default image in Genesis Featured Posts widget

    3. Also love how the single posts his featured images go between the header and the footer, as wide as the page. How is that done?

    I use the Genesis Featured Images Extended plugin: https://wordpress.org/plugins/genesis-minimum-images-extended/

    Maybe these are custom changes and not part of the theme settings. If so, if John is reading this and would not mind sharing…would be much appreciated.

    Note: I have the site set up in “Reading” options to show “Your latest posts” as the set up instructions suggest.

    If I can help in any other way, let me know.

    John Strubel

    January 7, 2015 at 11:28 am in reply to: Social Circles (Minimum) #136293
    johnstrubel
    Member

    Perfect! That did it. THANK YOU so much, Christoph.

    January 6, 2015 at 4:21 pm in reply to: Social Circles (Minimum) #136217
    johnstrubel
    Member

    Hi Christoph:

    Thanks for your help.

    I can’t get the image to display on the featured homepage post using Elven40 Pro. I can see it it the admin panel and it displays on the single post, but not on the homepage.

    You can see the page here: http://www.johnstrubel.com

    One other quick question: Can anyone point me to a tutorial for adding social media icons to the top navigation?

    Thanks in advance for any help.

    Sincerely,

    John

    http://www.johnstrubel.com

    January 4, 2015 at 7:34 pm in reply to: Social Circles (Minimum) #136074
    johnstrubel
    Member

    Hi Christoph:

    Thanks so much for the help. I was able to get the icon to load, but two things:

    1. It resizes the image to 32px instead of 96px
    2. The icon loads on a second line

    I have left this on the site so you can see a visual of what I am talking about: http://www.johnstrubel.com.

    Note: I did change the width size from 25% to 20%

    Any additional help would be greatly appreciated.

    Sincerely,

    John

    September 24, 2013 at 3:41 pm in reply to: Minimum Theme: Category Titles and Images #64024
    johnstrubel
    Member

    Thanks, Brad. Unfortunately these are not what I was looking for.

    September 24, 2013 at 10:33 am in reply to: Minimum Theme: Category Titles and Images #63985
    johnstrubel
    Member

    Hi Brad:

    Thanks again! Here is an update: My page-title.php file looks like ...

    <?php

    if ( is_home() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_404() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Ooops!', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_post_type_archive( 'portfolio' ) || is_singular( 'portfolio') ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Portfolio', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_singular( 'page' ) ) {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() && !is_category( 'blog' ) || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Blog', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() && !is_category( 'print-bylines' ) || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Print Bylines', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() && !is_category( 'audio' ) || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Voices Podcast', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() && !is_category( 'sports-journalism' ) || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Sports Journalism', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    elseif ( is_author() || is_category() && !is_category( 'video' ) || is_date() || is_search() || is_singular() || is_tag() ) {
    echo '<div id="page-title"><div class="wrap"><p>' . __( 'Video', 'minimum' ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }
    else {
    echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '' . __( 'Subscribe Now', 'minimum' ) . '</p></div></div>';
    }

    The problem is, when you click on the categories -- blog, print bylines, podcast -- from the top of the homepage, the titles are displaying on the wrong pages. Any thoughts?

    To clarify on the image request, I can add a static image at the top of my "pages" ( i.e. -- http://johnstrubel.com/about-me/ or http://johnstrubel.com/contact/). I'd like to be able to do this for the categories too (i.e. -- http://johnstrubel.com/category/blog/, http://johnstrubel.com/category/print-bylines/ and http://johnstrubel.com/category/audio/). Does that make sense?

    Any help would be greatly appreciated!

    Sincerely,

    John

    September 23, 2013 at 5:30 pm in reply to: Minimum Theme: Category Titles and Images #63907
    johnstrubel
    Member

    Hi Brad:

    I may have been working on a solution at the time. Can you take a look again?

    Thanks for your help.

    John

    July 5, 2013 at 4:09 pm in reply to: Homepage Image Using Mimimum #49426
    johnstrubel
    Member

    Hi John:

    I did have eleven40 installed prior to switching to Minimum. Should I reinstall the Genesis parent them completely?

    I have deleted all the inactive plugins, those that weren't being used and the plugin directory that was located inside the theme folder (I am at a loss why that was there too). I also deleted all the old themes.

    Still, the link does not work. I will pursue the host and see what I can find out. Thanks for your help.

    John

    July 5, 2013 at 1:27 pm in reply to: Homepage Image Using Mimimum #49382
    johnstrubel
    Member

    John:

    I put the access info in your dropbox. You can use it to access via FTP or login through the browser and look at WordPress.

    I really appreciate you going the extra mile to try and help!

    Sincerely,

    John

    July 5, 2013 at 12:58 pm in reply to: Homepage Image Using Mimimum #49377
    johnstrubel
    Member

    Hi John:

    No cache plugin and, no, I didn't use a subdomain to develop. I loaded the theme -- both Genesis and child theme (Minimum) to the root folder when designing.

    No, I even checked Jetpack, which is installed through WordPress, but nothing is active that would interfere.

    This is so odd. I've never had this type of error before.

    John

    July 5, 2013 at 12:32 pm in reply to: Homepage Image Using Mimimum #49371
    johnstrubel
    Member

    Hi John:

    Not a silly question at all. Here are the folder locations:

    The "functions.php" file is loaded to: /wp-content/themes/minimum

    The "featured-image.jpg" file is loaded to: /wp-content/themes/minimum/images

    John

    July 5, 2013 at 11:52 am in reply to: Homepage Image Using Mimimum #49364
    johnstrubel
    Member

    Hi John:

    Well, I walked through the steps and the file is still displaying as "sample.jpg" with no hyperlink.

    I use Ipswitch FTP software. I checked the setting and transfers and, yes, it is set to binary.

    John

    July 5, 2013 at 10:30 am in reply to: Homepage Image Using Mimimum #49334
    johnstrubel
    Member

    Apologies ... I sent you the Genesis functions.php file first. I've uploaded the child theme functions.php file.

    July 5, 2013 at 10:27 am in reply to: Homepage Image Using Mimimum #49333
    johnstrubel
    Member

    OK. It's in the dropbox

    July 5, 2013 at 10:20 am in reply to: Homepage Image Using Mimimum #49331
    johnstrubel
    Member

    Hi John:

    Yes. I have been able to make other updates to the file, that's what's confusing. Here is the code to the entire file:

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php' );

    /** Set Localization (do not remove) */
    load_child_theme_textdomain( 'minimum', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'minimum' ) );

    /** Child theme (do not remove) */
    define( 'CHILD_THEME_NAME', __( 'Minimum Theme', 'minimum' ) );
    define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/minimum' );

    /** Load Google fonts */
    add_action( 'wp_enqueue_scripts', 'minimum_load_google_fonts' );
    function minimum_load_google_fonts() {
    wp_enqueue_style(
    'google-fonts',
    'http://fonts.googleapis.com/css?family=Open+Sans:400,700',
    array(),
    PARENT_THEME_VERSION
    );
    }

    /** Sets Content Width */
    $content_width = apply_filters( 'content_width', 740, 740, 1140 );

    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'minimum_add_viewport_meta_tag' );
    function minimum_add_viewport_meta_tag() {
    echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
    }

    /** Add new image sizes */
    add_image_size( 'header', 1600, 9999, TRUE );
    add_image_size( 'portfolio', 330, 230, TRUE );

    /** Add support for custom background */
    add_theme_support( 'custom-background' );

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    'width' => 1140,
    'height' => 100
    ) );

    /** Remove Site Tag Line **/
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

    /** Unregister layout settings */
    genesis_unregister_layout( 'content-sidebar-sidebar' );
    genesis_unregister_layout( 'sidebar-content-sidebar' );
    genesis_unregister_layout( 'sidebar-sidebar-content' );

    /** Unregister secondary sidebar */
    unregister_sidebar( 'sidebar-alt' );

    /** Add support for structural wraps */
    add_theme_support( 'genesis-structural-wraps', array(
    'header',
    'nav',
    'subnav',
    'inner',
    'footer-widgets',
    'footer'
    ) );

    /** Add the featured image section */
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo '<div id="featured-image"></div>';
    }
    elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    echo '<div id="featured-image">';
    echo get_the_post_thumbnail($thumbnail->ID, 'header');
    echo '</div>';
    }
    }

    /** Add the page title section */
    add_action( 'genesis_after_header', 'minimum_page_title' );
    function minimum_page_title() {
    require_once( get_stylesheet_directory() . '/page-title.php' );
    }

    /** Customize the post info function */
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter( $post_info ) {
    if ( !is_page() ) {
    $post_info = __( 'Posted on', 'minimum' ) . ' [post_date] // [post_comments] [post_edit]';
    return $post_info;
    }}

    /** 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 before="' . __( 'Filed Under: ', 'minimum' ) . '"] // [post_tags before="' . __( 'Tagged: ', 'minimum' ) . '"]';
    return $post_meta;
    }}

    /** Modify the size of the Gravatar in the author box */
    add_filter( 'genesis_author_box_gravatar_size', 'minimum_author_box_gravatar_size' );
    function minimum_author_box_gravatar_size( $size ) {
    return '96';
    }

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

    /** Add custom footer if widget area is used */
    add_action( 'genesis_footer', 'minimum_custom_footer', 6 );
    function minimum_custom_footer() {

    if ( is_active_sidebar( 'custom-footer' ) ) {

    remove_action( 'genesis_footer', 'genesis_do_footer' );
    echo '<div class="custom-footer">';
    dynamic_sidebar( 'custom-footer' );
    echo '</div><!-- end .custom-footer -->';

    }
    }

    /** Create portfolio custom post type */
    add_action( 'init', 'minimum_portfolio_post_type' );
    function minimum_portfolio_post_type() {
    register_post_type( 'portfolio',
    array(
    'labels' => array(
    'name' => __( 'Portfolio', 'minimum' ),
    'singular_name' => __( 'Portfolio', 'minimum' ),
    ),
    'exclude_from_search' => true,
    'has_archive' => true,
    'hierarchical' => true,
    'menu_icon' => get_stylesheet_directory_uri() . '/images/icons/portfolio.png',
    'public' => true,
    'rewrite' => array( 'slug' => 'portfolio' ),
    'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes', 'genesis-seo' ),
    )
    );
    }

    /** Change the number of portfolio items to be displayed (props Bill Erickson) */
    add_action( 'pre_get_posts', 'minimum_portfolio_items' );
    function minimum_portfolio_items( $query ) {

    if( $query->is_main_query() && !is_admin() && is_post_type_archive( 'portfolio' ) ) {
    $query->set( 'posts_per_page', '12' );
    }

    }

    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-featured-1',
    'name' => __( 'Home Featured #1', 'minimum' ),
    'description' => __( 'This is the home featured #1 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-2',
    'name' => __( 'Home Featured #2', 'minimum' ),
    'description' => __( 'This is the home featured #2 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-3',
    'name' => __( 'Home Featured #3', 'minimum' ),
    'description' => __( 'This is the home featured #3 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-4',
    'name' => __( 'Home Featured #4', 'minimum' ),
    'description' => __( 'This is the home featured #4 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'custom-footer',
    'name' => __( 'Custom Footer', 'minimum' ),
    'description' => __( 'This is the custom footer section.', 'minimum' ),
    ) );

    Does anything look out of place to you?

    Thanks for all your help!

    John

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 22 total)
1 2 →

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble