![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Have a cool plugin that will take a blog post and pin it to a pintrest board automatically. It's not working with datafeedr drip posts and it gives an error about image not set. it's looking for the post's "featured image". Is there some code I could add somewhere to have the drip post set the product image as a featured image for the post?
I saw some forum posts related to this, but I'm not sure if my case is the same... Thanks, AL |
#2
|
||||
|
||||
![]() Hi AL,
Another user posted some code to add dripped images to the featured image area: /show...0521#post20521 Eric
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() hello Eric,
I tried adding that code and changing the permissions, but it does not work and now when I go to Posts in the WPadmin, this appears at the top: Warning: fopen(/home/content/35/9708435/html/wp-content/uploads/2012/11/new-era-green-bay-packers-melton-basic-59fifty-fitted-hat---8211;-charcoal/green-169.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 32 Warning: fputs() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 33 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 34 Warning: fopen(/home/content/35/9708435/html/wp-content/uploads/2012/11/green-bay-packers-ladies-franchise-twill-jacket---8211;-green/gold-165.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 32 Warning: fputs() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 33 Warning: fclose() expects parameter 1 to be resource, boolean given in /home/content/35/9708435/html/wp-content/themes/green2/functions.php on line 34 Any hints? |
#4
|
|||
|
|||
![]() more info:
If I publish a post manually with an image in it, the pinterest plugin works and posts it to my pinterest board automatically. Also, the two errors that reference a missing file are correct- those two images are in fact missing. So ignore those two errors, but what do the others mean? And finally, looking at the theme closer, I don't see any reference to featured images. Perhaps my theme doesn't even use featured images or is that a part of every Wordpress theme? sorry, learning as I go along here... |
#5
|
|||
|
|||
![]() BTW, this is for buypackersgear.com
|
#6
|
||||
|
||||
![]() Hi,
If those 2 images were missing then the other errors could just be subsequent errors. PHP errors have a tendency to cascade, 1 error will cause another error which causes another error, etc... Be sure to test with some products that do have valid images. Not all themes support featured images. It's not a core WordPress feature. Eric
__________________
![]() ![]() ![]() ![]() |
#7
|
|||
|
|||
![]() Actually those products with the missing images were not ones I used in my test posts. I did test with products with valid images. So I don't know why it's complaining about those.
The plugin does look for featured images. So if the theme doesn't support featured images, obviously that's a problem. Assuming I get a theme that supports featured images, do you think the code additions to functions.php will get the DRIP to set a featured image? Actually, my new site uses featured images, so I'll test there... |
#8
|
||||
|
||||
![]() Hi,
If your theme doesn't support featured images, it's a pretty easy fix: http://codex.wordpress.org/Post_Thumbnails Eric
__________________
![]() ![]() ![]() ![]() |
#9
|
|||
|
|||
![]() will try that and get back to you - thanks...
|
#10
|
|||
|
|||
![]() Ok I have tghe theme using featured images now - thanks for that info. I added the code to functions.php and now my posts show the product image as the featured image. Amazing!
The pinterest plugin now works - sometimes (random). At this point the issue is most likely on their end, so I will pursue with them. thanks for your help! Al |
#11
|
||||
|
||||
![]() Great! Thanks for the update!
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Featured Product image size | meperez | Questions | 4 | October 19th, 2012 11:13 AM |
Drip post featured image | jear69 | Questions | 2 | September 14th, 2012 08:33 AM |
Image zoom plugin for product image? | barbinec | Questions | 1 | March 21st, 2012 08:37 AM |
Sidebar widget: Featured Product image is too big | Reson8 | Problems | 1 | June 15th, 2011 10:20 AM |
Insert product image into Drip Feed Post | ubdirect | Problems | 3 | April 27th, 2011 07:50 AM |