fullworks
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: photo display problem on wordpress websiteI’m not sure I’m following you? As far as I understand Gravatars on your website are driven totally by email address, https://en.gravatar.com/emails/ just make sure your user email matches a Gravatar email
Forum: Fixing WordPress
In reply to: photo display problem on wordpress websiteYou have done it once so should be good.
I’m not sure how long back the WP changed image src sets – but probably some time last year ( 5.4?)
The issue may or may not have shown in different browsers – it is likely jNash was using a different browser to us and nothing to do with eye sight. ( Mind you COVID has taken its toll on my eyes )
To be frank, without developer support, I wouldn’t risk trying to update your theme, just fix any issues ( like this ) as they come along, hopefully few and far between.
Forum: Fixing WordPress
In reply to: photo display problem on wordpress websiteIf you just want the solution, jump to the end…
OK to get a bit technical, this is how sock mending is being rendered on the home page
<img loading="lazy" width="1024" height="768" src="http://www.nettlestreadlesandlove.com/wp-content/uploads/2019/12/037-1024x768.jpg" alt="" class="wp-image-1164" srcset="http://www.nettlestreadlesandlove.com/wp-content/uploads/2019/12/037-1024x768.jpg 1024w, http://www.nettlestreadlesandlove.com/wp-content/uploads/2019/12/037-300x225.jpg 300w, http://www.nettlestreadlesandlove.com/wp-content/uploads/2019/12/037-768x576.jpg 768w" sizes="(max-width: 1024px) 100vw, 1024px">Unfortunately the height=”768″ is setting all the image heights to 768 regardless of width – so distorting the image.
Why? Well a lot of this is controlled by your theme and CSS.
Your theme is old and the version you are using is not current ( 3.1 versus on their website 3.8 )
Your website is running WordPress 5.6 which is the latest version, released in December, the change that has happened is your WordPress has updated.
<meta name="generator" content="WordPress 5.6"Solution:
Add some CSS to override the height setting>
Go to Customizer > Additonional CSS
add.wp-block-image img { height: auto; width: auto; }- This reply was modified 5 years, 3 months ago by fullworks.
Forum: Fixing WordPress
In reply to: photo display problem on wordpress websiteThe images are stretched from their natural proportions causing the blurring.
Have you made changes to your theme settings or settings > media recently?
Forum: Fixing WordPress
In reply to: Checking if a page is a child page not taking effect.Hi,
I have put your code into page.php of twentytwenty
as follows and it works perfectlyIf it is a sub page it displays it is a sub page – if not it doesn’t
hope that helps you sort out your actually issue
* The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package WordPress * @subpackage Twenty_Twenty_One * @since 1.0.0 */ get_header(); global $post; // if outside the loop if ( is_page() && $post->post_parent ) { // This should be a subpage ?> This is a sub page <?php } /* Start the Loop */Forum: Plugins
In reply to: [Quick Contact Form] Quick Contact Form Support php8 ?Currently there is no next version being developed as at the moment there are very few Pro customers so no funding for development.
Unfortunately that is the commercial reality.
Forum: Plugins
In reply to: [Quick Contact Form] Quick Contact Form Support php8 ?QCC is not ready for PHP8.
The only short term solution is to downgrade to PHP7.4
Forum: Developing with WordPress
In reply to: Disable js scripts on backend admin areaYes CDN related.
Bonus points to me 🙂
edit…
(Update: Its not cached by the CDN, all requests in wp-admin are proxied from the server)
ummm – are you also using a caching plugin
less bonus points to me 🙂
- This reply was modified 5 years, 4 months ago by fullworks.
Forum: Developing with WordPress
In reply to: Disable js scripts on backend admin area“504 Gateway Timeout server error response code indicates that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request. ”
This would indicate that you are perhaps using a CDN or other sort of proxy
If you are then perhaps there is a method of bypassing it and accessing local copies when in admin pages
Forum: Fixing WordPress
In reply to: WordPress hit memory limit but not from the serverWild guess but it could be MAX_POST_SIZE which is set to 512MB and the error misleading.
Forum: Fixing WordPress
In reply to: Unable to login in wp-admin via mobileThe error is clear, your host has restricted the networks that can access your admin page for security reasons.
Simply raise a support ticket with your host.
Forum: Fixing WordPress
In reply to: There has been a critical error on this website. NOT plugin relatedThat to me looks like a corrupted file system.
First check you are not out of space or inodes.
Then what I would do it take a backup, and reload core wp
if you have wp cli ( and if you don’t why not?)
wp core download --forceIf all else fails step back to a recent backup
Edit.. it is almost like wp is being loaded twice
Forum: Fixing WordPress
In reply to: How to Move a Live WordPress Site to Local ServerIf your local installation has wp cli installed
the it is far easier to use the wp command line – less chance of making and error
wp search-replace --precise 'https://example.test' 'http://localhost'see https://developer.wordpress.org/cli/commands/search-replace/
Forum: Fixing WordPress
In reply to: WordPress ErrorI get that mess too
examining the page source at the end is
<body id="error-page"> <div class="wp-die-message"><p>There has been a critical error on your website.</p> <p><a href="https://wordpress.org/support/article/debugging-in-wordpress/">Learn more about debugging in WordPress.</a></p> </div> </body> </html>Follow the guide in https://wordpress.org/support/article/debugging-in-wordpress/ and find the error message then you will be half way to a solution
- This reply was modified 5 years, 4 months ago by fullworks.
Forum: Fixing WordPress
In reply to: My SITE IS BLANKAs mentioned, you will need ‘file’ access to sort this out.
This means either a hosting control panel, FTP, SFTP or SSH.
You will need to raise a support ticket with your host to get access ( or find out how to use access that you may already have )
Once you have file access – you can set your site into debug mode – see
once you have the error message you will be closer to a solution.