custom shortcode

All posts in the custom shortcode category

Display custom post type with shortcode on Page or Other

Published November 30, 2016 by Anil Kumar Vishwakarma

In my example code I create a shortcode, which shows the title, excerpt, thumbnail and custom meta key value of the Random published posts of the type ‘restaurant’:

Click here for seeing code in large