Navigation überspringen

[Geschlossen] [wpv-post-id] is adding -1 to the ID

This support ticket is created vor 2 Jahren. 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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 2 Jahren.

Assistiert von: Minesh.

Author
Artikel
#2526253

Tell us what you are trying to do?
I am trying to create a link to a map pin on an archive page. I'm using the following shortcode to generate the markers:
[code]
[wpv-map-marker map_id='map' marker_id='marker-[wpv-post-id]' marker_icon='/link/to/map-pin.png' marker_field='wpcf-t4y-physical-address-map']
{my info-window HTML}
[/wpv-map-marker]
[/code]

In my archive page, I have 2 listings. One listing outputs correctly with `data-marker=correct_id`, but the other outputs with an additional "-1", ie: `data-marker=[ID]-1`

Is there any documentation that you are following?
https://toolset.com/forums/topic/map-marker-description-and-links/

Is there a similar example that we can see?
This is only happening on the archive page where I have switched to the block editor. My other archive page are still using the classic editor, and these work correctly: eg: versteckter Link

What is the link to your site?
The affected page is: versteckter Link

#2526907

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please tell me what is broken due to the data-marker=marker-ID?

Das Thema „[Geschlossen] [wpv-post-id] is adding -1 to the ID“ ist für neue Antworten geschlossen.