开发者 |
glueckpress
sergejmueller kau-boy bueltge chrico zodiac1978 |
---|---|
更新时间 | 2024年1月6日 01:08 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 6.4 |
版权: | GPLv3 |
版权网址: | 版权信息 |
It’s right there, under General Settings in your admin menu. Configurable settings are:
<div>
.Sure, just empty the CSS field and no styles shall be applied. If you want to add styles to your theme instead, this might get you started:
/* Default styles */ .aged-content-message { background: #f7f7f7; border-left: 5px solid #f39c12; font-family: inherit; font-size: .875rem; line-height: 1.5; margin: 1.5rem 0; padding: 1.5rem; } .aged-content-message h5 { font-family: inherit; font-size: .8125rem; font-weight: bold; line-height: 2; margin: 0; padding: 0; text-transform: uppercase; } .aged-content-message p { margin: 0; padding: 0; }
You can still use those good old filters from v1.3, like for this conditional handbrake that doesn’t have a setting (yet):
/* Set condition for displaying message to include pages. */ function yourprefix_aged_content_message__the_content_condition() { return ! is_single() && ! is_page(); } add_action( 'aged_content_message__the_content_condition', 'yourprefix_aged_content_message__the_content_condition' );
YEAR_IN_SECONDS
, props @sergejmueller!