• 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

daymobrew

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 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • January 27, 2016 at 3:09 pm in reply to: Centric Pro – how do reduce footer widgets to 3? #177693
    daymobrew
    Member

    I have figured out how/when to unregister_sidebar('footer-4'). Here is my full code:

    // Change from 4 footer widgets to 3. Both add_action() calls are necessary.
    // This action sorts out the front end.
    add_action ( 'genesis_before_header', 'rd_footer_widgets_count', 2 );
    function rd_footer_widgets_count() {
        // Change from 4 footer widgets to 3.
        remove_theme_support( 'genesis-footer-widgets' );
        add_theme_support( 'genesis-footer-widgets', 3 );
    }
    // This code unregisters the footer-4 sidebar for the backend.
    add_action('widgets_init', 'rd_disable_footer_widget_4', 1);
    function rd_disable_footer_widget_4() {
        unregister_sidebar('footer-4');
    }

    I tried using only the 'widgets_init' hook but the footer-4 sidebar is still rendered on the front end!!

    January 27, 2016 at 2:09 pm in reply to: Centric Pro – how do reduce footer widgets to 3? #177689
    daymobrew
    Member

    My plugin is only for use with Centric Pro. I don't want to edit the Centric Pro theme files - I do realise that it is unlikely to change but I want to the customisations the right way.

    In centric-pro/functions.php it has

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

    I am not exactly sure when this is run (it is not within an add_action function) so I have looked to see where the register_sidebar() function is called and working back from that.
    genesis_register_widget_area() contains a call to register_sidebar()
    genesis_register_footer_widget_areas() calls genesis_register_widget_area()
    genesis_register_default_widget_areas() adds genesis_register_footer_widget_areas() to the 'after_theme_setup' hook.

    This last bit is why I was trying to call my function with the 'after_theme_setup' hook with an earlier priority.

    January 4, 2016 at 9:52 am in reply to: Feedback – Modern Portfolio #175556
    daymobrew
    Member

    No other comments at the moment.

    January 4, 2016 at 6:47 am in reply to: Feedback – Modern Portfolio #175541
    daymobrew
    Member

    The slider size is good but the slide image sizes are inconsistent and therefore the slider height goes up and down.

    December 21, 2015 at 4:46 am in reply to: Author Pro-Remove tags from Library book pages #174451
    daymobrew
    Member

    From looking at the Author Pro code I think that you need to add the following code to the author-pro/functions.php:

    // Disable the 'Tagged with:' footer section.
    // Returns empty string and this results in the footer not being displayed.
    // See genesis_author_pro_book_footer() in  plugin genesis-author-pro/functions/template.php
    add_filter('genesis_author_pro_footer_meta', 'as_no_book_tags');
    function as_no_book_tags($footer_content) {
        return '';  // When an empty string is returned the footer will not be displayed.
    }
    
    December 21, 2015 at 3:59 am in reply to: Feedback – Modern Portfolio #174448
    daymobrew
    Member

    The domain has expired.

    December 21, 2015 at 3:58 am in reply to: animation/slider/ and text show when rolled over it. #174447
    daymobrew
    Member

    Can you provide a url showing what you currently have and take a screenshot and use it to highlight what you are trying to achieve.

    December 18, 2015 at 2:53 pm in reply to: Add Cyrillic fonts #174285
    daymobrew
    Member

    When I look at the source for your site, the Google Fonts link is a 404 at Google.

    To use Lora font, with 400 and 700 weights and Latin and Cyrillic subsets you use:
    <link href='https://fonts.googleapis.com/css?family=Lora:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>

    In functions.php this would be:
    wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Lora:400,700&subset=latin,cyrillic', array(), PARENT_THEME_VERSION );

    What does your functions.php have?

    December 18, 2015 at 2:47 pm in reply to: How to customize homepage? #174284
    daymobrew
    Member

    I think that you need a SEO plugin, like Yoast SEO, to set the canonical url for each post. This will tell Google where the original page is and then you will not have duplicate content.

    You will get something link this in your markup for each post/page:
    <link href="http://www.bpmwatch.com/columns/top-5-online-courses-on-big-data/" rel="canonical" />

    August 6, 2014 at 3:49 pm in reply to: Agency Pro Home Middle – Space Between Entries #117445
    daymobrew
    Member

    You're welcome.

    After the time it took, I'm glad it worked 🙂

    August 6, 2014 at 1:06 am in reply to: Agency Pro Home Middle – Space Between Entries #117294
    daymobrew
    Member

    I used Chrome Developer Tools to make virtual CSS changes so I cannot be 100% sure that they will work

    The important changes are the width reduction from 33.333% to 30% and the margin-left/margin-right 5%.
    In reinventingher.com it has nth-child(3) but that doesn't make sense as that would target the last element on the row. I changed it to nth-child(2) on your site and it worked.

    .home-middle .featuredpost .entry {
      background: none; 
    }
    .agency-pro-home .content .widget {
      background: none;
    }
    
    .agency-pro-home .featuredpost .entry {
      width: 30%; /* Was 33.33333% */
    }
    
    .featuredpost article:nth-child(2) {  /* Was (2) */
      float: left !important;
      margin-left: 5% !important;
      margin-right: 5% !important;
    }
    

    Add those to the bottom of the stylesheet or to the "Header or Footer Scripts" area in the Genesis area of the dashboard.

    Screenshot: http://imgur.com/qnFnJkS

    July 29, 2014 at 1:36 pm in reply to: Agency Pro Home Middle – Space Between Entries #116252
    daymobrew
    Member

    @Bauhinia: Can you post a link to the site that you are working on so that we can experiment with the CSS to give accurate answers for you.

    I don't know why KM's reply from May 29 is marked as Private. I cannot see it.

    May 28, 2014 at 2:30 pm in reply to: Agency Pro Home Middle – Space Between Entries #107189
    daymobrew
    Member

    It looks like the width is reduced from 33.33334% to 30%

    .agency-pro-home .featuredpost .entry {
      width: 30%;
    }

    It also has:

    .featuredpost article:nth-child(3) {
      float: left !important;
      margin-left: 5% !important;
      margin-right: 5% !important;
    }

    Can you post a link to the site that you are working on so that we can experiment with the CSS to give accurate answers for you.

    May 28, 2014 at 1:54 pm in reply to: Flip position of site title and description #107182
    daymobrew
    Member

    I am curious, why did you want to do that?
    Could it have been achieved by changing Site Title and Tagline in Settings/General?

    May 28, 2014 at 1:22 am in reply to: Agency Pro Home Middle – Space Between Entries #107090
    daymobrew
    Member

    They have

    .home-middle .featuredpost .entry {
      min-height: 342px;
    }
    May 28, 2014 at 1:18 am in reply to: Font Awesome icons with a circular background #107088
    daymobrew
    Member

    I love the spinning.

    May 27, 2014 at 10:14 am in reply to: Font Awesome icons with a circular background #107002
    daymobrew
    Member

    What is the problem - is it the dotted line under the Font Awesome icons?

    If so, they are because of the border-bottom style on the 'a'
    border-bottom: 1px dotted #333

    You could disable this for the FA icons with something like:

    .circle-icon a {
      border-bottom: none
    }
    May 27, 2014 at 6:13 am in reply to: Font Awesome icons with a circular background #106946
    daymobrew
    Member

    Can you post a link to the page where your changes can be seen?
    (http://ilzerudzite.com/ is using circular images)

    April 21, 2014 at 2:26 am in reply to: How to use post_id > #101595
    daymobrew
    Member

    You could try using the get_the_ID() function.

    /* Code to 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’ ) ) return;
      if (18800 > get_the_ID()) {
        the_post_thumbnail(‘post-image’);
      }
    }
  • Author
    Posts
Viewing 19 posts - 1 through 19 (of 19 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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