Filter custom posts with / without comments
And I should have done some searching before asking. Looks like hooking the query might be the best way of doing this. Here’s a good answer from StackOverflow with practically the same question.
And I should have done some searching before asking. Looks like hooking the query might be the best way of doing this. Here’s a good answer from StackOverflow with practically the same question.
This is a tricky one, but very doable. After looking at Mark’s Markdown on Save plugin which does the exact thing you want but for posts content instead of comments i started thinking, that saving the comment content as Markdown would be bad because you would have to render the Markdown to HTML on-the-fly for … Read more
Your best bet might be simply to leave the comment in the moderation queue?
Simple-to-follow instructions would be something like: Install the Comment Form Quicktags Plugin But for some reason, you have specified that you want to do it “WITHOUT PLUGINS”. Further, you have specified “simple to follow instructions”. I do not believe your requirements are compatible. If you want “easy to follow instructions”, then use a Plugin. If … Read more
I’ve used these two plugins: 1) Disqus Commenting Plugin – the easiest way to add facebook functionality to your wordpress blog: They allow a whole host of features including facebook, twitter, google login/commenting and some other cool stuff. It will probably be more than you need but you might like the extras and the easy … Read more
Disqus handles this use case.
Try this: add_filter(“manage_edit-page_columns”, “my_page_edit_columns”); function my_page_edit_columns($columns){ unset($columns[‘comments’]); return $columns; } If you need it for posts instead of pages, use manage_edit-post_columns instead. The same goes for any post type, really, as manage_edit-{post_type}_columns.
take a look on this link.it’ll helpful.Anti Spam Plugin. my opinion is antispambee is good.
simple with jQuery: //first make sure you have jQuery on that page add_action(‘wp_enqueue_scripts’,’make_sure_i_have_jquery’); function make_sure_i_have_jquery(){ if (!is_admin()) wp_enqueue_script( ‘jquery’ ); } //then just change the url to you own add_action(‘wp_footer’,’change_comment_form’); function make_sure_i_have_jquery(){ if (!is_admin() && (is_page() || is_single())) echo ‘<script> $(“#commentform”).attr(“action”, “http://yourUrl.com”); </script>’; } just paste this in your theme’s functions.php or the plugin your … Read more
If your on a company intranet it might be easier/more secure to just whitelist a few IP’s and deny access to everything else, you can do that with apache config or .htaccess. Otherwise you will have to get people to login and then you can use a plugin like “Members Only”, there are several of … Read more