Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: I want a simple offline file with a list of all my postsIf exodata is in your path, yes. If not, you’d have to supply the full path when using wp.
This codex page can point you in the right direction:
Forum: Fixing WordPress
In reply to: Comment buttonLook top right on the page edit screen. Screen Options. Click that tab and make sure Discussion is ticked. Scroll down the page, untick Allow Comments.
Forum: Fixing WordPress
In reply to: Can not view imagesI see you’re on Hostgator so maybe you have access to cPanel. Here’s a cPanel help page about turning off directory indexing:
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/IndexManager
Forum: Fixing WordPress
In reply to: Can not view imagesI can only see one missing image when I load the page. That’s supposed to be blackbird/images/bg.jpg but it’s missing. I can see lots of other images in that directory because you have directory indexing turned on at server level. You might want to turn that off.
This plugin seems to be a favourite for migrating sites:
https://wordpress.org/plugins/duplicator/
I use mostly command line tools for my migrations.
Forum: Fixing WordPress
In reply to: HTML form can't launch PHP fileI’m pretty sure your domain doesn’t start with starthere.
Additionally, you’re trying to run a PHP script from within the wp-content/uploads directory tree. For that to be possible, your webserver (Nginx) has to be able to execute php files in that location, and that’s a big security risk. It’s probably disallowed in the server configuration since it returns 403 forbidden.
Any reason you’re not using one of the multitude of ready-made WordPress contact form plugins?
Is there a configured wp-config.php present on the newly migrated site? It sounds like there isn’t.
Forum: Fixing WordPress
In reply to: I want a simple offline file with a list of all my postsWhere did you copy the wp executable? Maybe
/usr/local/bin/(the default location) isn’t in your path on your Linux distro. You could try copying it to /usr/bin instead.sudo mv wp-cli.phar /usr/bin/wpForum: Fixing WordPress
In reply to: I want a simple offline file with a list of all my postsTake a look at the wp-cli site to see if your set-up matches the requirements.
It’s an amazingly easy tool to use.
Forum: Fixing WordPress
In reply to: I want a simple offline file with a list of all my postsIf you or your hosts has wp-cli you can do this:
wp post list --fields=ID,post_titlewhich gives you:
+----+------------------------------------------------+ | ID | post_title | +----+------------------------------------------------+ | 14 | Natus eum reprehenderit id | | 11 | Aspernatur amet id harum distinctio | | 13 | Itaque maiores vero quo consequatur atque enim | | 12 | Facere nemo repellendus non | | 15 | Vel impedit iusto maiores | | 1 | Hello world! | +----+------------------------------------------------+Forum: Fixing WordPress
In reply to: Comments not viewableIn Settings -> Discussion -> Default article settings, do you have Allow people to post comments on new articles ticked?
Your theme will not display anything comment related if comments are closed or there are 0 comments.
Forum: Fixing WordPress
In reply to: Blurry Images after Importing postsSome of your images are being browser resized. Take the image of the £20.00 note in this blog post:
http://www.physicalcanvas.com/2014/07/the-queen-b-of-england.html
The actual size of that image is 480x480px. The containing element has a max-width size of 474px and images displayed within have a max-width of 100%, so that means 474px. Therefore the image is being shown at 474px by your browser and appears less sharp.
Forum: Fixing WordPress
In reply to: Images showing up smaller then they should be…It’s the size of the containing element that’s dictating the image size. You could increase the max-width of
.entry-contentto match the width of your images but that’s going to massively increase the content width of your site. Maybe have a rethink on your choice of layout?Forum: Fixing WordPress
In reply to: from text-align: justify to text-align: leftIt’s defined in this rule. Line 35 of your theme’s stylesheet:
body { margin: 0; font: 0.8125em/1.692307em 'Bitter', Georgia, 'Times New Roman', Times, serif; color: #333; text-align: justify; background: #fff; padding: 0; }