Saltar navegación

[Resuelto] Link from a dynamic shortcode

This support ticket is created 4 years, 8 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 6 respuestas, tiene 2 mensajes.

Última actualización por Minesh 4 years, 8 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2204335

Tell us what you are trying to do?
I have a chunk of text that is loaded from a custom field and I want to have that text be a link.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
Not that I'm aware of.

What is the link to your site?
enlace oculto

The founder name, Jim Ford, is dynamic and I'd like to create a page about Jim Ford. Eventually I want to cross link the brands and the people all over the site.

#2204729

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know to what link you would like to link the custom field text "Jim Ford"?

#2205133

It would link to a page like this - enlace oculto
The actual page doesn't exist yet.

#2205909

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Basically - You should add a HTML block or "fields and text" block and you can link it using the anchor tag

<em><u>enlace oculto</u></em>

You can adjust "your-target-link" and "your types custom field that displays the name".

#2206293

When I add the href into the template, every brand ends up with the same link.
enlace oculto
enlace oculto

This isn't what I'm trying to do. Each founder, should link to a unique page.

#2206619

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

But to what unique page. I will have to understand first your structure and then I'll be able to guide you in the right direction.

Can you please share admin access details and tell me where you want to add the link and to what URL you want to point out the link.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2207893

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

As I understand this is a brand page: For example, on this page - enlace oculto

How can I know what "founder " is linked to what brand?

I see you did not created any post relationship using Toolset:
=> enlace oculto

I'm still confuse about how to identify what brand is linked to what founder? Do you want to create one to many post relationship?
- One brand can have many founders?

Here are the Docs that you should check and understand how you can setup post relationship and how it works:
- https://toolset.com/course-lesson/what-are-post-relationships-and-how-they-work/
- https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/