Modify a plugin’s content

You don’t echo content from a filter, you return it. You should have: function addOptions($post_id){ $post = get_post($post_id); return $post_id; } add_filter(‘mbdb_book_grid_after_link’,’addOptions’); See: https://wordpress.stackexchange.com/a/113760/21376

How to remove related post from home page

Simply if(!is_home() && !is_front_page()) add_action( ‘thesis_hook_after_post’, ‘my_related_posts’ ); will do that for you. It will not do the add_action() when we are at the home page or not any front page. If it doesn’t work for you, may be you need to contact with the Thesis team.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)