Skip Navigation

[Resolved] Inserting the Discussion Meta Box on the CRED Form

This support ticket is created 7 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 3 voices.

Last updated by katjaL 7 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#585519
M.jpg

Tell us what you are trying to do?
Hi
I would like to Insert the Discussion Meta Box on the CRED Form for Editing EXISTING CONTENT only.
I also have a CRED form to create new Custom posts but I don't need it there.

Is there any documentation that you are following?
None, that I have fund.

Is there a similar example that we can see?
Please see my screen shot attached.

What is the link to your site?
hidden link
Here, when people click on the "Update Project" Links in the Loop, it redirects to the CRED Form of that specific post.
That's where I would need to show the discussion box.
Only the setting to "ALLOW COMMENTS", not the "trackbacks & pingbacks" though.

See Editable Single Custom Post here:
hidden link

This Site is restricted to members only but I would gladly give you access.

Thank you!

#585743

Dear theW,

There is a misunderstanding:
The option "ALLOW COMMENTS" in CRED form is for display the Comment form in front-end, it won't take effect on wordpress admin side.

If your custom post type is created with Types plugin, please edit it, in section "Sections to display when editing ", there is an option "Comments", it control the displaying of The Discussion Meta Box in wordpress admin side when you edit a single post.

More help:
https://codex.wordpress.org/Function_Reference/register_post_type#supports
'comments' (also will see comment count balloon on edit screen)

#587237
1.png

Thank you very much for the reply Luo,

Yes, I'm aware of everything you explained.
I already had that option checked, see screenshot 1.

Let me reword my question:
How can I show this Meta box in the front in my CRED form?

You see I have a CRED form in the front where people can Edit their Posts but I would like to give these authors the ability to decide if they want to allow comments.

Makes sense?

#587381

Thanks for the details, I understand what you are going to achieve:
Add a field "Allow comments" in the CRED form, if user enable the "Allow comments", and submit the form to create new post, the new post can display the Comment form in front-end.

There isn't such a built-in feature within CRED form, if you agree, we can take it as a feature request, our developers will evaluate it.

#587901

Yes please,
I think this can be a great added feature.
Thank you!

#1214159

Hi, any news on this? It would be great if this was possible.