• Hello,

    I have a custom post type “persons” with a lot of custom fields (name, birthday, image…) and made an output-template with the file templates/parts/content/singular/post_content.php.
    At the end of each post of the person-detail-page I’m showing the name and thumbnail of three other persons, whose birth was in the same year. That is working good with this code:

    $posts = get_posts(array( 
    	'post_type'=> 'person', 'posts_per_page'=> 3, 'orderby' => 'rand',  'meta_key'          => 'birthday', 'meta_query' => array(array('key' => 'birthday', 'compare' => 'REGEXP', 'value' => $year.'-[0-9]{2}-[0-9]{2}',

    Now I would like to use for this output the style of the ‘related posts’, which customizr automatically sets to the end of the posts (see screenshot).
    Screenshot

    How can I use the carousel-functionality of the ‘related posts’ respectively where can I find the code and paste it within my custom post type?

    Thank you very much in advance! ??

    Andreas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Andreas 2013

    (@andreas-2013)

    Does anyone know, if there is a moderator here, who takes care of the topics? I am amazed that answers are so rarely posted in this forum, although customizr is such a popular and widespread theme.

    Theme Author presscustomizr

    (@nikeo)

    Hello @andreas-2013,
    As a theme author I try to reply in priority to topics in which a bug is reported.
    I don’t have enough availability to help on custom development requests, but you may get some help from other users on this forum.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Design of “related posts”-list using inside post’ is closed to new replies.