WordPress.org

Forums

Frontier Post
[resolved] Discussion on frontend (4 posts)

  1. adrianlittee
    Member
    Posted 1 year ago #

    Is there a way to add the discussion section?

    http://wordpress.org/plugins/frontier-post/

  2. finnj
    Member
    Plugin Author

    Posted 1 year ago #

    If you mean, use frontier post to edit comment, the answer is no (sorry)

  3. adrianlittee
    Member
    Posted 1 year ago #

    No I mean the section where it asks whether the publisher if they want people to be able to comment or not.

  4. adrianlittee
    Member
    Posted 1 year ago #

    added this to frontier_form.php on line 230

    <td>
    <?php _e("Comment Status", "frontier-post"); ?>: 
    <select id="comment_status" name="comment_status">
    <option value="open">Allow Comments</option>
    <option value="closed">Closed Comments</option>
    </select>
    </td>

    added this to frontier-post.php on line 63

    if(isset($_POST['comment_status']))
    	$comment_status = $_POST['comment_status'];
    else
    	$comment_status = 'open';

    added this to frontier-post.php on line 116

    'comment_status'	=> $comment_status,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.