Sergey Gabrielyan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page Templates no longer Appears after WordPress 6.5 – Block EditorI think I’ve found the solution. By registering
Custom Templates
intheme.json
, theSwap Template
option has been added to theTemplate Options
section.Screenshot – Custom template files
Page Screenshot Without
Custom Templates
intheme.json
.Page Screenshots With
Custom Templates
intheme.json
. Screen 1, Screen 2, Screen 3Custom Templates code
{ "version": 3, "customTemplates": [ { "name": "archive-campus", "postTypes": [ "page" ], "title": "Archive Campus" }, { "name": "archive-event", "postTypes": [ "page" ], "title": "Archive Event" }, { "name": "archive-program", "postTypes": [ "page" ], "title": "Archive Program" }, { "name": "emptycanvas", "postTypes": [ "page" ], "title": "Empty Canvas" }, { "name": "page-my-notes", "postTypes": [ "page" ], "title": "Page My Notes" }, { "name": "page-past-events", "postTypes": [ "page" ], "title": "Page Past Events" }, { "name": "page-search", "postTypes": [ "page" ], "title": "Page Search" }, { "name": "single-campus", "postTypes": [ "page" ], "title": "Single Campus" }, { "name": "single-event", "postTypes": [ "page" ], "title": "Single Event" }, { "name": "single-professor", "postTypes": [ "page" ], "title": "Single Professor" }, { "name": "single-program", "postTypes": [ "page" ], "title": "Single Program" } ] }
Forum: Fixing WordPress
In reply to: Page Templates no longer Appears after WordPress 6.5 – Block Editor@justincodes. Thank you, quick edit works. But is there a solution now without a quick edit?
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json fileI was wrong about the solution, I should enable
Inner blocks use content width
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json fileIn addition. After activating the theme, and adding content to Site Editor, the theme with the relationship will be added to the database without any problem.
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json fileI’ve found the solution. Maybe there was a problem with my project’s database. I’ve just removed
fictional-block-theme
row fromwp_terms
table, and the problem has been solved.Thanks also to you @threadi , you helped me figure it out too
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json file@threadi. Maybe the problem is in my project. I’ve moved that theme to the newly created project, and in that project, there is no problem.
I’ve done some steps in current project (not newly) to identify the problem, but it hasn’t helped
- Checked current version of project. It’s
6.5.2
- Deactivated all plugins again
- Added
define( 'WP_DEBUG', true );
inwp-config.php
file to see errors, and then I fixed those errors
Then, I’ve removed
index.html
file from templates folder, and problem has been solved.Screenshots
But I need the
index.html
file?Strangely, that problem is only with that one theme, and only in my current project
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json fileI deactivated the plugin initially, but when the problem persisted, I reactivated it again.
I’ve uploaded the theme on GitHub. Link
Forum: Fixing WordPress
In reply to: contentSize doesn’t work in theme.json fileHello @threadi. No, I don’t have a child theme. I’ve deactivated all plugins, but the problem hasn’t been solved. There are 5 themes in my project, but only one theme has this problem. I’ve disabled CSS also, but it hasn’t helped also.
This is the behavior. Video
I’ve tried many things, but I can’t understand what is the problem
I’ve posted the question on Github. This is the solution
- Checked current version of project. It’s