How can I remove blog post feature image inside the blog single post page from the top, in the “Intution” WordPress theme ?
2 comments
Comments are closed.
How can I remove blog post feature image inside the blog single post page from the top, in the “Intution” WordPress theme ?
Comments are closed.
In the
element-blog.php
file you’ll find the code you want to remove, from the line24
to the line29
.It tests if there any image to show and, if it the case, displays it. Be sure to not remove the line with the
endif
which is right after!edit: Removing this piece of code will remove the featured image everywhere. If you only want to hide it on the “single post” pages, you can just change the test in the condition. From:
change to:
in the line
24
. This new condition tests whether we are on a single post page or not: if it is the case we don’t display anything, otherwise we display the featured image.Try This.
element-blog.php
which you can remove.