• 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

outsidethebox

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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 8, 2016 at 2:38 am in reply to: [post_comments] parameters are not working #194373
    outsidethebox
    Member

    @carasmo
    Thanks for double-checking and confirming it works for you. Your code has the same issue with "more" on my site. What starter theme are you talking about?

    But still, I haven't made any changes to functions.php or Genesis, the issue just came out of the blue. As for modified date, I removed some code, because it was not the point.

    October 7, 2016 at 6:34 am in reply to: [post_comments] parameters are not working #194332
    outsidethebox
    Member

    Upd (can't edit the original post). The question is specifically about the "more" parameter, because the other two work.

    February 23, 2015 at 3:25 pm in reply to: How to display number of comments when comments are closed #141920
    outsidethebox
    Member

    I'd like to revisit this thread with a solution provided by the support team. Turns out the solution has been in plain sight all the time, just hiding behind reverse implentation logic and poor documentation.

    The [POST_COMMENTS] shortcode has a parameter currently documented as follows:

    hide_if_off – Disable comment link even if comments is enabled.

    The correct usage is hide_if_off="disabled", e.g.

    [post_comments zero="No Comments" one="1 Comment" more="% Comments" hide_if_off="disabled"]

    With the above code, the number of comments is displayed regardless of whether the comments are closed.

    The thread is now resolved!

    January 20, 2014 at 6:50 am in reply to: How to enable links on post titles in posts? #86076
    outsidethebox
    Member

    Hi Gary,

    Sometimes you have to do something for a handful of people if they take time to promote your blog. I was thinking of adding HTML/BBCode links separately, but didn't want to expose an additional element the majority of users have no use for.

    I didn't take SEO into account, but my old non-Genesis theme had this 'feature', and I don't think it caused any issues, although it's hard to tell for sure.

    Thanks for all suggestions. I'll play with the code, but in the end I may abandon the original idea. Sometimes I just get stuck with the 'migrate old features' mindset, and changing the theme helps evaluate their value.

    January 19, 2014 at 11:31 am in reply to: How to enable links on post titles in posts? #85899
    outsidethebox
    Member

    Hi Andrea,

    E-mail notification didn't work, so I missed you post. Yes, I want it to link to iteslf. One reason is that it enables you to copy the link text as HTML or BBCode, if you have a browser extension installed.

    I have a technical blog, and there's a number of people (myself included) who frequently share links to articles in forums. Say, I'm reading this page and want to post a nice link to your site rather than just an URL. I simply copied the link from your signature using the extension menu and here it is (opens in new tab): Nuts and Bolts Media.

    Thanks!

    January 4, 2014 at 11:24 am in reply to: How to display number of comments when comments are closed #83182
    outsidethebox
    Member

    @justcurious
    Thanks for responding! While I was waiting, I came pretty much to the same thing as you for the post info, but it's not a complete solution...

    And I've figured out the bottom part as well, albeit a little differently 🙂

    I show the number of comments before they start. This looks logical for all posts.

    // Modify comments header text in comments
    add_filter( 'genesis_title_comments', 'comments_title');
    function comments_title() {
    return __(comments_number( '<h3>Start Discussion</h3> ', '<h3>Comments: 1</h3>', '<h3>Comments: %</h3>' ) , 'genesis' );
    }

    And then I show the notification after the last comment (where the comment form displays when comments are open). This explains the absence of the comment form.

    //* Notify of closed comments
    add_action( 'genesis_after_comments', 'comments_closed' );
    function comments_closed() {
    	if ( is_single() && !comments_open() ) {
    	?>
    	<div class="comments-closed">
    		<h4>Comments are closed</h4>
    	</div>
    	<?php
    	}
    }

    Perhaps you'll find this useful.

    I'll keep digging, but my php skills come from google :)) I think we'll have to look past shortcodes, as they limit our options. I'm surprised this is not taken into account in the framework, pretty standard stuff.

    January 4, 2014 at 7:09 am in reply to: How to display number of comments when comments are closed #83099
    outsidethebox
    Member

    @justcurious
    Care to share the solution? Because I'm just curious about the same thing too 🙂

    THanks!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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