sahdow

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 45 total)
  • Author
    Posts
  • in reply to: Help with How to Remove a Date Block #12999

    sahdow
    Participant
    Post count: 2

    Find the following in post functions:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

    if ( $image = genesis_get_image( ‘format=url&size=post-image’ ) ) {
    printf( ‘<a href=”%s” rel=”bookmark” class=”post-photo”><span class=”post-date”>%s</span><img src=”%s” alt=”%s” /></a>’, get_permalink(), do_shortcode( ‘<em>[post_date format="j"]</em>[post_date format="F Y"]‘ ), $image, the_title_attribute( ‘echo=0′ ) );
    }

    }

     

    Change to:

    /** Add post image above post title */
    add_action( ‘genesis_before_post_title’, ‘decor_post_image’ );
    function decor_post_image() {

    if ( is_page() ) return;

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

    }

    in reply to: Genesis Featured posts and internet explorer #8214

    sahdow
    Participant
    Post count: 2

    Did you import your content from another WordPress site, or are you using multi-site?

    in reply to: Slider help #6466

    sahdow
    Participant
    Post count: 2

    Also note the width of  ”home-middle-1″ – you are placing a 900 px slider in a 285 px box

    in reply to: Widget help (CSS & Placement) #2801

    sahdow
    Participant
    Post count: 2

    I find it’s easiest to deal with one issue at a time. From what I can see (just glancing) you haven’t defined margins. Think of the margin as the container, but the padding as the space inside the container and how close to the walls.

    Start by centering your footer menu:

    Top left/right Bottom
    0        auto      0

    http://www.w3schools.com/css/css_margin.asp 

    Then look at your list items, set to display inline

    http://www.w3schools.com/css/css_list.asp

     

     

    • This reply was modified 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.

    sahdow
    Participant
    Post count: 2

    Page background makes top menu hard to read, perhaps add a background to the menu.

    • This reply was modified 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    in reply to: Help Styling a "Follow Buttons" Section #2755

    sahdow
    Participant
    Post count: 2

    Have you tried adding a float left to the images?

    something like ( I didn’t test):

    # nav li img {
    float: left;
    margin-right: 10px;
    }

    Also check the rss and twitter classes in your style sheet and you can use the #follow id associated with the list item the foloow information is in.

     

     

    in reply to: Creating Custom Pages #2752

    sahdow
    Participant
    Post count: 2

    I used a slider not long ago that allowed me to have more than one. Unfortunately can’t remember what it was called but a quick search found:

    Spider Slider
    Responsive Slider Mod

    in reply to: Creating Custom Pages #2646

    sahdow
    Participant
    Post count: 2

    I don’t want to step on any toes and I don’t want to get paid for something  like that either, but if you post exactly what you have so far on the page template and functions.php I’ll tweak it since (as far as I can tell – you basically have it).

    in reply to: Creating Custom Pages #2583

    sahdow
    Participant
    Post count: 2

    Sozo is right, I forgot it’s a page template, so there is a place to select the simple sidebars.

    As for my example, all the bolded items are what need to be changed.

    in reply to: Creating Custom Pages #2526

    sahdow
    Participant
    Post count: 2

    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

    in reply to: Creating Custom Pages #2490

    sahdow
    Participant
    Post count: 2

    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 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    in reply to: Genesis Featured posts and internet explorer #2222

    sahdow
    Participant
    Post count: 2

    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 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    in reply to: Slider help #2215

    sahdow
    Participant
    Post count: 2

    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 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    in reply to: Genesis Featured posts and internet explorer #2214

    sahdow
    Participant
    Post count: 2

    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
    Post count: 2

    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 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
    • This reply was modified 1 year, 4 months ago by  sahdow.
Viewing 15 posts - 1 through 15 (of 45 total)