如何从wordpress中的所有帖子中删除作者、类别和日期? [英] How to remove author, category, and date from all posts in wordpress?
本文介绍了如何从wordpress中的所有帖子中删除作者、类别和日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从帖子存档和 wordpress 中的单个帖子中删除作者和发布日期.. 任何人都可以在这方面帮助我.我使用了一些 css 但它不起作用.
How to remove author and post date from post archive and single post in wordpress.. Can anyone help me in this regard. i use some css but it does not work.
推荐答案
删除这个 <?php get_template_part( 'content', get_post_format() );?>
并使用 <?php echo get_the_content();?>
在 single.php
Remove this <?php get_template_part( 'content', get_post_format() ); ?>
and use <?php echo get_the_content(); ?>
in single.php
这篇关于如何从wordpress中的所有帖子中删除作者、类别和日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文