最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

templates - How do I remove the word "Blog" from a WordPress Homepage?

programmeradmin1浏览0评论

I would like to remove the word "Blog" from this WordPress homepage. It is existing within the selected theme. Where in the Theme Editor code should I look to find and delete this text? The theme is Catch Vogue.

I would like to remove the word "Blog" from this WordPress homepage. It is existing within the selected theme. Where in the Theme Editor code should I look to find and delete this text? The theme is Catch Vogue.

Share Improve this question edited Jul 25, 2019 at 20:35 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Jul 25, 2019 at 19:45 kimmyomikimmyomi 1
Add a comment  | 

1 Answer 1

Reset to default 1

The file where you could delete the text is index.php

This is the line containing the text, so you could remove this line.
<h2 class="section-title"><?php echo esc_html__( 'Blog', 'catch-vogue' ); ?></h2>

For future reference, if you were to update the theme at a later date when an update becomes available from the theme author, the file will be overwritten and you would lose the change you made. To avoid this you can look at creating a child theme to make your changes, so that you can update the theme in the future without losing any modifications you may have made.

https://developer.wordpress/themes/advanced-topics/child-themes/

发布评论

评论列表(0)

  1. 暂无评论