• 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

Brad

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 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • January 1, 2016 at 1:37 am in reply to: additional layouts for Atmosphere Pro Theme ? #175305
    Brad
    Member

    I took a quick look and these are the basic steps you would need to take to add content/sidebar and sidebar/content back to Atmosphere Pro.

    Several snippets of code would need to be removed or commented out in the functions file:

    add_filter( 'genesis_site_layout', '__genesis_return_full_width_content' );

    unregister_sidebar( 'sidebar' );

    genesis_unregister_layout( 'content-sidebar' );
    genesis_unregister_layout( 'sidebar-content' );

    You would then need to grab the entire main section of CSS labeled "Column Widths and Positions" from the Sample theme and add that back into the style.css file of Atmosphere Pro.

    You would then need to adjust the CSS in the Atmosphere Pro style.css to accommodate the sidebar. This would likely involve giving content/sidebar and sidebar/content pages less padding so that you can give some decent width to the content and sidebar.

    I'm guessing that you would need to set full width as your default layout and then choose content/sidebar or sidebar/content layout for specific pages.

    Hope that gets you pointed in the right direction and as always do this on a copy of your theme to make sure it works first.

    September 5, 2015 at 1:27 pm in reply to: Problem with Schema with Genesis 2.2 #164678
    Brad
    Member

    @Nathan-Rice
    Very kind offer and I would appreciate that very much. I've looked at what I wrote 2 years ago (with assistance from Gary) and I'm scratching my head wondering what to do!

    I was looking at markup.php and it seems like a lot of changes have happened. My summer break is over and I'm back at my full-time job so I welcome any PRs.

    https://github.com/bradpotter/microdata-manager

    September 4, 2015 at 10:36 pm in reply to: Problem with Schema with Genesis 2.2 #164638
    Brad
    Member

    Uh Oh, what broke? That was my very first plugin so it likely needs improving.

    June 17, 2014 at 2:43 am in reply to: Agency Pro Homepage Widget Layout Help #110140
    Brad
    Member

    Make a backup of your style sheet.
    I can kind of point you in the right direction:

    Change this:

    .agency-pro-home .featuredpost .entry {
    background: none;
    float: left;
    width: 33.33334%;
    }

    to:

    .agency-pro-home .featuredpost .entry {
    background: none;
    float: left;
    width: 50%;
    }

    Then change:

    .home-bottom .featuredpost .post:nth-of-type(3n+1),
    .home-middle .featuredpost .post:nth-of-type(3n+1) {
    clear: left;
    }

    to:

    .home-bottom .featuredpost .post:nth-of-type(3n+1),
    .home-middle .featuredpost .post:nth-of-type(2n+1) {
    clear: left;
    }

    You will likely have to do some other tweaking on the image size settings and re-uploading the images. Might also have to tweak some of the min-height: settings in the media queries.

    June 17, 2014 at 2:16 am in reply to: Removing site tagline and footer widgets on minimumpro inner pages #110137
    Brad
    Member

    Something like this code placed in your functions file before the " //* Register widget areas " section should work. Basically it says if it's the front page do nothing otherwise remove the site tagline and footer widgets. Don't forget to make a backup copy of your functions file before editing it.

    
    add_action( 'after_setup_theme', 'remove_widget_areas' );
    function remove_widget_areas() {
    
    	if( is_front_page() )
    		return;
    	
    	remove_action( 'genesis_after_header', 'minimum_site_tagline' );
    	remove_theme_support( 'genesis-footer-widgets', 3 );
    }
    
    June 17, 2014 at 1:44 am in reply to: How to remove white-space on right side of site? #110133
    Brad
    Member

    Looks like this is being caused by the exessive padding in the following CSS:

    .epik-darkblue #subnav {
    	background: #0274BE;
    	padding-left: 640px;
    }
    

    You also have a problem with the sidebar not fully displaying in your first media query. I'm guessing the width of the content and sidebar exceed the 960px width set in that query. When overflow: hidden; is applied for clearing purposes, it will chop off any content that exceeds its width.

    November 1, 2013 at 4:35 pm in reply to: Default Schema Markup Incorrect? #70399
    Brad
    Member

    Sorry I'm so late here but Microdata Manager does support custom post types

    In your functions file, add this:

    add_post_type_support( 'your-cpt-name', array( 'microdata-manager' ) );

    Replace "your-cpt-name" with the actual name of your custom post type

    October 31, 2013 at 11:27 pm in reply to: Plugin or coding for Custom Posts ? #70245
    Brad
    Member

    One of my favorites:

    http://pippinsplugins.com/easy-content-types/

    Offers best of both worlds
    "Export code for custom post types for use on sites without the plugin"

    September 1, 2013 at 5:03 pm in reply to: implement Schema.org markup #60121
    Brad
    Member

    Thanks. Keep in mind the plugin only allows changes to the specific microdata settings. Genesis uses microdata on many elements that the plugin does not cover but those were elements that I didn't think would ever need to be changed.

    September 1, 2013 at 4:53 pm in reply to: Add Optin Box over Minimum Pro Front Page Image #60115
    Brad
    Member

    You would keep the code you wrote in the functions file. I added the following code to my Minimum Pro theme. I placed the code in the front-page.php file. You would substitute "home-optin" for "home-top-full" below.

    
    //* Add widget area to front page
    add_action( 'genesis_after_header', 'minimum_home_top', 15 );
    function minimum_home_top() {
    
    	printf( '<div %s>', genesis_attr( 'home-top' ) );
    	genesis_structural_wrap( 'home-top' );
    
    		genesis_widget_area( 'home-top-full', array(
    			'before'=> '<div class="home-top-full widget-area">',
    			'after'	=> '</div>',
    		) );
    
    	genesis_structural_wrap( 'home-top', 'close' );
    	echo '</div>'; //* end .home-top
    
    }
    

    In your style sheet you would add styles to .home-top

    September 1, 2013 at 4:42 pm in reply to: implement Schema.org markup #60111
    Brad
    Member

    That post also mentions how to change the default Schema within Genesis 2.0. If you ever want to change the existing Schema settings in Genesis 2.0 HTML5, I wrote a handy plugin for that which @GaryJ reviewed and refined. http://wordpress.org/plugins/microdata-manager/

    February 25, 2013 at 4:25 pm in reply to: Crystal Navigation Shifting #22773
    Brad
    Member

    I was incorrect about the padding adding to the problem but yes changing the widget area dimensions fixes it. I further inspected your source code and noticed this:

    <title>Blog — Just another WordPress site</title>
    <style type="text/css">
    .header-image #header #title-area {
    width: 400px;
    height: 120px;
    background: url(http://cpluscreative.com/wordpress/wp-content/uploads/2012/10/logocopy.png) no-repeat!important;
    }
    </style>

    So with that logo image being 400px wide you have to make sure the remaining width allotted for the header widget area doesn't exceed 560px

    The logo has a lot of extra space to the right of it so you could crop it to free up more width for the header widget area and adjust the CSS accordingly.

    January 22, 2013 at 11:19 pm in reply to: changing blogpost order for a category #13999
    Brad
    Member

    This would yield a different url but one method would be to create a page and then assign the blog template to that page. Next you would create a custom field in that page with the name of query_args. The value of that custom field would be something like cat=x&orderby=date&order=ASC

    x = the ID of the category

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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