changing post info

Community Forums Forums Design Tips and Tricks changing post info

This topic is: not resolved

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

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

    alliechynna
    Participant
    Post count: 69

    I did this code to my php so that I could add leave a comment to my post info, but it’s not showing up can someone please tell me what I’m doing wrong.

    Heres is the code I used.

    //* Customize the post info function
    add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
    function post_info_filter($post_info) {
    if ( !is_page() ) {
    $post_info = ‘[post_date] by [post_author_posts_link] [post_comments] [post_edit]‘;
    return $post_info;
    }}

    http://alliechynna.com
    #51121

    braddalton
    Participant
    Post count: 10356

    Easier to install the Genesis Simple Edits plugin and use the comments shortcode.


    #51226

    alliechynna
    Participant
    Post count: 69

    Thanks, but will try the code again as I would really like to have it coded in to cut down on plugins.

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

You must be logged in to reply to this topic.