Tony

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Leave a Comment Text Won't Change #89473

    Tony
    Participant
    Post count: 5

    I was able to get the result I want by placing:

    [post_comments zero="0" one="1" more="%"]

    in the genesis_entry_header hook using the simple hooks plugin.

    It still would be nice to know how to accomplish this the right way in the functions.php file.

    in reply to: Leave a Comment Text Won't Change #89470

    Tony
    Participant
    Post count: 5

    Hi Andrea,

    Thank you for the resource, but unless I didn’t see it, it’s not quite what I’m looking for.

    I’m referring to the “leave a comment” link that appears in the post info section, specifically the .entry-comments-link span class.

    This is where it shows how many comments the article has. I want to change it from the default “leave a comment” when there’s zero comments to just display “0”.

    The code I posted in the original post doesn’t work, and I’m not sure why.

    in reply to: Put Welcome Message Widget on All Posts #89124

    Tony
    Participant
    Post count: 5

    I see. I saw the “is not” statement, but I couldn’t figure out what they were doing. Since I don’t want it on pages, I made the code like this:

    //* Hook welcome message widget area before content
    add_action( 'genesis_before_loop', 'beautiful_welcome_message' );
    function beautiful_welcome_message() {
    
    	if (  is_front_page() || get_query_var( 'paged' ) >= 2 || is_single())
    		
    
    	genesis_widget_area( 'welcome-message', array(
    		'before' => '<div class="welcome-message" class="widget-area">',
    		'after'  => '</div>',
    	) );
    
    }

    Thanks for the help!


    Tony
    Participant
    Post count: 5
    in reply to: Magazine Pro featured image date stamp #77705

    Tony
    Participant
    Post count: 5

    Thanks. I saw those setup instructions, but was using the Genesis Featured Widgets Amplified, which does not work. The Featured Posts Widget does work, however.

    Resolved.

Viewing 5 posts - 1 through 5 (of 5 total)