CRED is a WordPress plugin that lets you easily build front-end forms for creating and editing content and users.
CRED User Guides include detailed documentation on creating forms, including related fields that belong to the content or the users, validating the input and displaying the forms with custom HTML styling.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 826 through 840 (of 1,314 total)
I will create a post form with Radio Buttons, in some categories it shall be possible to just select one of the radio Buttons for example in the category "ich bin/wir sind". How can I do that?
Solution:
There isn't such kind of built-in feature within Toolset Forms, taxonomy field in post form can have three types:
- Checkboxes
- Select Dropdown
- Select dropdown with multiple selection
In your case, you can consider the option "Select Dropdown", it is also a single choice field too.
Allow users to see the edit link of their own posts.
Solution:
In order to achieve this you will need to make use of our conditional shortcode to wrap your edit link shortcode inside the conditional.
Here is the conditional below that you will need to use.
[wpv-conditional if="('[wpv-current-user info='id']' eq '[wpv-post-author meta='ID']')"]
Edit Post link goes here
[/wpv-conditional]
Essentially this is checking if the ID of the currently logged in user is the same as the author of the current post being viewed.
Once both IDs are the same then the text "Edit Post link goes here" will display. You will need to replace this text with the actual shortcode of the edit link.