[Resolved] using shortcodes in buttonlinks

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Related documentation: Front-end Content Submission and Editing Forms

This topic contains 4 replies, has 2 voices, and was last updated by  Jacques Spijkers 2 months, 1 week ago. The support staff assigned to this topic is Beda.

Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
#556571

Tell us what you are trying to do?

USING A SHORTCODE ([toolset-edit-post-link layout_slug="cred-edit-form"]Bewerken[/toolset-edit-post-link]) AS A LINK IN A BUTTON

Is there any documentation that you are following?

NO BUT I TRIED

Is there a similar example that we can see?

--

What is the link to your site?

http://tebportal.arbovitum.nl/

WHEN I'M USING THE SHORTCODE A INK IS PRESENTED TOT THE CRED EDIT FORM. THATS WORKING. BU NOW I WANT TOT USE BUTTONS INSTEAD OF THE LINKS. I WANT TOT USE 'EDIT' , 'DELETE' 'PRINT' AND 'EXPORT' HOW CAN I USE THE SHORTCODES IN THE BUTTONS

#556573

THE SHORTCODE IS POINTING TO A LAYOUT OFCOURSE

#556795

Somebody?

#556821

Beda
Forum moderator

Supporter languages: English (English ) Spanish (Espa├▒ol ) German (Deutsch )

Supporter Timezone: Europe/Zurich (GMT+02:00)

When you insert the CRED Edit Post Link, you can see in the GUI, and afterwards when the ShortCode prints in the Editor, that the ShortCode itself does nothing if you do not add a Text between the self-enclosing Tags.

We also elaborate this on this DOC:
https://wp-types.com/documentation/user-guides/views-shortcodes/#toolset-edit-post-link

To create a Button you can use Custom HTML, that is not provided by Toolset since HTML, CSS and JS are required skills to use Toolset.
The toolset will provide the possibility to display, edit, control and create your data.
The Styling and Formatting are up to the web developer.

As an example, you can use Bootstrap Button Codes in that self-enclosing ShortCode, like this:
http://getbootstrap.com/css/#buttons

It will look similar to this:

[toolset-edit-post-link content_template_slug="test"]
  <button type="button" class="btn">Basic Button</button>
[/toolset-edit-post-link]

In the above Bootstrap DOC, you can find more things to use.
You can also create "regular" HTML Buttons following other instructions.
https://www.w3schools.com/tags/tag_button.asp

Related to the delay here, this is the Free Types Forum, and we prioritise the Paid Forum here first:
https://wp-types.com/forums/forum/support-2/

You have a Toolset Subscription that allows you to post there.

May I ask if it was confusing to find the right forum?
In this case, I will immediately report this to the subject peoples.

Thank you!

#558055

Beda

Thank you very much. The 'problem' is solved.

Jacques

Viewing 5 posts - 1 through 5 (of 5 total)

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.