• 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

Chris Moore

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 - 41 through 60 (of 76 total)
← 1 2 3 4 →
  • Author
    Posts
  • August 8, 2013 at 5:43 pm in reply to: Setting Current Nav Menu Item color… #55135
    Chris Moore
    Member

    Yep, I figured it out! That one did the trick.. This is the one I was looking for:

    .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a

    It's live on the site now...

    ONE REMAINING QUESTION:

    How do I get the nav menu to be #222 when I am reading a post that is in a particular category?

    So, if I am reading this post (linked here), how do I get the "Spirituality" secondary nav item to light up with #222?

    I suppose this requires doing some custom PHP work. But I will put it out there... I'm sure it's easy. I just don't know how to do it! 🙂


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    August 8, 2013 at 5:36 pm in reply to: Setting Current Nav Menu Item color… #55134
    Chris Moore
    Member

    Thanks for your reply @maroontech, but maybe I should have been clearer. I meant the color of the nav menu item when you are ON that page. I want to keep the menu items blue, the hover as #222, and then the current page/category you are on as #222 as well.

    I think this is the selector that I was hunting down:

    .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a

    I will give this a try...


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    June 18, 2013 at 9:34 pm in reply to: How can I limiting the number of blog posts only on the homepage of Minimum? #46679
    Chris Moore
    Member

    Great to hear Dan! Glad it helped...


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 30, 2013 at 11:39 am in reply to: How can I limiting the number of blog posts only on the homepage of Minimum? #43248
    Chris Moore
    Member

    Well, looks like I solved it!

    I just added this to the `functions.php` and voila, only 2 posts on the homepage now!

    `/** Change the number of posts on homepage */
    add_action( 'pre_get_posts', 'minimum_home_posts' );
    function minimum_home_posts( $query ) {
    if( $query->is_main_query() && !is_admin() && is_home () ) {
    $query->set( 'posts_per_page', '2' );
    }
    }`

    Comments are welcome!


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 30, 2013 at 11:18 am in reply to: Eliminating the DIV with a class of "navigation"… #43245
    Chris Moore
    Member

    Just bumping this post again.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 2:47 pm in reply to: How can I insert the Facebook Like button code in the post-info DIV? #42953
    Chris Moore
    Member

    The `return '';` should actually contain the standard Facebook "Like" `div` code, from here: Link to Facebook Developers Page

    It gets stripped on the site here. (Anyone know how to avoid that?)


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 2:46 pm in reply to: How can I insert the Facebook Like button code in the post-info DIV? #42952
    Chris Moore
    Member

    Here is my current solution (which actually works):

    I created a shortcode function, like so:

    `// Add a shortcode for Facebook "Like" insertion
    function reflect_fb_shortcode() {
    if ( is_single () || is_home() )
    return '';
    }
    add_shortcode('FB-Like-Shortcode', 'reflect_fb_shortcode');`

    Then I just dropped the newly created shortcode [FB-Like-Shortcode] exactly where I want it using the Genesis Simple Edits plugin.

    Although it works, I would still like to know how I could just do it in the appropriate theme template files or the `functions.php` file.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 2:41 pm in reply to: How can I insert the Facebook Like button code in the post-info DIV? #42951
    Chris Moore
    Member

    Do I basically have to unhook the `genesis_post_info()` function to get rid of the current Post Info and then place my code using the `genesis_before_post_content` hook?

    What would the exact function look like and how would I replace the existing Post Info code, while adding the Facebook Like code snippet as well?


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 2:27 pm in reply to: How can I insert the Facebook Like button code in the post-info DIV? #42948
    Chris Moore
    Member

    I figured out one thing that I was missing: I needed to explicitly pull the `href` like this:

    `data-href="'. get_permalink() .'"`

    Now my issue is how to insert the code I now have (which works!) directly into the right place in the theme template files (or via `functions.php`).

    I would like the code to be inserted exactly after the comments count at the top of each post, in the `post-info` `div`.

    Anyone? 🙂


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 4:05 am in reply to: How many tags will display in the tag cloud and how do you limit the count? #42887
    Chris Moore
    Member

    Haha... Poking around, I figured it out!

    But now my question is, is this the best and most elegant way to accomplish the task at hand?

    Thanks for your feedback... Here's the code I'm using in `functions.php`:

    `/** Add a filter to change the tag cloud font-size range and number */
    add_filter('widget_tag_cloud_args','set_tag_cloud_size_number');
    function set_tag_cloud_size_number($args) {
    $args = array('smallest' => 8, 'largest' => 11, 'number' => 20);
    return $args;
    }`


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 28, 2013 at 3:55 am in reply to: How many tags will display in the tag cloud and how do you limit the count? #42885
    Chris Moore
    Member

    I'm sure this will be of help to those that know all the details of PHP:

    http://codex.wordpress.org/Function_Reference/wp_tag_cloud


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 27, 2013 at 8:45 am in reply to: Eliminating the DIV with a class of "navigation"… #42796
    Chris Moore
    Member

    I know there's an easy solution to this, I just don't know what code to put in the `functions.php` file. I'm sure someone will stumble upon this thread sooner or later.


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 27, 2013 at 8:43 am in reply to: Page Comments Are Not Appearing #42795
    Chris Moore
    Member

    Hello there!

    Try going to the GENESIS menu, then scroll down till you see COMMENTS AND TRACKBACKS. What do you have checked there?


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 27, 2013 at 12:08 am in reply to: Image getting displayed as Banner in Minimum theme #42765
    Chris Moore
    Member

    A note of caution though, the CSS that I shared above will also hide the featured image banner at the top of the homepage (depending on how you have Minimum set up). If you do not want this to happen, you can hide the featured image banner only at the top of single blog posts like this:

    `.single #featured-image {
    display: none;
    }`


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 26, 2013 at 11:13 pm in reply to: Help with Hupso Share Buttons and eleven40 child theme… #42758
    Chris Moore
    Member

    I actually figured this out, all you need to do is change `overflow: hidden;` to `overflow: visible;`.

    I ended up going with the Digg Digg social sharing plugin though. So I guess it doesn't matter anymore. 🙂


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 26, 2013 at 11:09 pm in reply to: Eliminating the DIV with a class of "navigation"… #42757
    Chris Moore
    Member

    Just bumping this post... 😉


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 26, 2013 at 10:59 pm in reply to: Image getting displayed as Banner in Minimum theme #42756
    Chris Moore
    Member

    Hello there!

    That's your "Featured Image" on the post in question. Remove the "Featured Image", and that will go away.

    Or you can remove it from appearing on the site by doing this in your CSS stylesheet:

    `#featured-image {
    display: none;
    }`


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 26, 2013 at 8:39 am in reply to: Can't find where to add comments link back in! #42688
    Chris Moore
    Member

    Awesome! I love it when it is something simple. 😉

    Looks like this is "Resolved" then...


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 26, 2013 at 8:23 am in reply to: Can't find where to add comments link back in! #42685
    Chris Moore
    Member

    May be a stupid question, but do you have comments turned on in SETTINGS > DISCUSSION ("Allow people to post comments on new articles") in WordPress and on the individual posts in question as well?


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

    May 13, 2013 at 10:22 am in reply to: Small CSS Tweak Needed on a Downward Arrow #40678
    Chris Moore
    Member

    Thanks again!

    It's now live!!! (The demo page is now inoperable)...

    http://moorecreativeideas.com/about/


    Resepctfully, Chris Moore
    Web Dev, CSS Hacks, & Biz Consulting @ MooreCreativeIdeas.com / Blogging @ ReflectOnThis.com

  • Author
    Posts
Viewing 20 posts - 41 through 60 (of 76 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

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