Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Set Products per page to 999 – Page not loadingThere’s a help page at WooThemes for that:
http://docs.woothemes.com/document/change-number-of-products-displayed-per-page/
Forum: Fixing WordPress
In reply to: Set Products per page to 999 – Page not loadingThere are quite a few eCommerce plugins for WordPress. Which one are you using?
Forum: Fixing WordPress
In reply to: home page turned blackI see a body tag, line 110:
<body class="home blog custom-background header-image list-view full-width grid">Try this. It goes in your functions.php file (Be careful! :))
function title_format($content) { return '%s'; } add_filter('private_title_format', 'title_format'); add_filter('protected_title_format', 'title_format');Forum: Fixing WordPress
In reply to: Cannot reach my managment side of my websiteSpeak with your hosts about FTP access. That way you can reach the server where your site is hosted without going through the website.
Once you’re there, the following codex page will help you reset your password:
https://codex.wordpress.org/Resetting_Your_Password
Once you have control over the site, you’ll be able to ascertain whether it’s been compromised, or not.
Forum: Fixing WordPress
In reply to: How to display full text article?I love it when a plan comes together 🙂
Forum: Fixing WordPress
In reply to: Cannot reach my managment side of my websiteDo you have hosting panel access to the site, or FTP access?
If you grab a fresh copy of your theme and extract the functions.php file from there, upload that one. Of course it will overwrite any changes you made from the original.
A little bit of advice. Never, ever edit a live file on a website. Even for the tiniest thing. I know WordPress let’s you do it, but it’s just a big massive no-no. I could write a book on how to create and deploy WordPress sites but for now, if you stick to using FTP to download a file you want to edit, save a backup and then edit the file before re-uploading it, you’ll save a heap of trouble like the one you’re experiencing now.
Forum: Fixing WordPress
In reply to: some images not displaying after publishingI think it’s the Photon module of Jetpack. Disable it to see if the images show up. If they do, it could be a Photon configuration issue. I can’t say any further because I’m not a fan of and don’t use Jetpack.
Forum: Fixing WordPress
In reply to: Proper header settingJust to confuse you even more, and after looking at your .htaccess topic, I think hostgator are using Nginx as a front-end proxy to Apache. You don’t need to worry about that, it’ll be for a performance tweak. However, it may be confusing Redbot. So it’s possible that your original concern is actually unfounded.
If that does confuse you, don’t worry, it happens 🙂
You can use FTP to visit your site. Download the file and revert your changes, or, upload a fresh copy of your theme’s functions.php file.
Forum: Fixing WordPress
In reply to: Adding table below image in portfolio itemYou seem to be using the Easy Table plugin. Can you place the shortcode below the content instead of in the sidebar?
Unfortunately, since you are using a commercial theme, I can’t review the code that creates portfolio items. It might be best to enquire in your theme’s support forums here:
Forum: Fixing WordPress
In reply to: How to display full text article?A child theme inherits everything from its parent theme until you start changing things. It then differs from the parent by those changes. If the parent gets updated, the changes are not lost in the child. You can read about it here:
https://codex.wordpress.org/Child_Themes
So, make a child theme out of Graphy, swap to using that, then copy content.php from Graphy into the child theme. This will force WordPress to use the template from the child theme rather than the parent. Once done, edit content.php to change this:
<?php if ( get_post_format() || 'content' == get_theme_mod( 'graphy_content' ) && ! ( is_search() || is_archive() ) ) : ?>to this:
<?php if ( get_post_format() || 'content' == get_theme_mod( 'graphy_content' ) && ! ( is_search() ) ) : ?>Forum: Fixing WordPress
In reply to: Proper header settingIf you’re on shared hosting at Hostgator I doubt they’d change the global server configuration for just one customer. Worth a try I suppose but I doubt they’d do it.
Forum: Fixing WordPress
In reply to: How to display full text article?You should really post code between code blocks.
The file you should look at is content.php. The loop is set to display the_content() unless we’re dealing with a search or a category, in with case it displays the_excerpt().
Here:
<?php if ( get_post_format() || 'content' == get_theme_mod( 'graphy_content' ) && ! ( is_search() || is_archive() ) ) : ?>So, in your child theme, change that file to best suit your needs.