-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisite no featured image #45836
Comments
Hi, @dansdev I couldn't reproduce the issue when testing with WP 6.1.1 and Twenty Twenty-Three theme. I've not used the snippet to enable the post thumbnails since the Twenty Twenty-Three theme supports the feature out of the box. Can you provide more details about your setup?
Thanks |
Thank you both for taking the time to look into my issue. I can confirm that my user role is administrator and that there are indeed DevTools errors, please see below: Interesting enough in Local if I swap over to nginx webserver, the console errors are gone and the featured image panel displays fine in pages, posts and cpts! So looks like the issue might related to either Apache or Local. This is with a fresh install of Twenty Twenty-Three without using the add_theme_support snippet. For reference, I have tested in Local by Flywheel on Apache 2.4.43 and Nginx 1.16.0, both installations using php 8.1.9. Cheers |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
@dansdev, based on errors, the WP installation is having trouble finding REST API endpoints. It looks like an Apache server or Local issue. I will close the issue since this isn't something we can fix in the plugin or WP. |
Same issue with 6.1.1 on a regular website, not multisite. In the post editing page, the "featured image" panel is missing. |
Description
Hi there,
Sorry I'm unsure if this should be directed at Gutenberg or core. I have an issue/bug with the featured image meta box on a multisite installation in pages and posts.
Adding theme support for post-thumbnails in functions.php
add_action( 'after_setup_theme', 'theme_init' ); function theme_init() { add_theme_support('post-thumbnails'); }
After enabling theme support for post-thumbnails, Featured Image box should be in sidebar on post and pages edit screens. In a multisite this is not displayed. Looking at the sidebar in chrome devtools, it's not even rendered.
I have tested the above on a single installation and Featured Image box displays as it should.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
WP version: 6.1.1
Theme: Twenty Twenty-Three ( also tested with Twenty Twenty-Two)
Plugins: none
Multisite
Installed locally using Local by Flywheel
Apache 2.4.43
php 8.1.9
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: