Skip Navigation

[Resolved] wpv-post-taxonomy in toolset-edit-post-link

This thread is resolved. Here is a description of the problem and solution.

Problem:

Shortcodes shortcode [toolset-edit-post-link] is not working.

Solution:

As a workaround, you can try these, add below codes in your theme file "functions.php":

https://toolset.com/forums/topic/wpv-post-taxonomy-in-toolset-edit-post-link/#post-2260743

Relevant Documentation:

This support ticket is created 3 years, 1 month 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
- 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)

This topic contains 2 replies, has 2 voices.

Last updated by kimheleek 3 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#2260579
Q.PNG

Tell us what you are trying to do?

wpv-post-taxonomy in toolset-edit-post-link is not working,

[toolset-edit-post-link content_template_slug='edit_counseling_temp' target='self']
[wpv-post-taxonomy type="counseling_status" format="name"]
[/toolset-edit-post-link]

#2260743

Hello,

You are right, the shortcode

As a workaround, you can try these, add below codes in your theme file "functions.php":

add_filter('wpml_translate_single_string', function($string, $context, $name){
	$res = $string;
	if(strpos($name, 'toolset-edit-post-link') === 0){
		$res = do_shortcode($string);
	}
	return $res;
}, 10, 3);
#2260753

My issue is resolved now. Thank you!