Skip Navigation

[Resolved] Assigning Post Format

This support ticket is created 5 years, 11 months 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 5 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1212288

Ian

I am using my themes standard built in template for posts.

I am using a front end submission form to simplify things and control access.

I want to take advantage of "Post Formats" [built into my themes template] but I can not find a way to assign post format from a CRED form.

#1212401

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what post format you are talking here about? where exactly and how you want to use those?

Can you share few screenshots that will help me to understand your request?

#1212571

Ian

The built in post formats.

Standard
Video
Audio
Quote
Gallery
Link

#1212577

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - there is no such feature available but I think you should add Generic field and pass your custom post format values:
=> https://toolset.com/documentation/user-guides/inserting-generic-fields-into-forms/

And later try to use the Toolset Forms hook cred_save_data to set the desired post format using WordPress standard function set_post_format
=> https://codex.wordpress.org/Function_Reference/set_post_format
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data