Restore trashed posts with comments

Once you restore the posts that are trashed you can try running the comment-fix.php script to reset the comments to appear and show the correct count. If it has been over thirty days in the trash the comments are gone for good, sorry.

stackexchange-like submit comment window

You can use WordPress’s built in TinyMCE editor anywhere in PHP code using wp_editor(). This would output all the necessary styles and scripts for it to load, and there are a lot of options documented in the codex link above.

Replace comment avatars and links at the same time

Maybe I was burned out from work before, but this morning I took another go at the same code and managed to get it running properly. if ( ! function_exists( ‘comment_imgs’ ) ) { add_filter( ‘get_comment_author_url’, ‘comment_imgs’ ); function comment_imgs( $avatar, $id_or_email, $size, $default, $alt ) { global $comment; // We do not get the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)