• 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

dmcleod87

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 64 total)
← 1 2 3 4 →
  • Author
    Posts
  • January 7, 2014 at 4:48 pm in reply to: issues with adding filterable portfolio modern portfolio theme #83901
    dmcleod87
    Member

    thanks @emasai, that works in chrome but not in firefox. guess i'll keep tinkering away!

    January 7, 2014 at 4:44 pm in reply to: issues with adding filterable portfolio modern portfolio theme #83898
    dmcleod87
    Member

    yeah @anitac i can understand why though, he probably gets inundated with requests for free help on a daily basis!

    January 7, 2014 at 4:08 pm in reply to: add featured image to single post modern portfolio theme #83885
    dmcleod87
    Member

    sorry brad will do in future!

    January 7, 2014 at 4:06 pm in reply to: issues with adding filterable portfolio modern portfolio theme #83883
    dmcleod87
    Member

    hi anitac,

    i left him a comment on his website but no response as yet. his website also said not to contact him for help unless directed by him so didn't want to annoy him. just thought someone on here may be able to help that's all.

    thanks

    January 6, 2014 at 9:45 pm in reply to: add featured image to single post modern portfolio theme #83733
    dmcleod87
    Member

    ok thanks brad. found this code snippet and it works perfectly for anyone else looking to do the same.

    /** Add Post image before post content, single posts only */
    add_action( 'genesis_before_post_content', 'child_post_image' );
    function child_post_image() {
    
    if ( is_category() ) return;
    if ( $image = genesis_get_image( 'format=url&size=post-image' ) ) {
    printf( '<a href="%s" rel="bookmark"><img class="post-photo" src="%s" alt="%s" /></a>', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
    }
    }
    November 26, 2013 at 4:15 pm in reply to: show page content custom home template #75763
    dmcleod87
    Member

    nevermind figured it out. just had to remove custom loop and leave the widgets.

    
    <?php
    /* 
    Template Name: Widget Template
    */
    
    //Featured Widgets
    add_action('genesis_before_content', 'iniyan_template');
    function iniyan_template() {
    
    echo'<div id="tweaky-widgets">';
    
    genesis_widget_area( 'home-featured', array(
        	'before' => '<div class="home-featured widget-area">',
        	'after' => '</div>',
    ) );
    
    genesis_widget_area( 'featured-one', array(
           'before' => '<div class="featured-one">',
           'after' => '</div>',
       ) );
       
    
    genesis_widget_area( 'featured-two', array(
           'before' => '<div class="featured-two">',
           'after' => '</div>',
       ) );
       
    
    genesis_widget_area( 'featured-three', array(
           'before' => '<div class="featured-three">',
           'after' => '</div>',
       ) );
    
    echo '</div>';
    
    }
    
    genesis(); // <- everything important: make sure to include this. 
    
    November 26, 2013 at 3:06 pm in reply to: show page content custom home template #75750
    dmcleod87
    Member

    i'm using the genesis sample theme with a custom template and widgets, but need to show page content as well. full code for template is below -

    <?php
    /*
    Template Name: Widget Template

    Created for three featured widget section, by Iniyan-tweaky
    */
    //Displaying posts on this page
    remove_action( 'genesis_loop', 'genesis_do_loop' );

    add_action('genesis_loop', 'custom_loop');
    function custom_loop() {
    global $paged;

    $args = array('post_type' => 'page');
    // Accepts WP_Query args
    // (http://codex.wordpress.org/Class_Reference/WP_Query)

    // $query = new WP_Query( 'page_id=31' );

    genesis_custom_loop( $args );

    }

    //Featured Widgets
    add_action('genesis_before_content', 'iniyan_template');
    function iniyan_template() {

    echo'<div id="tweaky-widgets">';

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

    genesis_widget_area( 'featured-one', array(
    'before' => '<div class="featured-one">',
    'after' => '</div>',
    ) );

    genesis_widget_area( 'featured-two', array(
    'before' => '<div class="featured-two">',
    'after' => '</div>',
    ) );

    genesis_widget_area( 'featured-three', array(
    'before' => '<div class="featured-three">',
    'after' => '</div>',
    ) );

    echo '</div>';

    }

    genesis(); // <- everything important: make sure to include this.

    November 25, 2013 at 11:35 pm in reply to: show page content custom home template #75647
    dmcleod87
    Member

    that's what it's set to currently, but still shows the other pages as posts...all i want is the homepage content which is there, but without the other page content underneath...

    November 13, 2013 at 4:34 pm in reply to: centering font awesome font icons #72795
    dmcleod87
    Member

    thanks dave! way better than i had. will keep experimenting and see if i can improve.

    November 10, 2013 at 12:04 am in reply to: setup localhost/development server in dreamweaver #71975
    dmcleod87
    Member

    thanks lynne. it worked fine when i just have the one site and wordpress files in htdocs. it's only when i tried to setup multiple local wordpress in different installation folders that i can't seem to get the settings right. i was able to get it right by following the instructions in the link you posted so thanks for that...much appreciated!

    November 8, 2013 at 11:33 pm in reply to: next page button does nothing – stuck in loop #71827
    dmcleod87
    Member

    anyone have any idea what i'm doing wrong here?

    i tried contacting the developer i hired to implement this but he said because i signed off on the changes it's not his problem anymore. i only noticed the issue after i accepted the changes...

    November 8, 2013 at 10:32 pm in reply to: minimum pro primary menu position #71821
    dmcleod87
    Member

    that did it. i knew it was something easy. thanks!

    November 1, 2013 at 7:17 pm in reply to: can't get any social sharing plugins to work on my site #70430
    dmcleod87
    Member

    still don't know what cause it but i've done a fresh install of wordpress, copied the database/theme over and the various sharing plugins seem to work fine now. just adding plugins and code to functions.php in case it happens again.

    November 1, 2013 at 6:55 pm in reply to: can't get any social sharing plugins to work on my site #70428
    dmcleod87
    Member

    no as in the facebook/twitter/g+ share buttons you usually see above and below the post content so you can share the article.

    October 27, 2013 at 11:01 pm in reply to: menu to take up full width of container #69404
    dmcleod87
    Member

    thanks lynne. have sent you an email

    October 27, 2013 at 7:20 pm in reply to: menu to take up full width of container #69361
    dmcleod87
    Member

    i've changed the selectors and updated text-align...still no luck. changing padding just puts the menu on two lines...so i don't think the selectors are working...

    October 25, 2013 at 9:35 pm in reply to: menu to take up full width of container #69003
    dmcleod87
    Member

    yes the classes (home-menu & about-town) appear in web inspector, see screenshot below. that is why i think i am not targeting them correctly in the css...

    http://d.pr/i/ghiz

    October 25, 2013 at 7:53 pm in reply to: menu to take up full width of container #68982
    dmcleod87
    Member

    i'd completely forgotten about those options in the menu!

    ok so i've add custom classes to the first/last menu option-

    .nav-primary .wrap .genesis-nav-menu .menu-item .home-menu ul li a {
    padding-left: 0px !important;
    padding-left: 0rem !important;
    }

    .nav-primary .wrap .genesis-nav-menu .menu-item .about-town ul li a {
    padding-right: 0px !important;
    padding-right: 0rem !important;
    }

    still doesn't do anything...have i targeted them correctly? using Firebug i noticed each menu link had an id eg id=menu-item-15 etc but adding that didn't do anything either. i'm sure i'm missing something easy here!

    October 24, 2013 at 10:05 pm in reply to: menu to take up full width of container #68775
    dmcleod87
    Member

    thanks anitac but i tried that before. still won't fill the entire width as per the screenshot above.

    to use the nth-child, is this how I would target each menu item? changing (1) to correspond to the order the option appears?

    .nav-primary .genesis-nav-menu ul li:nth-child(1)

    i've tried the above with no luck...i'm new to the nth-child selector CSS

    October 24, 2013 at 8:36 pm in reply to: menu to take up full width of container #68757
    dmcleod87
    Member

    thanks for the tip emasai.

    i found this example code online...would something similar to this work except obviously using padding/margins instead of color?

    nav ul li:nth-child(1) a span {
    color: #5bb2fc;
    }
    nav ul li:nth-child(2) a span {
    color: #58ebd3;
    }
    nav ul li:nth-child(3) a span {
    color: #ffa659;
    }

    ....etc

  • Author
    Posts
Viewing 20 posts - 21 through 40 (of 64 total)
← 1 2 3 4 →
« 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