Navigation überspringen

[Gelöst] %%POSTADMINLINK%% inside post forms

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

Display editing post form link in email notification.

Solution:

Please try shortcode:

[wpv-post-edit-link text='Edit this post']

Relevant Documentation:

https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-edit-link

This support ticket is created vor 4 years, 1 month. 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 -

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von simchaH vor 4 years, 1 month.

Assistiert von: Luo Yang.

Author
Artikel
#2341429

Hi,

I have a post form that sends a notification to the administrator when a user submits a new form. Inside the notification is a placeholder tag for the admin to access and view the new post - %%POSTADMINLINK$%% . I realized that it's not working and I think I know the reason why. I changed my backend URL to /backend instead of /wp-admin. If this is the reason it's not working, is there any way to change the placeholder value that it'll go to that custom URL so that the admin link can work?

Thanks!

#2341813

Hello,

There isn't built-in placeholder "%%POSTADMINLINK$%%" within Toolset Forms plugin, if you want to display Editing Post Link, please try shortcode:
[wpv-post-edit-link text='Edit this post']

See our document:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-edit-link

#2344115

Thanks Luo, that worked! I do have one more ability that I'd like to input into the notification email if possible - is it possible to have the same [wpv-post-edit-link] link that you provided, for previous form submissions as well, all in 1 email notification?

To explain what I mean: the post form that this notification email is coming from, is the third form in a "3-form step-by-step process". Each of the 3 forms are for 3 separate CPT's, and they all connect to each other via Toolset relationships. I only have the final third form set up with a notification email, because I don't want to have 3 incoming emails for each "submission", rather I'd like 1 notification email with links to all 3 CPT's for viewing/editing. So an example notification email would be:

A new submission has been entered. Select the option below to view or edit:
[wpv-post-edit-link CPT-A text='Edit Post A'] .
[wpv-post-edit-link CPT-B text='Edit Post B'].
[wpv-post-edit-link CPT-C text='Edit Post C'].

Is something like this possible?

Thanks!
Sim

Neue Threads, die von Luo Yang erstellt wurden und mit diesem verbunden sind, sind unten aufgeführt:

https://toolset.com/de/forums/topic/all-in-1-email-notification/

#2344263

Hello,

I assume the original question of this thread is resolved, for other new issues, please check the new thread here:
https://toolset.com/forums/topic/all-in-1-email-notification/
According to our support policy, we prefer one ticket one question.

#2344273

My issue is resolved now. Thank you!