• 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

msummers

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 30 total)
1 2 →
  • Author
    Posts
  • March 6, 2017 at 3:37 pm in reply to: Center Featured Image #202605
    msummers
    Member

    Thanks, Victor - I guess that might help! Try http://new.gerickeusa.com/company/

    October 14, 2016 at 12:30 pm in reply to: Outreach Pro and responsive menu #194748
    msummers
    Member

    What a relief! That works fine. I'm so happy it was a simple oversight on my part. While you are here, can I ask you how to turn those Font Awesome carats on the right of the menu options black? I've tried setting .nav-primary .genesis-nav-menu.responsive-menu > .menu-item-has-children:before {
    color: rgba(255, 255, 255,1);
    }
    using Chrome and it works, but when I put that in my custom CSS mobile styles it doesn't, even with !important.

    September 1, 2016 at 7:25 am in reply to: Remove featured image link #192458
    msummers
    Member

    Apologies - I can see that I was mistaken.

    Here's the situation - I am using Bill Erickson's display-posts short code to display the most recent post along with its featured image in a text widget on the home page of the site. I noticed that there was a link on that image contained in the widget and assumed that it was a link to the enlarged image. In fact, it's a link to the full post. I am OK with that, so I withdraw my question! But thanks for the speedy reply. 🙂

    Murray

    August 15, 2016 at 7:58 am in reply to: Genesis Responsive Slider in bi-lingual site #191294
    msummers
    Member

    Oh that's excellent! Thank you so much, MortenK.

    June 3, 2016 at 9:33 am in reply to: Remove Widget Areas from Outreach Pro #186865
    msummers
    Member

    Thanks, Christoph. From my perspective, it's definitely worth the hassle! I am eager to learn how to do these things, you see... 🙂

    Anyhow, I do know how to register a widget area already - that's not my problem. What I need to know is what should I do to UNREGISTER the widget area (from a child theme) when that widget area is defined in the parent Genesis lib folder in a file called widgetize.php. Can I just add a 'lib' folder to my child theme and add modifications to a newly created 'widgetize.php' file in that child's new lib folder? And would I need to UNREGISTER the original widget area first? If so, can you tell me how to do that, please?

    May 27, 2016 at 7:21 am in reply to: Remove Widget Areas from Outreach Pro #186376
    msummers
    Member

    Let me clarify my question:

    In the Genesis lib folder there is a file called widgetize.php where the 'genesis-specific' widget areas are created. This is where the code is that forms those (potentially) 4 footer widget areas. The code is -

    function genesis_register_footer_widget_areas() { 
    
    $footer_widgets = get_theme_support( 'genesis-footer-widgets' ); 
    
    if ( ! $footer_widgets || ! isset( $footer_widgets[0] ) || ! is_numeric( $footer_widgets[0] ) ) 
    return; 
    
    $footer_widgets = (int) $footer_widgets[0]; 
    
    $counter = 1; 
    
    while ( $counter <= $footer_widgets ) { 
    genesis_register_widget_area( 
    array( 
    'id' => sprintf( 'footer-%d', $counter ), 
    'name' => sprintf( __( 'Footer %d', 'genesis' ), $counter ), 
    'description' => sprintf( __( 'Footer %d widget area.', 'genesis' ), $counter ), 
    '_genesis_builtin' => true, 
    ) 
    ); 
    
    $counter++; 
    } 
    
    } 

    I can limit that code to a single widget area by using the previously mentioned 'add_theme_support()' function so that the widget area will only support a single widget. What I would like to do now is to change this code -

    'name' => sprintf( __( 'Footer %d', 'genesis' ), $counter ), 
    'description' => sprintf( __( 'Footer %d widget area.', 'genesis' ), $counter ), 
    

    to a custom name and description. It seems like I'd need to unregister that widget area and then redefine it in Outreach Pro's functions.php file, but how to I do that? Neither 'unregister_widget_area' nor 'unregister_sidebar' seem to work.

    Thanks for any further help!

    May 25, 2016 at 10:11 am in reply to: Remove Widget Areas from Outreach Pro #186265
    msummers
    Member

    Got it! I added this to my child-theme's functions.php:

    add_theme_support( 'genesis-footer-widgets',1);

    and the other 3 widget areas disappeared. Now how can I change that widget area's description and title?

    May 25, 2016 at 8:44 am in reply to: Remove Widget Areas from Outreach Pro #186260
    msummers
    Member

    Thanks, Brad! But the code for these widget areas (footer1-5) is not in my functions file. I can see the loop that adds them in the parent functions file, but I'm not clear on how to just remove 2-4 and leave footer1 in place. I suppose there is an unregister_sidebar() command that I can use, but can you help with the use of that?

    April 4, 2016 at 8:36 am in reply to: Outreach Pro – adding ID to structural tag #182881
    msummers
    Member

    Well, that takes care of that! Thanks again, Victor...

    April 4, 2016 at 5:47 am in reply to: Outreach Pro – adding ID to structural tag #182866
    msummers
    Member

    Yes - that works beautifully. I'm still curious as to how it targets that specific tag, though. Thank you, Victor.

    April 4, 2016 at 5:34 am in reply to: Outreach Pro – adding ID to structural tag #182865
    msummers
    Member

    Victor - thanks so much. That's exactly what I was looking for. But how will that filter add the attribute to that <main> tag specifically? Anyhow, I'll try it and see what happens...

    March 9, 2016 at 9:28 am in reply to: Widget Formatting Help #181012
    msummers
    Member

    Can you show us the code in your recipe search widget, please?

    February 5, 2016 at 6:18 am in reply to: Display specific category list in sidebar with custom format #178376
    msummers
    Member

    That's great - thanks! Is there any way to suppress the anchor around the post title?

    February 4, 2016 at 1:32 pm in reply to: Display specific category list in sidebar with custom format #178326
    msummers
    Member

    I hate to miss really obvious ones like that, but THANK YOU! Of course that works. Now I have a follow-on question:

    Check the page at http://www.ubymca.org/WP-Y and see that I am using the featured posts widget to list headlines from a group of posts with the category "whats-new". I would love to be able to have this list do one of the following:

    * have the link on the headline not link to the individual post but rather to the link that is shown on the individual post
    * have the headline display a link underneath so that the reader can just go directly to the linked site/pdf instead of having to cycle through the post itself. When I try to put that link in the body of the post, the link only works on the post itself, not in this list - apparently the HTML for the anchor tag is stripped out and so it only displays the link text without the anchor tag.

    (don't worry about the format of the individual posts - it's under development)

    I reckon that the second wish on my wish list is the better one because I don't think I can specify any target link for each individual headline...

    January 29, 2016 at 2:01 pm in reply to: Custom widget and page content #177834
    msummers
    Member

    OK - I used the genesis_before_content action hook and that seems to work well!

    January 28, 2016 at 1:21 pm in reply to: Custom widget and page content #177759
    msummers
    Member

    Well, that's a good question. By adding it to the loop am I placing it below the content?

    January 28, 2016 at 6:34 am in reply to: Custom widget and page content #177721
    msummers
    Member

    Hi, Cristoph - thanks for the reply! You have helped me before and I appreciate it.

    The widget is defined in functions.php -
    //* Register GWS widget areas
    genesis_register_sidebar( array(
    'id' => 'activities',
    'name' => __( 'Activities', 'GWS' ),
    'description' => __( 'This is above the content section of the page.', 'GWS' ),
    ) );
    // End GWS

    To place this widget on the site pages, I made a copy of the front-page template. After editing out the home page conditional, I added this action -
    //* Add Activities widget
    add_action( 'genesis_loop', 'GWS_activities_widgets' );

    and defined this function -
    // GWS function for Activities
    function GWS_activities_widgets() {

    genesis_widget_area( 'activities', array(
    'before' => '<div class="activities widget-area">',
    'after' => '</div>',
    ) );

    }
    add_action( 'activities-top', 'GWS_activities_widgets',1 );

    //End GWS

    Am I hopelessly confused?

    The page in question can be seen at http://www.ubymca.org/WP-Y/sample-page, and due to recent hacks by me, the page is no longer showing any content! Prior to that it would show the content, but it would be above the activities widget.

    Let me know if you need more information, please!

    January 22, 2016 at 2:23 pm in reply to: Widget Formatting Help #177204
    msummers
    Member

    Right now, your code looks like this -

    </select>
    <br/><select name='recipe-post_tag' id='recipe-post_tag' class='postform' >

    The same is true for the next <select> tag. Just remove the <br/> and apply a bit of right margin to the select tag...

    January 22, 2016 at 1:51 pm in reply to: Media Query & iPhone #177201
    msummers
    Member

    Of course, you were right - I was astonished by how many absolute widths had crept into my code. I suppose I put them there early on thinking "I will come back to this and change it" and then forgot to do so. I was able to correct the smartphone display with your modifications and a few more of mine, so thanks again for this!

    January 20, 2016 at 2:27 pm in reply to: Media Query & iPhone #177041
    msummers
    Member

    Goodness - that's very kind of you. Thank you so much for this extensive help. I'm sure you are on to something here and will post back with the results.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 30 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