Using External URLs for Featured Images

January 2013 WordPress Theme
GK User
Wed Aug 07, 2013 6:59 am
We've just begun using the News theme for Wordpress.
It is our intention to serve our images from an external source (not via the WP Media Gallery) - including featured images.

We've discovered a plugin that allows for external urls to be used for featured images. Its called Link2Featured. http://epicplugins.com/external-url-link-to-featured-images/

We've tested using 'News' and the featured images aren't showing. The instructions say that the theme must use
Code: Select all
get_the_post_thumbnail();
in its coding.

Can you please confirm if 'News' uses this function and if not is there a workaround to add it in?

thanks for any help.
User avatar
Fresh Boarder

GK User
Wed Aug 07, 2013 7:34 am
it uses the_post_thumbnail() but it is exact same function, the only difference is that it echoes out result.
User avatar
Moderator

GK User
Wed Aug 07, 2013 7:54 am
Thanks. So by 'echoing out result' - is that the reason for it not working? Is there a possible fix for it that you know of?
User avatar
Fresh Boarder

GK User
Wed Aug 07, 2013 4:00 pm
It should work.
It is as simple as:
Code: Select all
function the_post_thumbnail( $size = 'post-thumbnail', $attr = '' ) {
   echo get_the_post_thumbnail( null, $size, $attr );
}

It seems problem lies somewhere else.
User avatar
Moderator

GK User
Fri Aug 09, 2013 5:18 am
thanks for your help, but I need clear instructions - sorry.
Such as which file should I be editing and where?
User avatar
Fresh Boarder

GK User
Fri Aug 09, 2013 9:54 pm
You need to ask for support of the 3rd party plugin developer.
In tempalate everything is set as it should.
User avatar
Moderator


cron