Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SEO Squirrly

    (@cifi)

    Hey,

    Thank you 🙂

    You have to use shortcode for that.

    Try to use in your post (at the end):
    [starbox lpc=”category_name or category_id”]

    you can use even more custom shortcodes:
    [starbox lpc=”category_name or category_id” desc=”custom description for that post”]

    Hope that helped.

    Blessings,
    Calin

    I second that this is an awesome plugin.

    Does “llc=” work for both categories and custom post types? And what if you wanted the section ‘Recent Posts’ to show standard posts, plus a couple of custom post types?

    Vapor Cloud Reviews

    Thread Starter brunobar

    (@brunobar)

    I tried use this shortcode but doesnt work.

    To call related posts I use;

    function get_related_author_posts() {
    global $authordata, $post;
    
    $authors_posts = get_posts( array( 'author' => $authordata->ID, 'post__not_in' => array( $post->ID ), 'post_type' => 'job_listing', 'posts_per_page' => 5, 'orderby' => 'rand', ) );

    But how I use that code in starbox plugin?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom post’ is closed to new replies.