I want to display a single post in the sidebar-area (not the sidebar itself) and can't seem to get it working. I know the post_id (it's 1571 btw), so I looked around and only found this link from 7 years ago: Display Posts from a specific Category in the Sidebar
So after looking around, I found the useful functions "get_posts()" and "get_post()". First one requires an array which is not what I want as it is a single post. Second one.. well that's where I am so far:
Can anyone please help me with this?
edit01: I am able to display the post's title by using
$post_id_1 = get_post($my_id);