Jetpack Share in Custom Plugin
-
Hi All
I have a custom WordPress plugin which displays job vacanices. There are 2 views to this plugin, the first view shows all of the vacancies and the second view shows just one vacancy.
I have added the php<?php echo sharing_display(); ?>
to the loop which creates the jobs for the first view and for the second view. This bit of php shows the Jetpack social share buttons.
My issue is that when sharing a vacancy the URL is wrong. The URL that is being shared is https://www.mysite.com/job-search/ when really it should be https://www.mysite.com/job-search/job/306/
Is there any way to manipulate the php in order to for the share buttons to share the correct URL?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Jetpack Share in Custom Plugin’ is closed to new replies.