sahdow

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 50 total)
  • Author
    Posts
  • 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();

     

     

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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.

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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.

     

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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.

     

     

    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.

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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..

    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)

    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

    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;
    }

    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

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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′ ) );
    }

    }

    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.

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    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 ?

    • This reply was modified 2 years, 8 months ago by  sahdow.
    • This reply was modified 2 years, 8 months ago by  sahdow.
    in reply to: Minimum Theme Homepage Question #1505

    sahdow
    Participant

    This should help you get started.

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

     


    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.

Viewing 15 posts - 16 through 30 (of 50 total)