• Hi! I am looking how to remove “Posts” text on top of posts page. For example: https://www.zagrebmap.com/upper-dubrava/

    Also It would be awesome if post title (“Map of Upper Dubrava” in this case) could replace that “posts” text.

    This is one of the best themes I used but that text is something I don’t see point of being there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dararede,

    I hope you are doing great. Let’s see if I can help you out.

    The easiest fix would be just removing the “Posts” heading, you can do it using this code and adding it to the Additional CSS section:

    
    .single-post h2.page-title {
        display: none;
    }
    

    If you want to replace the post title, that would be a bit more challenging. In /wp-content/themes/primer/templates/parts there is a file page-title.php. You should change the line 24 to the_title(); function as seen below:

    View post on imgur.com

    Finally to hide the duplicated heading you can add this code to Customizer:

    
    .single-post h1.entry-title {
        display: none;
    }
    

    I hope this works for you, in case you need additional assistance we are here for you.

    Have a nice day,
    Andrija

    Thread Starter dararede

    (@dararede)

    Thanks for the help, I managed to implement it on my site.

    BR!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “Posts” text’ is closed to new replies.