-
AuthorPosts
-
August 10, 2014 at 10:31 am #81676
Hi Support,
I am creating a slider on a page to show customer testimonials. I’ve stored the testimonials as posts using the type quote and want to use a Revolution Slider template to pull this information and show in the slider. To do this I need to know what ‘custom meta tags’ to use in the slider for ‘The Quote’ and ‘Citation’. Please can you tell me what I should use? I believe this is the format required %meta:somemegatag% if I’m to add this in the same way as other post data using the Slider template. Thanks for your help!
David.
August 10, 2014 at 2:09 pm #81740Hi David,
Thanks for writing in!
Revolution slider does not support post format query, but it does support category filter. You may consider using category for your quotes.
1. Create revolution slider templates, then add one slide with post information.
(with the latest rev. slider, you could use meta tags in layer. _x_quote_quote and _x_quote_cite)
2. Create revolution slider with source type as posts, then select the category and then select the slider template you created.http://theme.co/x/member/kb/sliders/
Hope this helps.
August 10, 2014 at 5:40 pm #81824Thanks guys, great support as always!
August 10, 2014 at 6:24 pm #81843You’re always welcome David!
September 9, 2014 at 3:44 am #101277This is the same question that I had, but I find the answer a little unsatisfactory, chiefly because %meta:_x_quote_cite% is not recognized. Has this code been updated in the last month?
Also, your example was missing the CSS etc to make it look pretty, but I dug this up:
<style type=”text/css”>
.bqstart {
float: left;
height: 45px;
margin-top: 3px;
padding-top: 45px;
margin-bottom: -50px;
font-size: 700%;
color: #FF0000;
font-family:Arial;
}.bqend {
float: right;
height: 25px;
padding-top:80px;
font-size: 700%;
color: #FF0000;
font-family:Arial;
}
blockquote {
max-width:80%;
}
.citation {
font-size:smaller;
float:right;
clear:both;
}
</style><span class=”bqstart”>“</span>%meta:_x_quote_quote%<span class=”bqend”>”</span>
<div class=”citation”>- %meta:_x_quote_cite%</div>
September 9, 2014 at 4:06 am #101298Just figured it out myself. Can’t have more than one %meta:…% tag per layer.
September 9, 2014 at 4:49 am #101315But, I could use this little tidbit of information: What’s the %meta:_x_…% tag for the featured image?
Trying to include the featured image with the quote.
September 9, 2014 at 7:49 am #101390Hi Paul,
Thank you for writing in!
You can try using _x_ethos_index_featured_post_layout for featured image.
Thanks!
February 22, 2015 at 7:11 am #212197Sorry guys, but that tag for the featured image just returns an empty string.
Can you send working sample code?Also, if I set a featured image for a “Quote” type post, the whole background of the image is filled with the featured image, with size & positioning CSS applied directly to the image element. Where can I change the size & position of the featured image?
Just to fill you in, I’m really just trying to make a quote slider that shows the photo of the person being quoted on the left of the quote itself.
February 22, 2015 at 2:03 pm #212375Hi Paul,
Featured will be pick by the slider as background image and not part of meta information. Featured image is attachment (another post type for media). So, you can’t use it as meta. You can only use the reserved post’s string placeholders provided by the rev. slider. And we have no control over that 🙂
In short, what you’re trying to do is impossible. But, you can always use some altyernative 🙂
Go to “Screen Options” on top of your created post/quote and enable custom field. Then go to custom field section and add new field with name of x_featured_image and value as image url ( eg. http://domain.com/featured-image.jpg ). Then go back to your slider template and add new layer (not image layer), then insert html content with meta like this.
<img src="%meta:x_featured_image%" />
Hope this helps 🙂
February 25, 2015 at 3:19 pm #215268Wow that’s neat! Thank you. 🙂
February 25, 2015 at 10:13 pm #215517You’re soo welcome Paul!
-
AuthorPosts