Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add %POST_THUMBNAIL% Template Variable #55

Closed
lesterchan opened this issue Nov 30, 2015 · 5 comments
Closed

Add %POST_THUMBNAIL% Template Variable #55

lesterchan opened this issue Nov 30, 2015 · 5 comments

Comments

@lesterchan
Copy link
Owner

$thumbnail = get_the_post_thumbnail( $post->ID, 'thumbnail', true );
$temp = str_replace( '%POST_THUMBNAIL%', $thumbnail, $temp );
@arafatx
Copy link

arafatx commented Dec 25, 2015

any news on this? where to add this line ?

@ramiy
Copy link
Contributor

ramiy commented Dec 26, 2015

It can be a very good enhancement to the current plugin!

@Demontager
Copy link

Waiting too, great feature.

@mediageni
Copy link

When can we expect this awesome feature or where can we add?

$thumbnail = get_the_post_thumbnail( $post->ID, 'thumbnail', true );
$temp = str_replace( '%POST_THUMBNAIL%', $thumbnail, $temp );

@lesterchan
Copy link
Owner Author

I have added it to the dev version, you can try it here https://github.com/lesterchan/wp-postratings/archive/master.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants