Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ririro

    (@ririro)

    Thanks a lot for your reply. That was helpful! Fixed it. In case it’s relevant for others or you find it fun to see:

    $current_post_id = get_the_ID();
        
    $custom_relations = CustomRelatedPosts::get()->relations_to($current_post_id);
        
    $custom_relation_ids = array_keys($custom_relations);
    
        // Loop argumnetsnts show posts by category
        $args = array(
            'post__in' => $custom_relation_ids,
            'post__not_in' => array( $post->ID ),
            'orderby' => 'post__in' <-- added this
    
    + a bit lower in the code
    
      remove_all_filters('posts_orderby'); // ADDED

    Got it to work. Again thanks!

    Thread Starter ririro

    (@ririro)

    In case more people experience this problem: I found a workaround.

    1. Temporarily update the release date of your podcast episode to a recent moment to include it in the last 10 episodes that are shown in the edit mode
    2. Change from the old block to the new block in the post where the episode is embedded
    3. Change back the release date

    Thanks again for the support.

    Thread Starter ririro

    (@ririro)

    @keleigh824 No problem. Thank you for the information. I’m happy the issue can be resolved this way. I do have one follow up question: when manually updating I always just receive the last 10 podcast episodes as option. Also the Edit as HTML function shows up empty. I therefore have difficulty updating older posts. Is there anything I can do to mitigate this?

    Thread Starter ririro

    (@ririro)

    Thank you @keleigh824 for the reply. I will patiently wait in that case. Hope it can be resolved in the nearby future. Wishing you a great day.

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