New CTP is not linking to another CTP
This topic contains 18 replies, has 4 voices, and was last updated by Paolo 6 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 6, 2019 at 8:23 am #491180
Hi..
I have a list of restuarants as CTP.
Now I am making a “Promo” list where I can assign to each restaurant, (ie, link to it).
I created the promo, but I am having the following issues
1) when I go to view promo, it doesnt show..
2) the option to link to a restaurant, even when I updated in the settings, it is not showin when I click on Add promos..please advise..
thanks
June 6, 2019 at 9:14 am #491195Did you choose to display the field using “Show in extra locations”
https://wpgeodirectory.com/docs-v2/places/custom/Did you include the link field in a price package?
June 6, 2019 at 9:21 am #491196Hi
My promos are as a new list of CTP rather than a custom field of restaurants..
So that way I can just list promos in a certain location..
But each promo needs to be linked to a restaurant..
IE( doctors in a Medicare centre, where doctors are like my promos).
I hope that helps in explaining
June 7, 2019 at 4:35 am #491451Did you add a field to link them?
https://wpgeodirectory.com/docs-v2/addons/custom-post-types/June 7, 2019 at 4:49 am #491458This reply has been marked as private.June 7, 2019 at 6:18 pm #491612You have that field excluded in the price package.
Remove it and it’ll appear.
ThanksJune 8, 2019 at 1:20 am #491678This reply has been marked as private.June 8, 2019 at 3:20 pm #491713Developers will check your settings and let us know what the problem was after the weekend.
ThanksJune 8, 2019 at 5:07 pm #491732Please switch your maps api or fix your google api so maps work.
Once you do that you should be able to link promos to businesses.
You have this setup properly is seems
https://bfl.cloudaccess.host/wp-admin/edit.php?post_type=gd_gd_business&page=gd_gd_business-settings&tab=cpt-tabsLet us know if this works for you
https://wpgeodirectory.com/docs-v2/integrations/google/#tutorialOr change the API to OSM
GD – Settings – General – SHow advanced – Maps API – OpenSTreetmapJune 8, 2019 at 10:53 pm #491765Hi Alex.. Paolo..
Google map is working fine, and I can see the map, as well as I can find the locations.
It is not an issue with the Google Map API, as I can find both with OSM as well as Google MAP.
the issue is with the CTP not linking to another CTP.
I have set the CTP of the promos with the location, I have set the CTP of the Restaurant with the location..
I have setup the Promo CTP to link to the Business.. and it has been linked. (BUT when I go and view the Promo details.. the CTP link is empty)..
it is NOT storing my link.. how can I fix it..
Thanks
June 10, 2019 at 6:16 am #491891This reply has been marked as private.June 10, 2019 at 8:11 am #491932This reply has been marked as private.June 10, 2019 at 9:17 am #491968This reply has been marked as private.June 10, 2019 at 11:16 am #492003This reply has been marked as private.June 10, 2019 at 12:44 pm #492016Hi Nyi,
This has been fixed on your staging site. It will be in next release of Custom Post Types plugin.
If you want to fix on your live site then just copy/paste following file from staging site to live site via FTP.
WORDPRESS_ROOT\wp-content\plugins\geodir_custom_posts\includes\class-geodir-cp-link-posts.phpLet us know.
Kiran
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket