If so help me out! How do i display "posts/articles without a comment ...." on the first main page instead of the latest post! I have around 300 post and half of them with comments ... the remaining half i want to display on the main page ... (those without comment ) How do i do this ..? Thanks in advance!
you can build a query that will display only the posts with comments on the front page of your website, if you use orderby=comment_count you can list posts with 0 comments on top with order=adc or desc. but if you need something more complicated you can create a Custom Select Query, an example (just example) will be $querystr = " SELECT wposts.* FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = 'tag' AND wpostmeta.meta_value = 'email' AND wposts.post_status = 'publish' AND wposts.post_type = 'post' ORDER BY wposts.post_date DESC "; $pageposts = $wpdb->get_results($querystr, OBJECT); ?> you can add i.e AND wposts.comment_count != 0 I don't remember the exact names of the fields so you will need to improve that example, the example just refers to meta table, while u will need the comment table instead.
when you are posting an article uncheck allow comments below the editor. you need to have a category for articles you want to appear on the index page or latest post.
I don't think there is any plugin out there for this. You either have to code one yourself or select the posts manually.
Add a "wrong password" message to protected posts I'm trying to get wordpress to show a "wrong password" message when a user tries to access a protected post (front-end) and enters an incorrect password. Currently it just shows the exact same form again. Anyone have any idea to solve this issue? Thanks in Advance!
Use Login Lock Down plugin and set login attemps to 1 ( but I recommend it to be 3 ). After that the user will be banned for few minutes set by you.
@Sharma R u talking about http://wordpress.org/extend/plugins/login-lockdown/ ? If so , this is for the main admin/user login ! I want a plugin or a script which pop out a message when you enter a wrong password to a password protected post or page! in a wordpress blog!