• 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

Genesis Simple Edits and customizations

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

Community Forums › Forums › Archived Forums › General Discussion › Genesis Simple Edits and customizations

This topic is: not resolved

Tagged: comments, simple edits

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 6 months ago by Summer.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 14, 2014 at 10:30 am #114239
    Summer
    Member

    Is there a way to keep Simple Edits active, but override it's precedence?

    I have Simple Edits on a couple sites, but I also have a snippet of custom code that handles displaying how many comments a post has when comments are disabled, meaning display no comment count indicator if no comments, or display how many comments were left before comments were closed (something I think is a grievous oversight in basic comments on/off function, but that might just be me ๐Ÿ™‚ )

    I have Simple Edits active mainly because of the footer mods I've made, but I want my custom function to override the default post info configuration, and it's starting to seem I can't have it both ways.

    Is there a way for me to have both, or do I need to move my footer mods into functions and get rid of Simple Edits?


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    July 14, 2014 at 11:39 am #114252
    David Chu
    Participant

    Hi,
    I found this to be an interesting question, and just tested it. I can't speak for your exact circumstances, but some very normal functions code worked just great for me without even using a late priority.

    I set mine to work conditionally on the home page, and it does, while leaving the rest of the pages using the Simple Edits one.

    Here it is.

    Cheers, Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

    July 14, 2014 at 12:11 pm #114258
    Summer
    Member

    I'm using Executive Pro, and Simple Edits was taking over on category archives, blog page template archives, and individual posts. I had to disable Simple Edits to get it to display as such:

    * when comments are off and post has zero comments, show nothing
    * when comments are off, and post has 1 or more comments, show number of comments
    * when comments are on, behave as usual

    The only way I could get scenarios 1 & 2 to work was to disable Simple Edits, and let my function do all the work. Which eliminates the footer edits I'd had in there ๐Ÿ™‚

    Maybe I'll play around with the priority, see if that changes the behavior I'm seeing, otherwise, I'll just add the footer edits into functions. *sigh*

    And I never could understand why if you disabled comments on a post, all indications that it ever had comments vanish, unless you go to that post... why not show that a post had 200 comments before they were closed? That would entice some folks to click on the article just to read through the conversations, see why there was so much discussion in the first place.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

    July 14, 2014 at 6:40 pm #114324
    Summer
    Member

    No luck as yet. I've tried adjusting priorities, I've tried changing the name of the filter in case it was clashing with what Simple Edits was using, but so far, no dice.

    May just have to add another filter for footer text to put my footer info back, and dump Simple Edits altogether on that site.


    WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
    Slice of SciFi | Writers, After Dark

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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