threadi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to block external CSSOkay, that’s an unusual way to use the Block Editor. It’s a bit out of the ordinary, but WordPress definitely allows it. If you’re comfortable with it – why not 🙂
So your goal is really to have your own CSS file where you can style the HTML code you’ve written yourself. There are actually several ways to do this, but you also want to get rid of the other styles you don’t need for your custom page – and that’s where custom themes come into play.
I would therefore recommend setting up a theme yourself. Since you want to do without any of the block features, a classic theme would likely be the best fit. See: https://developer.ww.wp.xz.cn/themes/classic-themes/your-first-theme/ – there you’ll also find the file handling you were looking for.
As mentioned at the beginning, though, this is a bit unusual. With this approach, you don’t really need a CMS at all; you could just write everything yourself in HTML/CSS files. What value does WordPress still offer you in this case?
Forum: Fixing WordPress
In reply to: The editor looks ‘weirdYes, I can see that now on Newscrunch. But that’s all I’ve seen so far. There’s actually a lack of compatibility with changes in WordPress 7.0, which needs to be addressed by the theme developer.
Forum: Fixing WordPress
In reply to: Unremovable borders since last WP7.11 releaseYou are using Avada 7.11.13, which is a very old version of this commercial theme. The current version is 7.15. Your old version is likely not compatible with the new WordPress 7.0. I would therefore recommend that you update your theme. If you have any questions about this, please contact their support team: https://avada.com/help-center/ – we cannot assist with commercial products here in the forum.
Forum: Fixing WordPress
In reply to: How to block external CSSIf you want to remove a specific style sheet from the output, you need to use its handle in
wp_dequeue_style(). However, there is no handle named “twentytwentyfive” when using the default TwentyTwentyFive theme.With block themes, CSS styles are dynamically generated from the templates and the settings in
theme.json. No files are created in this process; at most, thestyle.cssfile from the theme or from plugins that supplement it is used. If you’re looking for something like that, you’d have to switch to classic themes (such as the last classic default theme, TwentyTwentyOne).What you enter as Additional CSS is simply an addition to the styles that WordPress already generates for you via the theme. You can store additional CSS in the Additional CSS section – as the name suggests.
I’m a bit unsure what you’re actually getting at here. If you don’t want the settings in Additional CSS to appear on the front end, simply leave that field blank. No coding is required for this.
And what do you mean by “external CSS” in this context? By that, I mean a style specification that is loaded from a different server. For example, if you run your website at
example1.com, you could include CSS fromexample2.com– and you want to prevent that? Perhaps some specific examples from you would be helpful to move forward here.Forum: Fixing WordPress
In reply to: api.ww.wp.xz.cn/statsI couldn’t find anything about that either, so I’d recommend asking about it in the #meta channel on Slack.
Forum: Fixing WordPress
In reply to: How to disable preview in Custom HTML block?I don’t see any option for that at the moment, so I’d recommend submitting your request to the Gutenberg team: https://github.com/WordPress/gutenberg/issues
Forum: Fixing WordPress
In reply to: The editor looks ‘weirdOkay, and which theme is causing this issue? If it works with TT5, you should contact the support team for the theme you’re using so they can make it compatible with WordPress 7.0.
Forum: Fixing WordPress
In reply to: Completely Remove AI from WPFirst of all: there is still no AI in WordPress Core. What has been added are AI connectors. These enable a standardized integration of AI, if you choose to use it. It’s like a train station, where tracks are needed for the trains. The station is WordPress, which provides the tracks for the trains.
If you want to disable the AI connectors, simply add the following line:
define( 'WP_AI_SUPPORT', false);The other lines you mentioned simply suppress the visible output in the backend (though nothing will appear there).
Alternatively, you can try this plugin: https://ww.wp.xz.cn/plugins/turn-off-ai-features/
However, this only applies to AI connectors that support this setting. Currently, these are all the ones recommended by WordPress itself. If additional connectors are added in the future, they will also have to comply with this.
Plugins that include their own AI integration are not affected by this setting at all.
Forum: Fixing WordPress
In reply to: The editor looks ‘weirdWhich theme do you use and did you try to change it as a test?
If you’d like to see changes made here, it’s best to submit a request on Core Trac. I haven’t been able to find anyone else there yet who has requested the same thing: https://core.trac.ww.wp.xz.cn/newticket
Forum: Fixing WordPress
In reply to: wp-admin page error – 7.0 version update process periodUnfortunately, I’m not sure which plugin you’re referring to. With the manual update method described above, only the core files are replaced – not the plugins. If you’ve just deactivated them, please reactivate them.
Forum: Fixing WordPress
In reply to: Unable to confirm if define( ‘WP_SUPPORTS_AI’, false ); worksYou made a typo. The correct code is:
define( 'WP_AI_SUPPORT', false );Once this is set, you will no longer see any of the default AI connectors under Settings > Connectors, and consequently, you won’t be able to use them. The view will then look like this (if you don’t have another plugin that acts as a connector and ignores this constant):
https://snipboard.io/Vc9nI3.jpg
As an alternative to the constant, you can also use a hook: https://developer.ww.wp.xz.cn/reference/hooks/wp_supports_ai/
Or a plugin: https://ww.wp.xz.cn/plugins/turn-off-ai-features/
Forum: Fixing WordPress
In reply to: wp-admin page error – 7.0 version update process periodIt looks like the update wasn’t saved completely. You can fix this by performing a manual update as described here: https://ww.wp.xz.cn/documentation/article/updating-wordpress/#manual-update
Forum: Fixing WordPress
In reply to: Media Library Problem after update to WordPress 7.0This spelling, which can be seen there, doesn’t appear anywhere in the WordPress core: https://github.com/search?q=repo%3AWordPress%2FWordPress%20uploading…&type=code
However, it does appear in Elementor, which you’ve apparently activated. I would therefore recommend that you contact their support forum: https://ww.wp.xz.cn/support/plugin/elementor/
Forum: Fixing WordPress
In reply to: Media Library Problem after update to WordPress 7.0Without any parameters, load-scripts.php doesn’t load any data at all. If you’re unsure about this, check the developer tools to see exactly what your browser loads from the backend when you call the page.
Could you show us a screenshot of your view in the media library? See: https://ww.wp.xz.cn/support/forum-user-guide/block-editor/#adding-screenshots