-
Author
-
November 10, 2015 at 10:19 #86559epoqueblParticipant
Is there a kleo shortcode to retrieve post meta data like what is displayed in kleo posts?
November 10, 2015 at 18:58 #86665RaduModeratorHi,
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 solutionNovember 11, 2015 at 18:32 #86841epoqueblParticipantWhat 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…
November 11, 2015 at 18:57 #86848RaduModeratorHi 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 solutionNovember 12, 2015 at 18:31 #86961epoqueblParticipantThanks! That’s perfect! Can I also do something similar for a random post?
November 12, 2015 at 18:43 #86969RaduModeratorHi,
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 solutionNovember 13, 2015 at 02:17 #87037epoqueblParticipantTurns 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 🙂
November 13, 2015 at 16:52 #87127RaduModeratorHi,
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 -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.