| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 6 months |
| seen | May 15 at 18:16 | |
| stats | profile views | 2 |
|
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 |
|
Nov 14 |
comment |
Import Images from one self-hosted WordPress install to another that plugin only appear to change the URLs of the image links in the posts/pages. It doesn't say anything about actually downloading the images from the old server to the new. |