I have a V1 GEO with EVENTS addon that has has been upgraded to V2 on a staging server. We used to have a custom code to link the events to places and restaurants but since the V2 now natively supports this we have removed the custom code and rely on the core to provide this functionality.
Additionally we have also setup a new installation of the V2 with the sample data.
Link post for other CPTs have been added to the event under “List of fields that will appear on add new Event listing form”
Add event listing does not find the any listings when using ajax search with linked CPT. This works fine on the stock installation. None of other linked CPTs would work.
With chrome code inspect in the network section I can confirm that the ajax search runs but does not return any values:
Header tab shows:
Request URL: https://ww1904.****.ca/en/wp-admin/admin-ajax.php
Request Method: POST
Status Code: 200 OK
Remote Address: ******:443
Referrer Policy: no-referrer-when-downgrade
Cache-Control: no-cache, must-revalidate, max-age=0
Content-Type: application/json; charset=UTF-8
Date: Fri, 26 Apr 2019 19:22:32 GMT
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Keep-Alive: timeout=5, max=100
X-XSS-Protection: 1; mode=block
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Cookie: wordpress_sec_f0c67f9cba178917588b201216746f50=****%40yahoo.com%7C1556318539%7CUili66WYuhuqfHZEZd25azCLmKtwkTFSnj5Ofj8ulK4%7Cb18d87b2b70bc2a0340755599d39c42f6aeea569698f6e40cea7bac0f7396d7f; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f0c67f9cba178917588b201216746f50=****%40yahoo.com%7C1556318539%7CUili66WYuhuqfHZEZd25azCLmKtwkTFSnj5Ofj8ulK4%7C553262babd1eaf3e0de337b178bf21bf8b4ca2d9903ff66d7d4aa8f607ddbafd; _ga=GA1.2.1962724914.1534364206; PHPSESSID=4oovhasr4jmtdr6rfbh7ctahg6
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Response tab shows:
Wordpress debugging has been enabled and nothing shows there. I appreciate any assistance you can offer.
ThanksThis reply has been marked as private.
The topic ‘Linked CPT does not work’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.