• 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

sahdow

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 - 21 through 40 (of 56 total)
← 1 2 3 →
  • Author
    Posts
  • November 30, 2012 at 9:51 am in reply to: Creating Custom Pages #2526
    sahdow
    Participant

    functions.php and you page can not use the same ids as the home page or it will load the widgets from the home page unless you use conditional logic.

    Re-read the top of my last post

    November 30, 2012 at 7:45 am in reply to: Creating Custom Pages #2490
    sahdow
    Participant

    You can't do that with the plugin (making an internal page that looks like the homepage). Sidebar is a term used by WordPress for all widgeted areas even if they are in the footer.

    Using the information on the page Sozu referenced, specifically "Register Your Sidebar" , the easiest way to do it is.

    Copy content of home into custom page template, copy widgetet areas from functions and paste into fucntions.

    Change the ID and Name in the "register your sidebar code" so it is unique;

    Easiest way would be to simply change id from home to page (ie page-slider, page-top, page-cta, page-middle)

    Note bolded areas - also, you will hoave to make any necessary CSS modifications once you get the widgets working

    /** Register widget areas **/
    genesis_register_sidebar( array(
    'id' => 'home-slider',
    'name' => __( 'Home - Slider', 'executive' ),
    'description' => __( 'This is the slider section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-top',
    'name' => __( 'Home - Top', 'executive' ),
    'description' => __( 'This is the top section of the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-cta',
    'name' => __( 'Home - Call To Action', 'executive' ),
    'description' => __( 'This is the call to action section on the home page.', 'executive' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-middle',
    'name' => __( 'Home - Middle', 'executive' ),
    'description' => __( 'This is the middle section of the home page.', 'executive' ),
    ) );

    change the id in the code of the custom page template to match the same changes.

    <!--?php /**
    * This file adds the custom template to the Executive Child Theme.
    *
    * @author StudioPress
    * @package Generate
    * @subpackage Customizations
    */

    /*
    Template Name: Custom
    */

    function executive_home_genesis_meta() {

    if ( is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-cta' ) || is_active_sidebar( 'home-middle' ) ) {

    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'executive_home_sections' );
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    add_filter( 'body_class', 'executive_body_class' );
    add_action( 'genesis_after', 'executive_slider_excerpt_position' );

    /** Add body class to home page **/
    function executive_body_class( $classes ) {
    $classes[] = 'executive-home';
    return $classes;
    }

    /** Moves the slider pager if the sidebars are active and the screen is wide enough */
    function executive_slider_excerpt_position() {
    ?>
    <script type="text/javascript">
    jQuery(document).ready(function() {
    if (jQuery(".slide-excerpt").length > 0) {
    jQuery(".flex-control-nav").addClass("nav-pos-excerpt");
    }
    });
    </script>
    <!--?php }
    }
    }

     

    function executive_home_sections() {

    if ( is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-cta' ) || is_active_sidebar( 'home-middle' ) ) {

    genesis_widget_area( 'home-slider', array(
    'before' => '<div class="home-slider widget-area">',
    ) );

    genesis_widget_area( 'home-top', array(
    'before' => '<div class="home-top widget-area">',
    ) );

    genesis_widget_area( 'home-cta', array(
    'before' => '<div class="home-cta widget-area">',
    ) );

    genesis_widget_area( 'home-middle', array(
    'before' => '<div class="home-middle widget-area">',
    ) );

    }

    }

    genesis();

     

     

    November 28, 2012 at 11:00 pm in reply to: Genesis Featured posts and internet explorer #2222
    sahdow
    Participant

    Well based on what I saw, any OS using Ie ( Vista, Windows 7  &, Windows 8) looks good. It's compatibility mode where the issues crop up.If you or the client need it to display better for IE 8 or older, focus on ie css that impacts margin and padding.

    November 28, 2012 at 10:29 pm in reply to: Slider help #2215
    sahdow
    Participant

    Depending on your theme, you can apply the slider based on it' developer's instructions.

    Based on what I viewed in the install instructions for the slider mentioned above, you can either edit home.php to add a new segment (ID) above the existing widgets and below the navigation or use the built in widgets of the theme's home page in conjunction with php widget  and the plugins settings page.

     

    November 28, 2012 at 10:20 pm in reply to: Genesis Featured posts and internet explorer #2214
    sahdow
    Participant

    First, can you supply a link to the site?

    Now here's the thing about IE - MS refuses to accept that they aren't back in the 90's and no longer dominate the development of technology; with that said, I still pay attention to IE.

    Here's the problem - you need to look at the version of IE you are using (pay attention to MS supporting that version) because MS isn't even standard between it's own versions (9 is almost usable, 8 , 7 are ok, 6 forget about it - no ROI on the conversion Time X Cost) . Long and short of it is this. Which version of IE and is it a supported browser (example IE 9 isn't available on XP). If you want to support older versions, best solution is to custom code a style sheet just for ie (also pay attention to compatability view vs regular view).

    If you are using IE 9, search on css for IE 9 and you will find some items aren't supported that are in all other major browsers.

    BTW just so you know, I hate MACs, did tech support for them for over a decade and user friendly is only as good as the user - A.K.A. my response isn't anti MS.

     

     

    November 28, 2012 at 9:36 pm in reply to: Forum Integration Tutorial #2211
    sahdow
    Participant

    I haven't played with forums in a while, but integration isn't a "Genesis" issue so much as a WordPress - BBPress issue.

    November 28, 2012 at 9:33 pm in reply to: Syntax Editor #2210
    sahdow
    Participant

    Thanks for the response Nick, my next question was if you were using BBPress - but you answered that already..

    November 28, 2012 at 11:40 am in reply to: [Delicious] Remove "Home featured" slider #2055
    sahdow
    Participant

    I pretty much always use the same themes, so not positive on this one but..

    Try adding bottom margin or clear to #home h4 or #home "widget class" h4

    widget class where widget is the name of the home left (varies from theme to theme)

    November 28, 2012 at 10:54 am in reply to: Content Width #2044
    sahdow
    Participant

    Decrease #content width in teh CSS by the amount you increase #content padding width

    Meant margin not padding there, but no edit link so I couldn't remove from earlier post

    November 28, 2012 at 8:49 am in reply to: Content Width #2019
    sahdow
    Participant

    Decrease #content width in teh CSS by the amount you increase #content padding width. Or you could just reduce content width as the float is set to left.

    Example:

    #content {
    float: left;
    padding: 10px 0 20px;
    width: 420px;
    }

    Possible Change:

    #content {
    float: left;
    padding: 10px 10px 20px 0;
    width: 410px;
    }

    November 28, 2012 at 8:41 am in reply to: [Delicious] Remove "Home featured" slider #2016
    sahdow
    Participant

    Remove from home.php and first widget from functions.php

    You need to adjust alignment of your post image, try adding a top-margin to your .attachment-thumbnail class

    November 28, 2012 at 8:04 am in reply to: LUSCIOUS THEME – change format/layout of POST pages #2011
    sahdow
    Participant

    Failure to remove brackets will most likely result in a fatal error

    /** Add custom field above post title */
    add_action( 'genesis_before_post_title', 'luscious_post_image', 8 );
    function luscious_post_image() {

    if ( is_page() )
    return;

    if ( $image = genesis_get_image( 'format=url&size=post-photo' ) ) {
    printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    }

    }

    November 27, 2012 at 7:41 pm in reply to: LUSCIOUS THEME – change format/layout of POST pages #1965
    sahdow
    Participant

    I believe that's what you want to remove. Instead of commenting it out, try cutting it. Just make certain to get the entire snippet.

    All ( and { will be paired with their opposites.

    November 27, 2012 at 7:31 pm in reply to: Generate sidebar width #1963
    sahdow
    Participant

    Did you fix? Looks ok to me, unless I'm not understanding the description of what isn't working.

    unless you are talking about the Kohls advert ?

    November 24, 2012 at 1:58 pm in reply to: Minimum Theme Homepage Question #1505
    sahdow
    Participant

    This should help you get started.

    http://www.briangardner.com/home-widget-area-eleven40/

     

    November 23, 2012 at 7:43 pm in reply to: Need Trade Show Booth Registration / Purchase Form / Taking money #1443
    sahdow
    Participant

    For the PayPal stuff, I think you need to get the plugin (included free in your GF license), but once you play with Gravity Forms, you will ask yourself why you ever tried forms with WP any other way - one of the few times you will run across truth in advertising with point and click.

    November 23, 2012 at 3:18 pm in reply to: When to use forums -vs- when to use support request? #1406
    sahdow
    Participant

    I'm kinda hoping the development team won't rush to shut down the old forums for that very reason. Until the new forums really get going, there are a lot of answers that can be found in the old forums (for example: Yesterday I used a link from the old forums to answer a question in the new forums - because the answer was already written out).

    November 23, 2012 at 1:56 pm in reply to: 2 Websites Recently Completed #1388
    sahdow
    Participant

    The clients always right when it comes to the design of their website, even if it turns your stomach 🙂

    November 23, 2012 at 9:54 am in reply to: Related Posts Code Problem #1352
    sahdow
    Participant

    Go back to nicks site and copy the clean code again, make certain you copy the entire block and aren't cutting anything off. Also make certain when pasting into functions you aren't breaking any existing elements.

    Paste into notepad or simple text to ensure your code is clean

    November 22, 2012 at 8:53 pm in reply to: Agency Slider CSS Difference IE & FF #1315
    sahdow
    Participant

    IE 9 is the first version to support border-radius, so if in IE8 or compatibility mode expect squared edges. Also, expect a lot of extra work for anything in compatibility mode. My rule of thumb is that if Microsoft no longer supports it, i don't code for it.

    You may also want top proof in Google Chrome and Apple Safari - both are webkit, but display slightly different in some cases.

    Each site is unique, but this data from W3 Schools can be helpful.

    http://www.w3schools.com/browsers/browsers_stats.asp

  • Author
    Posts
Viewing 20 posts - 21 through 40 (of 56 total)
← 1 2 3 →
« Previous Page

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