I am trying to: create pages with dynamic content (views) and create custom fields and taxonomies
Link to a page where the issue can be seen: hidden link
I expected to see: content with map at top and sites listed at bottom
Instead, I got: content with map at right side and sites listed in left side. In this case the result is in error as if the query isn't executing.
Hello and thank you for contacting the Toolset support.
I added a paragraph to the page and updated it, but that does not reflect on the frontend. Which smells like a caching issue. When visiting the page without being connected and it has some Javascript errors hidden link
These errors are usually caused by an optimization plugin that concatenate Javascript files and may interfere with the loading priorities. So, I deactivate the SiteGround plugins, but that did not help. It is probably caused by a server level caching system. Can you check from the SiteGround hosting dashboard to deactivate cache temporarily?
Regarding Javascript optimization, some Toolset files need to be excluded from optimization. Check this article https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/
I went to SiteGround and turned off all caching, and I flushed the cache. The pages still all preview the same. I can see your paragraph. Is there something in WordPress or Astra that could be causing this? I played a little with limiting Astra, but it didn't change anything. My testing (before I called you) was to deactivate all plug-ins (no difference), change Astra settings (no difference), and look for obvious errors (used web developer console to see errors; thought I had an error with google maps but no, it works fine).
The unusual thing is that it was all working. Then a day or two later I had to make some changes to the custom fields in Sites and after that all the pages previewed the same. I don't know if that could have done something or if it was a coincidence. It is similar to the issue in another problem ticket: [Resolved] All WordPress Archives Link to hidden link (Shop) -- part of WooCommerce. Same thing just different pages and target location.
I do have questions on how that works. When I delete a custom field, and recreate it, the slug I used before is no longer available. So, that means that the field is really not deleted. Is that correct? My confusion is with taxonomies and how to populate then during data entry. I assumed that they worked like lookup tables (I have a state-province and a country taxonomy in Sites) and i originally created a custom field to enter the values but realized they didn't work like lookup tables. How do I get those values into the Site information? I think that there must be an attribute on the Sites that I don't control, and then how do I know if I got the slug right? And what field and field type do I use for the taxonomy? I tried 'select' but this doesn't seem right. Perhaps a single line? I can't see any of this so I can't check and i can't remove the old ones. It would be really helpful if this is explained in documentation somewhere.
I was still suspecting a cache issue, so I deactivated all the plugins and I was able to see my new paragraph on the frontend. Then I activated back Toolset plugins and the issue reappeared. It turns out that a content template for the Sites custom post type, was also manually assigned to this page. After unassigning it, the page content was now visible on the frontend. My apologies for missing that yesterday.
Now, the map and the view are both visible. The markers too, even though two of them are clustered and they appear as one until you click on them.
I hope this helps. Let me know if you have any questions.
Yes, it was the custom site template assignment to the page that was executing and appearing to be a different page. My issue is resolved now. Thank you!