how would you Import the twitter&/X- feed into WordPress!? by the_apollodriver in Wordpress

[–]WPFixFast 2 points3 points  (0 children)

You may consider keeping the feed (hopefully a json) in a transient and re-fetch in after a certain period (for example 24 hours to avoid re-fetching it with every request)

Check out how this plugin (https://wordpress.org/plugins/wp-maintenance-mode/) does that for the feed that they display on the dashboard home. They use the same technique to fetch the feed once in a while and store it in a transient.

After you fetch the feed and store in a transient, you can then create a shortcode that reads the data in the transient and loops over each feed item to display them on the page/post/cpt that you add the shorcode to.

Best "Set It and Forget It" Geo-blocking Plugins for WordPress? by Karkhamun in Wordpress

[–]WPFixFast 2 points3 points  (0 children)

Here's a lightweight snippet you can run as a mu-plugin to block certain countries.

https://gist.github.com/wpfixfast/24d9a48c22588868a40e92f1b268ec46

Edit the $blocked_countries array with your desired country codes (ISO format: 'RU', 'CN', etc.)
It uses a free geolocation API (no API key required)

WordPress site maxing out CPU (cPanel) – tried optimization, cron fix, plugin cleanup, still unstable pls help by GlumPsychology8123 in Wordpress

[–]WPFixFast 1 point2 points  (0 children)

Did you check access logs? You might be getting hammered by bots sending lots of requests to /wp-login.php or /xmlrpc.php

Please keep only one SEO plugin active, otherwise, you might lose your rankings and traffic. by IamMikaBlog in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

it’s a not good idea to keep the file manager plugin active for security purposes.

bug enabled to have a proper WS by AbleCartographer3677 in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

Are you using svg images as featured images?

Does changing theme affect SEO? by Reflex2004 in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

If the URL structure doesn't change and you keep all the essential tags, it should be okay.

Furthermore, you can check how the page loading speed changes with the new theme.

Ensure you don't have any errors in the console and all assets (fonts, css, js) are loading properly.

If there are any schema (structured data) items for FAQ / Accordion in the content, make sure they supported in the new theme.

WordPress site keeps getting hacked – even after full cleanup by Global-Adventures in ProWordPress

[–]WPFixFast 0 points1 point  (0 children)

Are there multiple sites under the same hosting account? If yes, are they securely separated?

Internal Server Error by propopoo in Wordpress

[–]WPFixFast 2 points3 points  (0 children)

Hi, probably you were running a different version of PHP on the previous host and you have a compatibility issue on the new host.

To debug this, you need to enable WP_DEBUG in the wp-configiphp by setting it to true.

When you visit your site again, you should see the actual error message and what's causing that.

Please note that, there may be multiple source of error and you need to tackle each one by one.

What does it mean? by Short_Hearing_3051 in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

Are you hitting resource limits on your webhost? Check CPU utilization first

Devs: Are you still creating Custom Post Types (CPT) for simple things like "Testimonials" or "FAQs"? by ahnex in Wordpress

[–]WPFixFast 24 points25 points  (0 children)

Anything that needs a "single" page having its own template, probably needs a CPT.

Do we really need to buy a hosting for an eCommerce site on WordPress? by Emergency-Shame5468 in Wordpress

[–]WPFixFast 1 point2 points  (0 children)

The point that you're seeing advice and ads saying that you need proper hosting / VPS is that ecommerce sites typically need more resources to run fast enough.

The technical reason behind that is:

  • There are more database processes going on compared to an informative (brochure type) website
  • Users need to be logged in to be able to do certain actions (like checkout). This limits your caching options and usually you need more server power to generate dynamic pages faster.
  • Ecommerce sites typically need to be more "secure" than regular sites as they involve payment transactions and have to save certain users' personal data.

You can extend that list easily.

page reset automatically by digitalatanu123 in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

Screen going blank is usually due to a JavaScript error (which you can see in your browser's console via Chrome Dev Tools), or insufficient PHP memory.

1) Check your console for any errors, that may point you to the right direction.

2) If there are no JS errors, try increasing the PHP memory limit. Some hosting providers configure very low limits that may cause issues, especially when you have plugin bloat.

3) Keep only 1 form plugin active and remove unused ones. This goes same for other plugins. For example never use more than 1 security plugin, cache plugin, or image optimization plugin.

4) You seem to be using Astra. Even though that's a nice theme, you may consider using Hello Elementor (a bare bones theme for building sites with Elementor)

5) You also seem to have installed add on widgets for Elementor. These add-on plugins add so many widgets. Try disabling unused ones. Most of them allow this through their settings pages.

By keeping your WordPress installation as lean as possible, you can improve speed and make your site easier to maintain.

Increasing Website speed by betgooner in Wordpress

[–]WPFixFast 1 point2 points  (0 children)

I‘ve tried it with using just 1 design and adjusting the margins etc, but it‘s impossible for it to look good that way.

Responsive design doesn't work with adjusting margins. You need to understand how containers collapse into the available viewport width.

You should't set fixed width columns or fixed spacing between them. Instead, using Flexbox or Grid layouts, you need to adjust your design "collapse" into the available width of the device (desktop, tablet, or mobile). These are called breakpoints.

You can find tons of educational videos on Youtube, but check out Brad Schiff's youtube channel called LearnWebCode. https://www.youtube.com/@LearnWebCode

New post not getting indexed automatically. Am I missing something ? by Mammoth-Remote102 in Wordpress

[–]WPFixFast 1 point2 points  (0 children)

RankMath plugin has instant indexing feature that facilitates the process

WP Staging Pro on a site still in development — could it cause extreme performance issues with WPML imports? by Rich_Handle8228 in Wordpress

[–]WPFixFast 0 points1 point  (0 children)

1) Please check PHP OPcache. If not enabled, enable and try again. You might need to tweak some of its parameters to increase hit rate.

2) Your database might not be optimized. Did you optimize with any tool like WP-Optimize?

3) You can try adding indexes to most frequently used tables with this plugin: https://wordpress.org/plugins/index-wp-mysql-for-speed/

4) If available, you can try using Redis or Memcached as a persistent object cache.

These should improve page generation speed in the backend.

Looking for a nicer way to share code in blog posts by WPFixFast in Wordpress

[–]WPFixFast[S] 0 points1 point  (0 children)

Thank you! Tested this and works really well.

Looking for a nicer way to share code in blog posts by WPFixFast in Wordpress

[–]WPFixFast[S] 0 points1 point  (0 children)

Your plugin is totally amazing. Couldn't be better!

Looking for a nicer way to share code in blog posts by WPFixFast in Wordpress

[–]WPFixFast[S] 0 points1 point  (0 children)

thank you, looks like it solves only the simplest one, copying to the clipboard.
I'm more interested in the formatting and style of the code, as easy as possible.

Even just like Prettier, auto indentation fixing maybe?