TheDoc
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Links to external sites will not workSorry, my copy/paste didn’t work very well. Here is the link on your site:
<a href="”https://www.telegraph.co.uk/news/celebritynews/6602430/Kate-Moss-Nothing-tastes-as-good-as-skinny-feels.html”">
Do you see the extra quote tags? Those are what are causing the 404 error.
And no, the link ‘…in the edit screen’ isn’t showing for me either, try posting it again!
Forum: Themes and Templates
In reply to: Footer has moved up on certain pagesYou have set a height on your #sidebar that you’ll need to remove.
#sidebar { float: left; margin: 0 0px; padding: 5px 0 0; height: 619px; /* Remove this height */ width: 150px; background: url("https://www.artoronto.ca/wp-content/uploads/2011/09/sidebar1.jpg"); }
Forum: Fixing WordPress
In reply to: Links to external sites will not workThat second link isn’t working because you have a double quote on the end of it. See the difference here:
Forum: Fixing WordPress
In reply to: Internal Server ErrorThe only thing I could suggest further would be to update WordPress to the latest version. Make sure to back everything up first (including your database).
Forum: Fixing WordPress
In reply to: Error when moved domain, can't log in as adminIf there weren’t any tables found, it looks like you haven’t imported your WordPress database into your new hosting account. So, there isn’t a WP database so it wants to install one for you.
What you’ll need to do is go to your previous database (via phpmyadmin) and export all of your tables. Then you’ll need to import it into your new database.
These instructions are pretty self explanatory, even for someone who isn’t comfortable in phpmyadmin: https://codex.www.ads-software.com/Backing_Up_Your_Database#Using_phpMyAdmin
Forum: Fixing WordPress
In reply to: Internal Server ErrorTry renaming your .htaccess file to .htaccess-bak and seeing if the error continues. If the problem is fixed, then it’s something with your .htaccess file, maybe a syntax error has crept its way in there.
Forum: Fixing WordPress
In reply to: Leave a comment goes to my website home pageDo you know if you are on a Windows or Linux hosting package? A Windows server needs a workaround for /%postname%/ to work on its own.
You could also try setting your home page to https://customirononpatches.com/blog/ in your General Settings.
Forum: Fixing WordPress
In reply to: Leave a comment goes to my website home pageIt looks like you might need to update your permalink structure. All of your links require /blog/ to be in front of them.
(The site is here for anyone looking to help https://customirononpatches.com/blog/ )
Permalinks aren’t my specialty, but you can try doing this:
Go to ‘Settings > Permalinks’. In the ‘Custom Structure’ text box, add the following:
/blog/%postname%/
Forum: Fixing WordPress
In reply to: add_image_size( ); ???????????No problem! Glad you got it sorted.
Yea, I would double check the sizes that you’ve specified under ‘Settings > Media’.
You could also try regenerating the thumbnails with a plugin and see if that fixes the ones with the odd height.
Forum: Fixing WordPress
In reply to: Having trouble with post width on forum pageThe problem is being caused by the super long links. Perhaps you could use some sort of URL shortener that gets processed when users reply to posts.
Forum: Fixing WordPress
In reply to: Error when moved domain, can't log in as adminDid you also change your hosting or did you simply point your new domain to your existing hosting account?
Forum: Themes and Templates
In reply to: Stopping feature image from stretching PLUS Few Other ProblemsAh yes. It looks like you’re using post thumbnails for this. Have you looked into your functions.php file yet? If you don’t want it to stretch the image, you’ll need to change the size that it has.
Look for something like this:
// add post-thumbnail functionality if (function_exists('add_theme_support')) { add_theme_support('post-thumbnails'); }
…and see if there are any sizes specified below it. If the size is set to ‘true’, I believe it’ll stretch any image that you upload any which way to make sure that the image fits the size that you’ve set up.
Forum: Themes and Templates
In reply to: Stopping feature image from stretching PLUS Few Other ProblemsCan you specify what you mean by ‘stretched’? Do you have a link to an example?
Forum: Fixing WordPress
In reply to: add_image_size( ); ???????????You would need to do a couple of things. If you only want the image to span across (and not the text as well) you’ll need to add some new CSS and add something to your functions.php file.
Right now you have some code that is making sure the images are no larger than 700px wide, you’ll need to override this on your Category and Archives pages.
CSS to add:
.category #wrapper img, .archive #wrapper img { max-width: 100%; }
Then, in your functions.php file where you found this line:
add_image_size( 'homepage-thumb', 688, 230, 1 );
You’re going to want to add a new image size. Add this line just below it:
add_image_size( 'category-image', 1100, 230, 1 );
Then you’ll need to open up your category and archive loops and locate the bit of code that looks like this:
<?php the_post_thumbnail('homepage-thumb'); ?>
…and replace it with this:
<?php the_post_thumbnail('category-image'); ?>
Your thumbnails might not change right away. If that is the case, you’ll need to regenerate all of the thumbnails. Usually that means uploading them all again, fortunately there is a plugin that can regenerate them for you.
https://www.ads-software.com/extend/plugins/regenerate-thumbnails/