Featured Comments
[resolved] [Plugin: Feature Comments] Add Feature/Bury options into main comments actions (1 post)

  1. Nicholas
    Posted 4 years ago #

    Hi there,

    Thank you very much for the useful plugin!

    I am using WP 3.2.1 with a Prototype child theme.

    I have been wondering how it would be possible to move the Feature/Bury links into the area where the main comment actions appear in the front-end?

    At present I have Edit, Permalink, Delete, Spam and Reply in one line above the comment. However, the Feature/Bury options appear below the comment. How could I move them into a group with the other actions?

    I have used the code below to add in the Delete and Spam links on the front-end. I would like to do something similar with Feature/Bury:

    function my_delete_comment_link( $id ) {
    		$out = '';
    		if ( current_user_can( 'edit_post' ) ) {
    			$out = '| <a href="' . get_bloginfo( 'wpurl' ) . '/wp-admin/comment.php?action=cdc&c=' . $id . '">Delete</a> ';
    			$out .= '| <a href="' . get_bloginfo( 'wpurl' ) . '/wp-admin/comment.php?action=cdc&dt=spam&c=' . $id . '">Spam</a>';
    		return $out;


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Comments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic