threadi
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Language] Critical Error on all admin pagesThe reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.
Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.
In both cases you should be able to see what the cause is in the logfile. And I’d be interested in seeing that entry so I can figure out exactly what the problem is.
Forum: Fixing WordPress
In reply to: Website crashes when I try to update PHP version from 7.4 to 8.4In the WordPress world, there are two types of themes:
- classic themes
- block themes
They differ primarily in how they are used. While classic themes typically provide pre-made templates with limited customization options and usually require a programmer for adjustments, block themes allow you to customize each template individually without having to code yourself. To do this, block themes provide so-called blocks designed for a wide variety of tasks: images, text, videos, tables… and you can adjust their settings with a single click instead of having to develop them yourself in HTML, CSS, or even PHP. Just take a look at it in the Playground mentioned above, and you can find some instructions for this at https://learn.ww.wp.xz.cn/.
Your website uses the “office” theme, which, believe it or not, hasn’t been updated in 12 years: https://ww.wp.xz.cn/themes/office/ – this is why there are incompatibilities with WordPress, with components of your hosting, and also, in some cases, with how it displays in browsers. Switching it is therefore highly recommended.
I just installed the “office” theme on my end as a test using PHP 8.4. It seems to be working so far. So I’m not sure if your theme is really the problem. To check this, I’d recommend taking a look at the error log or enabling WordPress’s debug mode. You might be able to get help with this from your hosting provider.
Oh, that’s what you mean – yes, the screenshot helps clarify the question. 🙂
But you’ve already found the article that describes the option. If it’s enabled, the block shouldn’t be visible on the front end either. As I’m seeing right now while testing in the Playground, that option isn’t available on the Shortcode block, though.
I’d recommend submitting this as a feature request to the Gutenberg team: https://github.com/WordPress/gutenberg/issues
Currently, you can only hide the shortcodes if you let them be parsed. To do this, you just need the following code:
add_shortcode( 'adinserter', function() { return ''; } );You would need to place this in the functions.php file of your child theme or via a code snippet plugin. The result: the shortcode will no longer be parsed on the front end. However, as soon as you want to use the shortcodes again, you’ll need to remember to remove the code.
Forum: Fixing WordPress
In reply to: Website crashes when I try to update PHP version from 7.4 to 8.4Without seeing your site, it’s hard to give examples of similar layouts. Just take a look around the theme repository here: https://ww.wp.xz.cn/themes/
Note: It’s very easy to modify the layout of block themes. You might be able to achieve your goal that way. The current default theme, TwentyTwentyFive, is a block theme. You can also test the themes in the Playground without affecting your site at all.
Forum: Fixing WordPress
In reply to: Where are the header and footer?Your header and footer are generated by the commercial theme X you’re using. It’s best to contact their support team to get a proper answer to your question: https://themeforest.net/item/x-the-theme/5871901/support – we can’t help with commercial products here in the forum.
Nevertheless, here’s a tip based on a hunch: you might be able to edit at least the menus in both sections in your backend under Appearance > Menu. But this is just a guess, since I’m not familiar with the theme and don’t have access to it.
I’m guessing you’re referring to the shortcode
[adinserter block="5"]that’s visible on the website? It likely comes from the “Ad Inserter” plugin, which is probably no longer active on your site, meaning the shortcode is no longer being interpreted.You have the following options:
- If you want to continue using the shortcode (presumably to display ads), check why the “Ad Inserter” plugin is deactivated. If you have questions about this plugin, contact their support forum: https://ww.wp.xz.cn/support/plugin/ad-inserter/
- If, on the other hand, you no longer want to use the ads, you must remove the shortcode from all instances where you have used it.
Forum: Fixing WordPress
In reply to: Yoast, The Events Calendar & Divi Events Calendar w Divi EditoThe reason for the error should be visible in the error log. You can find it in your hosting area. If necessary, the support of your hosting can help you.
Alternatively, you could also enable debugging in WordPress. How to do this is described here: https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/ – also here the support of your hosting can help you if necessary to edit the file accordingly.
In both cases you should be able to see what the cause is in the logfile.
Forum: Fixing WordPress
In reply to: wp-cli ‘outdated PHP’ error, but server is at newest version of PHPThe PHP version used in the console may be different from the one installed on the web server. Type
php -vto view the console version. And typewp cli infoto see which version WP CLI is using.If it’s different from the one on the web server, you’ll need to change it elsewhere in your server management settings. If necessary, contact your hosting provider’s support team.
Forum: Developing with WordPress
In reply to: How do i integrate custom jquery in wordpress?Add the dependency here:
wp_enqueue_script( 'earn-ds-navigation', get_template_directory_uri() . '/assets/js/navigation.js', array( 'jquery' ), true );See: https://developer.ww.wp.xz.cn/reference/functions/wp_enqueue_script/
Forum: Fixing WordPress
In reply to: Advanced Layout Editor not loading anything at all“Advanced Layout Editor” doesn’t sound like something that comes with WordPress itself. Which plugin do you use for that?
Forum: Fixing WordPress
In reply to: Bootstrap Drop-down not working in wordpressWordPress Core does not include Bootstrap, nor does it support Bootstrap. To use Bootstrap, you’ll need to include this library yourself in your custom theme or plugin. Since we’re not familiar with your implementation, we can’t tell you exactly what changes you need to make to achieve your goal.
In my opinion, you have the following options:
- Provide a link to the page where we can see what you’re trying to achieve. Perhaps someone can then give you a tip on what you’d need to change in Bootstrap to achieve your goal.
- Or reach out to a community that supports Bootstrap itself. I’m aware of this one: https://discourse.bootstrapworld.org/ – but there may be others as well.
Forum: Fixing WordPress
In reply to: Why does my screen look different from tutorial screen?You’re watching an 11-month-old video about the Astra theme. The setting you’re asking about is provided by Astra itself. Over the course of those 11 months, both the appearance and functionality may have changed. If you have any questions about this, I’d recommend reaching out to their support forum: https://ww.wp.xz.cn/support/theme/astra/
You are currently in the forum for the free WordPress software, where users help each other with questions. See: https://ww.wp.xz.cn/support/guidelines/ – no one here has or will have access to your project in any way.
You won’t find anyone here who can provide you with personal support for your problem. If you’re looking for that kind of help, there’s a platform for it here: https://jobs.wordpress.net
However, your description sounds very much like your project has been hacked. I would recommend restoring a clean backup. If you don’t have one yourself, ask your hosting provider if they have one available. If none is available, you have two options:
- Hire someone to clean it up. You can do this, for example, through https://jobs.wordpress.net, but it could be very time-consuming and the outcome is uncertain.
- Rebuild the project from scratch. You might be able to gather content and some images via http://web.archive.org. And yes, that’s time-consuming too.
Once your project is clean, I would recommend backing it up. For more information, see: https://developer.ww.wp.xz.cn/advanced-administration/security/hardening/
- This reply was modified 2 weeks, 3 days ago by threadi.
Forum: Fixing WordPress
In reply to: erro ao postar artigosYou are currently in the support forum for the free WordPress software – not on Hostinger. If you need assistance with your issue from your hosting provider, Hostinger, please contact their support team here: https://www.hostinger.com/contacts
Overall, however, your issue sounds very strange. You should still be able to access the backend normally, even if you deactivate plugins. If that no longer works at all, restoring a backup through your hosting provider is actually the better solution.
Forum: Fixing WordPress
In reply to: Are hidden blocks in wordpress 7.0 still downloaded?WordPress 7.0 does not include a feature to display blocks based on the viewport. This feature is expected to be introduced in WordPress 7.1 and is currently under development by the Gutenberg team: https://github.com/WordPress/gutenberg/issues/75707
If you are using a plugin that offers this functionality, you should direct your question to their support forum.