• Resolved sjc999

    (@sjc999)


    Hi,

    Is there a way to loop thru related posts for a post – something like:

    $loop = st_get_related_posts(….);
    if ($loop->have_posts(){
    while ( $loop->have_posts() ) {
    $loop->the_post(); …..

    I’m looking to code something myself rather than use the built-in widget.
    Docs have st_related_posts, but unlike others I don’t see a ‘get’ equivalent.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Related Posts Loop’ is closed to new replies.