pichichi
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Login loop after changing DNS to CDN on OVH hostingIt sounds weird, but routers can cache DNS. If you have flushed the DNS on your devices (not the same as clearing browser cache and cookies) and they all use the same network, try resetting the router.
Hi, you can set the thumbnail size in your template using the get_the_post_thumbnail function used to display the post thumbnail. There is a parameter size that accepts any of the text based sizes that WordPress generates (eg thumbnail, medium, large) or width and height in pixels.
Documentation: https://developer.wordpress.org/reference/functions/get_the_post_thumbnail/
Usual caveats apply about editing template files directly: https://wordpress.org/documentation/article/editing-files/
- Clear caches on plugins such as wpo-minify you have installed
- Check for other caches, sometimes themes have built in caches
- If you use a CDN like Cloudflare, clear that too
- Check the site now works in your browsers private mode, if not
- Make sure all the required PHP extensions are installed, sometimes you need to add them manually after updating. There is a list here: https://make.wordpress.org/hosting/handbook/server-environment/#php-extensions
- Ask your host if you have a PHP object cache and ask to clear
Forum: Everything else WordPress
In reply to: Post content pulled from non-wordpress databaseYes it is possible, WordPress has built in functionality to interact with non WordPress database using its wpdb class. You can read more here: https://developer.wordpress.org/reference/classes/wpdb/
For example, create a new class then run your query:
$librarydb = new wpdb( 'user', 'password', 'database', 'hostname' ); $librarydb ->get_results("SELECT yourQueryGoesHere");Forum: Fixing WordPress
In reply to: site crash with PHP8Check you have all the required php extensions re-enabled, not all extensions are enabled automatically when switching versions: https://make.wordpress.org/hosting/handbook/server-environment/#php-extensions
- In your admin menu go to: Plugins>Plugin File Editor
- On the right of the page you will see a dropdown menu “Select Plugin To Edit”. Make sure you select “Preloader Plus”.
- Once selected you will see all the plugin files. The main file is the one to edit (preloader-plus.php).
- Scroll down to line 94, change it from this:
$preloader_plus_plugin = new Preloader_Plus_Plugin();to this:
$preloader_plus_plugin =@ new Preloader_Plus_Plugin();PS: editing plugin files directly is not something that is normally reccomended as it can break them and also any edits will be overwritten when the plugin is updated. If you mess anything up with the plugin, uninstall it, then reinstall and it will overwrite your changes to the code.
Forum: Everything else WordPress
In reply to: elementor pages ?Hey, try asking here, they are more likely to be able to help: https://wordpress.org/support/plugin/elementor/
Forum: Everything else WordPress
In reply to: Where should I develop an updated version of my site?First thing to check is if your host has a “staging site” feature. That can be the easiest solution and ususally involves only a few clicks and no downtime.
If not then the traditional ways are like you say, use a subdomain, or a directory or buy another domain name. Then migrate the site when complete. You can migrate manually or with a plugin.
Forum: Fixing WordPress
In reply to: Fake User Accounts Showing up in WordPressSettings>General>Membership>Anyone can register
Make sure this is unchecked or else anyone can register via your login page.
Forum: Requests and Feedback
In reply to: Problem when I edit a page.On the edit page (your second screenshot), click the three dots (ie the options button) next to the cog icon, then uncheck “Spotlight Mode”
Forum: Fixing WordPress
In reply to: Accidentally put wordpress files into a folder – site crashedWhat does your hosting error log say? The exact urls that are giving the 4xx errors should show up there, as well as any other errors.
Also, does “site health” on the WordPress dashboard say any PHP modules are missing? Sometimes changing PHP version does not install all the modules you would need.
Forum: Fixing WordPress
In reply to: Accidentally put wordpress files into a folder – site crashedIt’s good you have backups, it’s worth asking if you restored both your Database and Home Directory from the same date? If you only restore one of those it can create the kind of issues you are describing.
Forum: Fixing WordPress
In reply to: When users registerWe can split this into two things to solve 1) remove the via part after the email address and 2) change the email.
Part 1
To get the “via webhost” part removed, you need update some records at your domain name host to prove your website host is authorised to send mail. If you don’t do this mail will probably also end up in spam. Speak to your web host or look up your hosting’s documentation about setting up (a) SPF record and also see if they support (b) DKIM
Part 2
To change the notificatiuon email From address, search for a plugin that has good reviews and is well supported, or if you are using a child theme, add the follwing snippet to your functions.php, changing the email address in bold to your chosen email. Don’t delete the quote marks.
// Change notification sender address function change_notification_email( $wp_mail_from ) { return 'yourNewEmail@deklokborgloon.be'; } add_filter( 'wp_mail_from', 'change_notification_email' );Forum: Fixing WordPress
In reply to: Content coding on my website – a problem?I’m sorry, but it was not me that blamed a plugin. I do not work for WordPress, please do not suggest on other posts you were told on or by WordPress that a plugin was to blame. Good luck in solving your issue!
Forum: Fixing WordPress
In reply to: Content coding on my website – a problem?but what’s the point
If this is dues to a plugin like Threadi says, some valid reasons for encoding data passed through a plugin would be to prevent malicious code like cross site attacks, and like Threadi says, best to ask the plugin developer their reason, only they will know