165 reputation
210
bio website
location
age
visits member for 1 year, 5 months
seen Apr 14 at 9:12

I am a financial analyst in London who uses VBA/MS-Access/MS-Excel and sometimes php to build financial models and portfolio valuation, trading and risk management tools. I also design ordinary websites too from time-to-time where I use html, CSS, JavaScript/jQuery and WordPress.


Apr
9
comment Including the necessary functions for a custom ajax registration form
Thanks, yeah the proper WordPress way is the way to do it. Have since sorted.
Nov
4
comment Problem updating from 3.6 to 3.7
Turns out it was some sort of server issue. I increased the execution timeout on my vhost's nginx config file and it fixed it. The strange thing is is that when it worked the update completed almost instantly. It didn't take any where near even the original timeout limit.
Oct
30
comment Problem updating from 3.6 to 3.7
Interesting. I will do some more tests tonight. Also will try the php-fpm slow log which should give info on slow-running scripts. My server should also easily handle things like WP updates in seconds. Comments work fine for me.
Oct
29
comment Problem updating from 3.6 to 3.7
Thanks, yes I do have a dev environment where I test all updates. My dev environment updated fine however, unlike the live server. I also have vaultpress backups so I can always restore to an earlier image if something goes wrong.
Oct
28
comment Problem updating from 3.6 to 3.7
Sure, I will investigate logs and report back
Oct
28
comment Problem updating from 3.6 to 3.7
OK I will investigate logs when I get the opportunity. "This isn't really an option..." is more "I'd very much like to avoid..."
Oct
28
comment Problem updating from 3.6 to 3.7
This isn't really an option as the site is in constant use from visitors and is processing orders. I few seconds maintainance mode is fine but my client cannot accept switching themes and turning off vital plugins. Is there no other way to track down the issue?
May
7
comment Include WooCommerce 2's prettyphoto scripts on all site pages
Yes jQuery is loaded on all pages. Is it just a case of using wp_enqueue_script to load the relevant prettyphoto scripts? I'm not sure of the handles woocommerce uses or how many files are needed. I'm guessing a js and a css
Mar
4
comment Query posts only with featured image
No Xampp works well on Mac too! Unfortunately there is no concrete evidence that I did or didn't click the checkbox but that's kinda irrelevant. The problem is because the media import failed - the post thinks it has a featured image as the meta tag is there but there is no actual image. Adding a new featured image and removing it prevents the post from coming up showing the query works, which is what I wanted to know. thanks for the suggestions
Mar
4
comment Query posts only with featured image
@Tom thanks for your comments. I know you say it is easy to forget doing something but I KNOW I did check the box. The thing is, it has very frequently not worked for me; I check the box but none of the images import and I'm left with all the posts having externally linked images in them. My server is a simple Xampp setup running on MacOS which does have remote access. My feeling is that it's a combination of the checkbox failing and the plugin I used to grab all the images failing to "feature" the images properly. I will try your suggestions this evening and report back
Mar
4
comment Query posts only with featured image
Yes, I checked the box when importing.
Mar
4
comment Query posts only with featured image
Yes I am running the latest version of WordPress - freshly installed on my local dev server as a network (multisite) setup.
Mar
4
comment Query posts only with featured image
I definitely did check that box. However in my experience it has never worked for me. All the images were linked back to the external site. I used the Import External Images(wordpress.org/extend/plugins/import-external-images) plugin to store the images locally and attach.
Mar
3
comment Query posts only with featured image
As a extra thing I thought of - the posts were imported to my local server from a live site using wordpress exporter/importer. The original posts all had featured images which were obviously lost in the import process. Could that mean that although the featured images were removed the meta keys still remained causing the query to mess up?
Mar
3
comment Query posts only with featured image
Thanks for the suggestion. I now get the 6 posts but still get posts without thumbnails.
Feb
26
comment Show all products on one page with WooCommerce
That's the trick. Many thanks
Dec
18
comment Site not getting correct featured image from my query
Thanks, yes it turns out it's much easier just to query 1 post with a featured image and echo its url where needed. I'm placing my renewed code above. can you confirm it will only return posts with a thumbnail, else I'll end up with a blank image if I post a post without a thumbnail.
Nov
20
comment Incorrect sidebar showing on WooCommerce Store page
That could be an option but I'd rather avoid installing extra plugins when I can acheive the result in my theme. I just want to get to the bottom of why I can't seem to get my second shop sidebar to display. Does WooCommerce always use the index.php template or do the WC pages obey the templates they are given?
Nov
14
comment Import Images from one self-hosted WordPress install to another
Thanks Chip. Ha I didn't realize you were active here. You have helped me in the past on the WP forums. I will try your method when I get a chance this evening.
Nov
14
comment Import Images from one self-hosted WordPress install to another
OK, but this still won't solve the problem that none of the images are "attached" to their respective pages. I.E there is nothing in the "media" section of WordPress backend