php Genesis条目标题。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php Genesis条目标题。相关的知识,希望对你有一定的参考价值。

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove the post format image (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_do_post_format_image', 4 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove the entry header markup (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove the entry title (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove the entry meta in the entry header (requires HTML5 theme support)
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Customize the entry meta in the entry header (requires HTML5 theme support)
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
	$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]';
	return $post_info;
}

以上是关于php Genesis条目标题。的主要内容,如果未能解决你的问题,请参考以下文章

php 从Genesis页面中删除标题

php 为标题和徽标添加Genesis支持

php Genesis标题。

php 标题中的Elementor + Genesis CSS

php 每当使用'h1'时,强制Genesis网站标题使用'p'。

php 精选图片,genesis.php