problem with comment link

Community Forums Forums General Discussion problem with comment link

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  lizje 1 year ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30838

    lizje
    Participant
    Post count: 10

    I have a problem to translate leave a comment in dutch. When I use the snippet:
    /** Modify the comment link text */
    add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
    function post_info_filter( $post_info ) {
        return ‘[post_comments zero="Leave a Comment" one="1 Comment" more="% Comments"]‘;
    }
    in functions.php of the prose theme I lost the date en author. Who can help me?

    #30930

    Brian Bourn
    Participant
    Post count: 96

    You need to add back the the other shortcodes. Try this:

    /** Modify the comment link text */
    add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
    function post_info_filter( $post_info ) {
        return ‘ [post_date] [post_author] [post_comments zero="Leave a Comment" one="1 Comment" more="% Comments"]‘;
    }

    http://my.studiopress.com/snippets/post-info/


    Bourn Creative | bourncreative.com | Twitter

    #30948

    lizje
    Participant
    Post count: 10

    Brian, thank you very much :-)

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

You must be logged in to reply to this topic.