admin管理员组文章数量:1122832
Is there a way activate "Full Post" via Custom CSS or any other way?
Right now I am stuck with Excerpts on the Homepage and my Theme Customizer > is missing Content Options
Here below is what my theme (named Blog Writing) should provide but does not :/
Or could this be used?
Thank you
Is there a way activate "Full Post" via Custom CSS or any other way?
Right now I am stuck with Excerpts on the Homepage and my Theme Customizer > is missing Content Options
Here below is what my theme (named Blog Writing) should provide but does not :/
Or could this be used? https://gist.github.com/thefuxia/2973189
Thank you
Share Improve this question edited Apr 23, 2020 at 23:04 KarmicP asked Apr 23, 2020 at 22:49 KarmicPKarmicP 12 bronze badges 2 |1 Answer
Reset to default 0CSS can only change things visually. So, it can hide what's already there, but it can't make more text appear than what is actually being output to the page.
For this type of change, it's typically best to create a child theme - which basically just means you create a new folder in /wp-content/themes/
and add a style.css
file with a few comments at the top telling WP this is a child of whatever parent theme you're using. From there, you copy only the file(s) that need changes into your child theme folder and change them there. That way you can keep the parent theme updated and it won't overwrite your tweaks.
Themes vary in how many files they have and where they store information, but homepage code is often found in front-page.php
or home.php
. You're looking for some variation of <?php the_excerpt(); ?>
which you should be able to just change to <?php the_content(); ?>
- though depending on the theme, you might also have to adjust some CSS to have this display appropriately.
本文标签: customizationCustom CSS for full post vs excerpt (Content Options)
版权声明:本文标题:customization - Custom CSS for full post vs. excerpt (Content Options) 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736284125a1927181.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
blog writing
, whose parent is themebloge
– KarmicP Commented Apr 25, 2020 at 22:49