Future – Post IMage duplication problem


I added this code to view post image in mansonry articles before TItle:

beans_modify_action_hook( 'beans_post_image', 'beans_post_title_before_markup' );

It work fine, but when I set future image in wordpress cms, then the picture is showed also in the article. I want to remove post image from article, but it must show in mansonry fields (categories).

I try this code:

beans_remove_action( 'beans_post_image', 'beans_post_body' );

But then image is also removed from mansonry field. What I am doing wrong?

I find solution on your page:

add_action( 'wp', 'beans_child_setup_document' );

function beans_child_setup_document() {

    // Only apply if for single view.
    if ( is_single() ) {
        beans_remove_action( 'beans_post_image' );


Now It is working.

Hey Boris, I am glad to hear you found the solution by yourself this time around 🙂

Have fun,

Write a reply

Login or register to write a reply, it's free!