O
O
onlystar2018-02-08 00:50:51
WordPress
onlystar, 2018-02-08 00:50:51

Worspress: how to remove "More posts'' block from posts. (screenshot) How?

Hello!
5a7b7431d3877352308748.jpeg
This block appears under every block entry and is very annoying. Previously, "All posts of the Author (nickname)" was written on it, the plug-in cleaned it up a little from a pile of letters, but the block itself, by no means, can be removed.
I am the only author on the site, so there is no need for it, it gets in the way.
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Shpakovsky, 2018-02-08
@kotboris

The easiest (incorrect) way is to remove it via CSS, using the display: none property;
Another, more reliable way is to duplicate the posts template ( single.php ) in a child theme and edit it as you need, in this situation, remove or comment out the code that displays "more posts"
If you are not using a child theme, then edit in the parent, but when you update the theme, everything will fly off.

R
Roman Chusovskoy, 2018-02-08
@PurpleRacoon

I also remember removing such a thing and it seems that there was nothing like this in single.php. Maybe something else to display in function.php. Usually I do it like this (if I need to find something in the code): RMB -> explore the element, find a class or id for which I can hook on, load all the template files (folder) into Notepad ++ and search for the class / id in all files.
Thus, if the case is in the template, it will find it, if not, then look in other folders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question