This topic has 7 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #86559
     epoquebl
    Participant

    Is there a kleo shortcode to retrieve post meta data like what is displayed in kleo posts?

    #86665
     Radu
    Moderator

    Hi,

    Sorry but there is no shortcode to display only post meta.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #86841
     epoquebl
    Participant

    What I’m trying to do is to simply display a specific post on the sidebar. However, I want it to display just like the Kleo Post grid format with video. So a youtube video with post metadata and title below…

    #86848
     Radu
    Moderator

    Hi again,

    Create a post, set format for that post VIDEO then scroll below content area at media tab -> Video oEmbed URL – put here your youtube video link then save the post.

    Then use this shortcode in a text widget that you will add in your desired sidebar

    COPY CODE
    
    [vc_posts_grid loop="size:10|order_by:date|post_type:post|by_id:7949" columns="1" inline_meta="yes" show_excerpt="no" show_footer="no"]
    

    Replace 7949 with your post id.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #86961
     epoquebl
    Participant

    Thanks! That’s perfect! Can I also do something similar for a random post?

    #86969
     Radu
    Moderator

    Hi,

    No.. you need to specify the post id.

    Cheers

    RAdu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #87037
     epoquebl
    Participant

    Turns out I can do the same thing with random posts using this code:

    [vc_posts_grid loop="size:1|order_by:rand" columns="1"]

    Thanks for your help anyway, I get the idea now. I can basically steal generated code from the Visual Editor to use as widgets 🙂

    #87127
     Radu
    Moderator

    Hi,

    Great ! i’m glad that you have solved your problem.

    I will mark ticket as resolved.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 8 posts - 1 through 8 (of 8 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?