Support » Plugin: Featured Comments » [Plugin: Feature Comments] Add Feature/Bury options into main comments actions

  • Resolved Nicholas

    (@nicholas27)


    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;
    	}

    http://wordpress.org/extend/plugins/feature-comments/

  • The topic ‘[Plugin: Feature Comments] Add Feature/Bury options into main comments actions’ is closed to new replies.