• 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

Jim Colella

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 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • August 9, 2014 at 2:53 pm in reply to: Social media buttons no longer showing number after dodgy plug-in installed #117991
    Jim Colella
    Member

    Perhaps I should have mentioned at the beginning that my social share buttons came from JetPack. In any case, I also told JetPack support, who helped indirectly by tracking down & letting me know the exact code causing the problem. My hunch on it being js was correct. And I then tracked down the plugin using that exact line of js, and deleted it. Social share buttons with the "icons + text" working -- just as they were before. Problem solved.

    August 7, 2014 at 3:19 pm in reply to: Social media buttons no longer showing number after dodgy plug-in installed #117648
    Jim Colella
    Member

    It is possible. They were working before, as mentioned above in my first post.

    August 7, 2014 at 3:11 pm in reply to: Social media buttons no longer showing number after dodgy plug-in installed #117645
    Jim Colella
    Member

    Hi. Yes, JetPack is installed, as that's how I have the share buttons on my site. The default one when I installed happened to be the "icon only" (round icon) out of the four options, but I went for "icon + text" as mentioned. Since my post above, I tried uninstalling and reinstalling JetPack -- but then had a whole new problem as the JetPack plugin could no longer access my site. I've been in touch with JetPack support on that, and that one's resolved. JetPack is installed again. But those numbers are still not appearing in "icon + text" mode, only on "official buttons" mode. Any suggestions?

    August 6, 2014 at 8:00 am in reply to: reverse home page numbers #117338
    Jim Colella
    Member

    Hi Susan,

    Actually, I'd forgotten I'd posted this question. To be honest, the concept I had in mind wasn't fully thought through. In other words, I decided to ditch the idea and work in another direction, so please feel free to close this question if you prefer.

    July 3, 2014 at 4:27 pm in reply to: Modify home page pagination in Eleven40 Pro #112905
    Jim Colella
    Member

    Thanks Lauren. I've just put the code in, and it works a treat! Thanks so much.

    July 3, 2014 at 11:06 am in reply to: Modify home page pagination in Eleven40 Pro #112884
    Jim Colella
    Member

    I do apologise, Lauren. You're right. I checked the link in a rush on my phone, and went by the title at the top. Although it does say "Post Navigation" the code does refer to page navigation, as you say. A bit of a misleading title, but totally my mistake. Sorry, again.

    July 3, 2014 at 10:02 am in reply to: Modify home page pagination in Eleven40 Pro #112877
    Jim Colella
    Member

    Sorry, but nope. I'm after editing the PAGE navigation, not POST, as that link refers to.

    July 3, 2014 at 6:49 am in reply to: Modify home page pagination in Eleven40 Pro #112842
    Jim Colella
    Member

    Okay, thanks. Hope you find it!

    July 3, 2014 at 6:44 am in reply to: Modify home page pagination in Eleven40 Pro #112840
    Jim Colella
    Member

    Although, on second thoughts, I did come across this on your site:

    Conditional Archive Page Navigation For Any Theme

    I skipped it before because of the "conditional" subject, thinking it wasn't relevant for my purposes. But looking at it again, there may be something relevant. Is it relevant, Brad? If so, which part can I take and use, as I only want to modify the Next/Previous text, as mentioned. (By the way, I also have a functions amendment that is taking care of the text on my POST navigation. I mention, in case there's any overlap between code for post and PAGE navigation.)

    Thanks again.

    July 3, 2014 at 6:36 am in reply to: Modify home page pagination in Eleven40 Pro #112838
    Jim Colella
    Member

    I also looked on your site Brad (one of my first stops for stuff like this. Thanks for a great site by the way!) but I couldn't find anything either.

    May 22, 2014 at 7:53 am in reply to: category menu highlighting for single posts in Eleven40 Pro #106314
    Jim Colella
    Member

    Solved! I found a far more recent piece of code here (dated Feb. 2014).

    For anyone struggling with the same issue, add this to your functions.php:

    function wpse_134409_current_category_class($classes, $item) {
    if (
    is_single()
    && 'category' === $item->object
    && in_array($item->object_id, wp_get_post_categories($GLOBALS['post']->ID))
    )
    $classes[] = 'current-category';

    return $classes;
    } // function wpse_134409_current_category_class

    add_filter('nav_menu_css_class', 'wpse_134409_current_category_class', 10, 2);

    And the necessary css selector in Eleven40 Pro:

    .nav-primary .current-category a {
    //*your styling here
    }

    ...which wasn't from the site linked to above, but after some fumbling around, I found it. Hope that helps any others lost down this path.

    Category-based menu URL highlighted

    May 22, 2014 at 1:23 am in reply to: category menu highlighting for single posts in Eleven40 Pro #106279
    Jim Colella
    Member

    Thanks Brad. Everything I've read on this issue is 5 (or even more) years old. I had a feeling I'd stumbled on a long-known-but-as-yet-unsolved WordPress problem. To echo comments seen elsewhere (others sites), it would seem perfectly logical to want a category-based URL to activate a category-based menu. I was just hoping someone here might have found a way within the Genesis framework. I'll try as you've suggested (with fingers crossed for a solution from any passers-by here!). By the way, the site I grabbed the code from is using a Genesis theme -- so with the "G" favicon appearing in the browser tab, I (oops) mistook it to be a site providing tips for Genesis. Lesson learned! I'll certainly post back here if I ever solve this. Thanks again.

    May 21, 2014 at 2:33 pm in reply to: category menu highlighting for single posts in Eleven40 Pro #106217
    Jim Colella
    Member

    Thanks for the feedback Brad.

    I'll try again: I have a category-based menu in the primary navigation bar in Eleven40 Pro. When each menu item is selected it is highlighted, or perhaps I should say "active". But when single posts are selected, they do not "activate" the corresponding menu item. In other words, the category-based URL doesn't highlight in the menu.

    For example, click on "Hot Topic" in the primary navigation bar, and it's active/highlighted, like so:

    Category Menu Item

    But when a URL within that category is selected (as a single post), the corresponding menu item is not active/highlighted:

    Category-based URL

    The functions code I used above was copied straight in from the above-mentioned article (Dynamic category menu highlighting for single posts). According tho the comments below it, it seems to work fine for others-- although, maybe I accidentally messed with it.

    In any case, if that code isn't working/is wrong, what do I need to add to my functions.php? And also, what should I put in my child theme css?

    Sorry for the dumbass qu's. I'm fine with using css -- but functions.php is all new to me.

    I hope that makes better sense. And wasn't too long.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)

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