• 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

Can't change the post info

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 › Can't change the post info

This topic is: not resolved

Tagged: post comment count

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 4 months ago by Kabolobari.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 8, 2014 at 5:38 pm #99222
    patrick24601
    Member

    I'm trying to customize the part of a post that says "March 30, 2014 by First Name Lastname - 0 comments - EDIT" . I want to remove the comment count because we are using a different comment plugin and the comment count only shows WP comments.

    Here is the code we are trying to use this following code and it is not working (we are just trying to get the xxx to appear to make sure we have the right area) :

    //* Customize the post info function
    add_filter( 'genesis_post_info', 'sp_post_info_filter' );
    function sp_post_info_filter($post_info) {
    if ( !is_page() ) {
    $post_info = 'xxx[post_date] by [post_author_posts_link] [post_comments one="" more=""] [post_edit]';
    return $post_info;
    }}

    April 8, 2014 at 5:47 pm #99225
    patrick24601
    Member

    Nevermind. I can't believe that 3 minutes after posting this I fixed it. Turns out that the Genesis Simple Edits plugin overrides anything you do in functions.php

    August 8, 2015 at 8:44 am #161784
    Kabolobari
    Member

    Yes, Patrick, I have my blog at http://blog.spurres.net/on-demand-cinema/ and just reading your post I checked and left a comment, I'm using Disqus and I noticed the comment count is not indicating above.

    Do you have a code fix for this? Could you please share?

    Thanks.
    Kabolobari.


    KB

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

© 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