Viewing 5 replies - 1 through 5 (of 5 total)
  • I would also like to find out how to do this.

    Ok, figured out 90% of it.

    Open “class_functions.php” in the wp-property folder. Ln 278, change

    'supports' => array('title','editor', 'thumbnail'),

    to

    'supports' => array('title','editor', 'thumbnail', 'comments'),

    Then in admin, allow comments on each property page (Discussion section under General Information).

    Open your “property.php” file in your theme (or copy the one from the plugin and copy it to your theme folder).

    Add

    <?php comments_template(); ?>

    Where you want your form and comments.

    10% problem is I’m getting all the comments, not just the ones for the individual properties. But that should get you started ??

    Fixed.

    I was using Twenty Twelve comments template and they incorrectly setup the $args.

    Change

    $args = array(
            'ID'       => $post->ID,
            'status' => 'approve',
            'order'   => 'ASC'
        );

    to

    $args = array(
            'post_id'       => $post->ID,
            'status' => 'approve',
            'order'   => 'ASC'
        );
    Thread Starter luigitec

    (@luigitec)

    Nice, it worked perfectly.

    @jamin84 I appreciate much the help, you are the man!

    hello,

    which file do i make the last changes you indicated ?

    i cannot find:

    $args = array(
    ‘ID’ => $post->ID,
    ‘status’ => ‘approve’,
    ‘order’ => ‘ASC’
    );

    thx

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Enable Comments on Screen Options’ is closed to new replies.