Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #81676

    David B
    Participant

    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.

    #81740

    Rad
    Moderator

    Hi 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.

    #81824

    David B
    Participant

    Thanks guys, great support as always!

    #81843

    Rad
    Moderator

    You’re always welcome David!

    #101277

    Paul Harvey
    Participant

    This 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>

    #101298

    Paul Harvey
    Participant

    Just figured it out myself. Can’t have more than one %meta:…% tag per layer.

    #101315

    Paul Harvey
    Participant

    But, 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.

    #101390

    Zeshan
    Member

    Hi Paul,

    Thank you for writing in!

    You can try using _x_ethos_index_featured_post_layout for featured image.

    Thanks!

    #212197

    Paul Harvey
    Participant

    Sorry 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.

    #212375

    Rad
    Moderator

    Hi 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 🙂

    #215268

    Paul Harvey
    Participant

    Wow that’s neat! Thank you. 🙂

    #215517

    Rad
    Moderator

    You’re soo welcome Paul!