Event listing issues
This topic contains 12 replies, has 4 voices, and was last updated by Alex Rollin 5 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 7, 2019 at 4:04 am #491419
On my event listing page the side map shows the icons for the places category. I have used the gd_output_location code which used the same map. The individual event listing map is correct. I have attempted to view this code to copy, but unable to find.
Also, the events are not sorting. The sorting tab is set to sort by date. I have used each gd_loop without any success. Since one of the dates is a reoccuring event, is it possible they are showing together instead of separating by date?
The attached image files show the sorting as well as the map.
June 7, 2019 at 4:30 am #491441For the dates, make sure you have set to default sort.
For the map, I am not sure, maybe if you share a link I could understand better.
Please share WP Admin in a private reply if we need to check the settings.June 7, 2019 at 4:39 am #491455This reply has been marked as private.June 7, 2019 at 6:50 pm #491624You should be using the correct archive instead of creating a page for events.
https://www.consciousmichiana.com/events/
Let me know if I’m missing the reason why you wouldn’t use the built in option…
Thanks
June 8, 2019 at 12:13 am #491669This reply has been marked as private.June 8, 2019 at 2:17 pm #491700This reply has been marked as private.June 8, 2019 at 6:32 pm #491752I still feel like I am missing something.
If I understand correctly each CPT will use the corresponding GD template which can be found on the WP Page listings. I can edit there. The page attributes should be set to default (the dropdown here can be confusing as I am not understanding how they corrolate together, if at all).
The GD settings / general / page / should show the corresponding GD template files. I could also edit the template from here. The view default contens shows the origial before changes if I want to set back. In settings / Design / archive should be set to default.
If I want to overide the default template I will do this through the CTP settings. Right now each of the CPT are set to the corresponding default templates.
So far so good right?
Here is my confusion. When looking at the page listings sorted by GD, I see the default template page with both default (this is my listings category) and place templates stated on the same line. Previously I had set a page which I named GD Event Archive (I did this for both Events and Places for each template item). To avoid confusion after setting back up to original default page, I have renamed the pages I created to RMV (short for remove), and set them to draft as I wasnt sure if deleting them would cause issues. Under these old pages it is still showing in line the GD template (event). The correct templates show only for default (individual listings), and place, not for event. I have attached 2 screen shots to show what I mean.
Also, for some reason the CPT pages are showing maps on the sidebar (which is correct) and below the CPT. I know I did this last night while attempting to edit a template, but now can not figure out where this is pulling from. I looked thru the widgets and it isnt there. While editing the template by going throught the wp page list, I am not finding the short code that is bringing this in.
To clarify, I will only use the default templates unless I create my own php template following this process and then choosing from the CPT page dropdown? last screen shot.
https://wpgeodirectory.com/docs-v2/templates/archive-item/June 8, 2019 at 7:09 pm #491757After going into the CPT event / settings to look at the defaults again, I was able to see why I was confused. The line item showed GD Archive Template, so I thought it was the correct template. Once I went to edit it I could see it was pulling from the page template I corrected. I have since deleted those pages after setting event to the correct place to avoid any future confusion.
The 3 CPT defaults are all now showing on each template page line item correctly.
June 8, 2019 at 7:24 pm #491758Just a side note. As I have been trying to figure out how I initially set things up wrong, I realize that the help (?) on the page templates is confusing. It says the template should never be linked to directly. This is why I thought I needed to create a page to link through. Perhaps other wording that is less confusing could be used to prevent others from making the same error.
June 8, 2019 at 7:57 pm #491760I was able to locate the bottom map shortcode and have corrected. In setting up the details template how can I remove section B in your page example?
https://wpgeodirectory.com/docs-v2/templates/details/
The example references this:
B. Supreme Directory theme Page Template Details Info area (GD Post Title, GD Post Address, GD Post Badge)But the below page code doesnt show this reference as listed here:
[gd_notifications]
[gd_single_taxonomies]
[gd_single_tabs]
[gd_single_next_prev]
June 10, 2019 at 5:57 am #491889Hi simplycomplex,
Thanks for your reply. All shortcodes can be generated using the shortcode builder as explained here https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/ . Then, you can refer to the explanations here https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/
June 10, 2019 at 7:00 pm #492113right. I havent had issues with using the shortcodes thru the editor. I just am unable to locate where this section of shortcode is listed.
June 10, 2019 at 7:24 pm #492127To remove section B, edit the GD Details page attributes -> page template . Change the page template to GeoDirectory or full width.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket