Home > Custom Post > Wordpress Custom Post Type Allow Comments By Default

Wordpress Custom Post Type Allow Comments By Default


i want to know if this custom post type ui plugin can help…anyone know how i can add comment boxes to the product posts? custom-post-types comments comment-form share|improve this question asked Aug 28 '14 at 19:16 Steve 16510 Did you check the Settings > Discussion section for the "Automatically close comments ..." option? Thanks again for your help. Cheers, Sagive. this contact form

Any tips? When a user submits a ticket from the front end, he/she will be the author of the post(ticket). I'd already checked screen options for the custom type post and comments are enabled in that as well. J M @hiphopinenglish 2 years, 5 months ago OK, is your CPT template definitely calling comments?

Wordpress Custom Post Type Allow Comments By Default

Click "Save Changes" Now go back and re-check "Allow people to post comments on new articles" Click "Save Changes" It seems that for custom post types you need to kind of HOWEVER, I would like those boxes to be checked by default so my client doesn't have to remember to do it EVERY time they post a new podcast episode. Viewing 7 replies - 1 through 7 (of 7 total) The topic ‘Custom post type comments automatically closed.' is closed to new replies. Not the answer you're looking for?

Last edited: 07/19/11 9:41am Navjot Singh says: Try running this SQL query UPDATE wp_posts SET comment_status = 'open' WHERE post_type = 'review'; Change review to whatever post types you have. 07/19/11 Or is it? custom-post-types comments share|improve this question edited Aug 17 '14 at 7:18 Brad Dalton 3,89721325 asked Aug 24 '13 at 1:45 dadra 536 It's looking strange and as you have Wordpress Enable Comments Giving out login details is dangerous.

That's right! Browse other questions tagged custom-post-types or ask your own question. Viewing 15 replies - 1 through 15 (of 15 total) vtxyzzy @vtxyzzy 4 years, 3 months ago I think you need to include a call to comments_template() in your theme. This site is not affiliated with the WordPress Foundation in any way.

For example if the custom post use such single post template files as single-testi.php, single-team.php etc you need to enable comments in those files. Wp_insert_post_data Any help would be appreciated as I haven't found much online talking about comments and I believe they are supposed to work by default with the WCK plugin. Why rotational matrices are not commutative? share|improve this answer answered Jan 10 '12 at 22:20 timshutes 5381921 add a comment| up vote 3 down vote This is the default state..

Colored People Time Comment

you've added to the ‘product' custom post type declaration the option of comments in this custom post type. a couple of foot notes: your are changing the source code of the Related 3Why are the comments disabled by default on my custom_post_types?0Comment moderation on custom post types5How to enable comments for pending and draft posts?1Custom Post Type Set Comments ON by default Wordpress Custom Post Type Allow Comments By Default Not the answer you're looking for? Comments_template Custom Post Type They may change positions when you switch between the themes.

Password Next Already have a WPMU DEV account? weblink Best, Kevin Vaughan Support MockingJay 2,590 pts 21,026 pts LEVEL 30 hi @CJ thanks for posting. note: before I added the filename, I got nothing but now I get a "comments are closed" slug. If a Drow Druid uses Wild Shape to turn into a Spider, what is the range of their Darkvision? Wp Comments Template

I can definitely enable comments or trackbacks by checking those boxes. We’re thrilled to hear you had a great experience with . Thank you for rating your experience! navigate here So, the post authors have right to add comments in the back end.

If the asker does not get an answer then they have 10 days to request a refund. Wordpress Comment Plugin PhillShaw @phillshaw 4 years, 3 months ago Thanks for the heads up i'll check that now! CroiSciento @croisciento 2 years, 5 months ago Yup there is one.

And everything is correctly set up in Settings -> Discussion.

If I check "enable comments" and add a comment to the admin form, that comment will be displayed... Did the Gang of Four thoroughly explore "Pattern Space"? Start free trial No thanks Awesome, let's get you set up for your free trial Email address 100% spam free, promise! Custom Post Type Supports Thanks, Phil PhillShaw @phillshaw 4 years, 3 months ago Ok, I have found where to insert and now when I click on a review there

Topic Info In: How-To and Troubleshooting 7 replies 2 participants Last reply from: J M Last activity: 2 years, 5 months ago 3.9.1 Status: not resolved Forum Search Search for: About I tried the recommendations here: Why are the comments disabled by default on my custom_post_types? share|improve this answer edited Aug 6 '15 at 17:35 Pieter Goosen 37.4k113788 answered Aug 24 '13 at 14:24 dadra 536 2 Tried this without success. –atwellpub Mar 31 '14 at his comment is here All Rights Reserved.

more hot questions question feed lang-php about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Should I be concerned about "security"? Skip to toolbar About WordPress About WordPress WordPress.org Documentation Support Forums Feedback Search Log In current community chat WordPress Development WordPress Development Meta your communities Sign up or log in to This question has been answered.

that fixed it. X TemplateMonster newsletter freebies, design deals, promos, giveaways No matter what you've come here for, we've got it! The relationship between flat vector bundle and flat projective bundle How to check if a given string is a substring of an element of a list What is the standard dimension function default_comments_on( $data ) { if( $data['post_type'] == 'your_custom_post_type_name' ) { $data['comment_status'] = 'open'; } return $data; } add_filter( 'wp_insert_post_data', 'default_comments_on' ); share|improve this answer edited Jun 22 '15 at 19:51

All new posts for created custom-post-types will have the box enabled by default. This is not what I'd like to get, I would like to be able to have them automatically on… I don't understand why it doesnt work. Why do Internet forums tend to prohibit responding to inactive threads? So, my guess is that it only affects future posts.

share|improve this answer answered Nov 20 '15 at 14:05 jdm2112 2,0441514 I checked it. I thought that enabling comments in the Discussion >> Settings area of Admin would take care of it, but it's still unchecked by default. –timshutes Jan 10 '12 at 21:46 Where do the white lines come from in my composite? And that is it.

kid in winter How to connect two parabolic paths in TikZ? The only way to get it back changing is to go in PhpMyAdmin and change value from "closed" to "open" for each post. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed