Saltar navegación

[Resuelto] Add button link in backend

This support ticket is created hace 4 años, 6 meses. 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)

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Luo Yang hace 4 años, 6 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1858165

Hi,
I have a custom code, which create an URL with custom parameters, used to filter a views query.
is it possible to add a button in backend, on the Post Field Group area, to open that link?
enlace oculto

Thanks. Best

#1858281

Hello,

There isn't such kind of built-in feature within Toolset plugins, you might consider custom codes, for example:
Create a custom metabox, and setup the button as what you want:
https://developer.wordpress.org/plugins/metadata/custom-meta-boxes/

#1858335

It would be possible at least to get a clickable link in one Toolset custom field?

#1858701

As I mentioned above, there isn't such kind of built-in feature within Toolset Types plugin.
See our document:
https://toolset.com/documentation/programmer-reference/types-api-filters/
No existed filter/action hooks to add a button as your request.

So it needs custom codes, you might consider to create a custom metabox, see my first answer above.

To get the custom field value, you can try WP function get_post_meta(), see WP document:
https://developer.wordpress.org/reference/functions/get_post_meta/