![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/ece793c17ba1c52b19170794a6e8155f-87a1c39.jpg)
Hello,
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?
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/ece793c17ba1c52b19170794a6e8155f-87a1c39.jpg)
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.
![](https://beanscommunity.wpenginepowered.com/wp-content/uploads/beans/images/c70294be72623e3f8995ee4832f8d065-87a1c39.jpg)
Hey Boris, I am glad to hear you found the solution by yourself this time around 🙂
Have fun,