Closed ajolo2ky closed 4 months ago
Hi @ajolo2ky ,
This seems to be an issue with the "Event template". I haven't dug too deep into why that template does this, but all of the other event posts uses the "Default template". See the attached screenshot for more clarity.
I'll try to find out a bit more on why this is happening with this template, whether it should even be an option, meant for another post type, is just broken, etc., and report back here.
@ajolo2ky
I'll try to find out a bit more on why this is happening with this template
These are coming from a custom template you created in the Site Editor (FSE). This must of have been a while back, and I'm assuming the site editor was available at some point. However, being a classic theme, the templates aren't editable, and only exist in the database, ie not as part of the theme files. They still however, get picked up in the page/post editor.
Since these aren't used, I can just delete them from the database. Let me know if that's ok.
Feel free to delete the template that aren't being used, thanks
On Fri, Feb 23, 2024 at 10:53 AM Nicholas Pagazani @.***> wrote:
@ajolo2ky https://github.com/ajolo2ky
I'll try to find out a bit more on why this is happening with this template
These are coming from a custom template you created in the Site Editor (FSE). This must of have been a while back, and I'm assuming the site editor was available at some point. However, being a classic theme, the templates aren't editable, and only exist in the database, ie not as part of the theme files. They still however, get picked up in the page/post editor.
Since these aren't used, I can just delete them from the database. Let me know if that's ok.
— Reply to this email directly, view it on GitHub https://github.com/OpenSourceOrg/dotOrg/issues/39#issuecomment-1961025623, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKJJAHG34CKQPZQJM6XVOTYVBRJHAVCNFSM6AAAAABBTQBDCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGAZDKNRSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks @smaffulli
I've gone ahead and removed those from the database.
As it turns out, it looks like it's possible to create templates while editing a post, something that shouldn't happen on a classic theme. It could be the existence of the theme.json causing it, but something I'll test further and see if we can disable that option.
I don't see any options to disable it, it seems to be a "feature" of hybrid themes, which this one is. I'll go ahead and close this issue, but feel free to re-open is needed.
Closed.
Description
For some reason this event's page is completely broken: https://opensource.org/?post_type=sc_event&p=16099&preview=true
It is now a draft because I had to unpublish it, copy one of the others we had produced and publish it under the same permalink we were originally using for this one.
Steps to reproduce
Go to https://opensource.org/?post_type=sc_event&p=16099&preview=true
What you expected to happen
The page should be displayed accordingly
What actually happened