Saltar navegación

[Resuelto] Using image for Shortcode for Create child post link

This support ticket is created hace 2 años. 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)

Este tema contiene 9 respuestas, tiene 2 mensajes.

Última actualización por antonK-2 hace 1 año, 12 meses.

Asistido por: Minesh.

Autor
Mensajes
#2609693

Tell us what you are trying to do?
I've created Shortcode for Create child post link on Parent post page using instruction below. Link works and display as link.

Please advise whether it's possible to connect this link with picture. I'd like user sees image, press on image and moving by link to create child post.

Is there any documentation that you are following?
https://toolset.com/course-lesson/front-end-forms-for-editing-content/

Thank you in advance!
Anton

#2609967

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 did you added a create new child post link or edit child post link.

Can you please share URL where you added the link as well as tell me what shortcode you used to display that link.

Additionally - Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2610053
Снимок экрана 2023-05-25 в 12.26.00.png

create new child post link

Shortcode was created automatically as a result of following instruction:

1. Field & Text
2. Add Form
3. Create Child Post Link

as a result

Shortcode for Create child post link
[cred_child_link_form form='1402' parent_id='-1' text='Получить Волшебную Стрелу' target='_self']

url is available for registered users only. If it's required I'll grant access.

I'd like to know whether it's possible to connect the link to picture.

Sincerely
Anton

#2610109

Minesh
Colaborador

Idiomas: Inglés (English )

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

I would like to know what is the page where you are displaying your form?

It would be quick if you can share admin access details and content template link and frontend link where you are trying to display the child post 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.

#2610401

Minesh
Colaborador

Idiomas: Inglés (English )

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

When I try to access the wp-admin or wp-login.php file it shows me not found. Can you please tell me what URL I should use to login to the admin section.

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

#2610453

pls enter from main page form legkienoty.com

#2610521

Minesh
Colaborador

Idiomas: Inglés (English )

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

On the following page I can see you are having two images in the center:
- enlace oculto

You want to link the child post link to those images? if yes:

For the first bird image:
What if you add the your desired link and pass the [wpv-post-id] as parent URL to the image blokc's "Link Settings" tab add the following URL:
- enlace oculto;

Then for the second image:
What if you add the your desired link and pass the [wpv-post-id] as parent URL to the image blokc's "Link Settings" tab add the following URL:
=> enlace oculto;

Please check the following screenshot:
- enlace oculto

#2613205

It's required that post id to be set automatically depends from parent page. id cannot be hardcoded.

#2613315

Minesh
Colaborador

Idiomas: Inglés (English )

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

If you check my previous reply closely:
=> https://toolset.com/forums/topic/using-image-for-shortcode-for-create-child-post-link/#post-2610521

See the link I shared:
- - enlace oculto;

As you can see we are passing the [wpv-post-id] shortcode so it will add the dynamic current post ID (that is eventually the parent post id).

#2613989

My issue is resolved now. Thank you!