wordpress按钮不显示 如图,显示的是一个框,里面写着什么F211什么什么的,怎么办啊!! 5
1个回答
展开全部
<?php if ( is_single() ) { ?>
<title><?php echo trim(wp_title('',0)); ?> - <?php $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } echo $keywords; ?></title>
<meta name="description" content="<?php if (is_single()){ echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 180,"");} ?>"/>
<meta name="keywords" content="<?php $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } echo $keywords; ?>" />
<?php } ?>
<?php if ( is_home() ) { ?>
<title><?php echo stripslashes(get_option('cnsecer_title')); ?></title>
<meta name="description" content="<?php echo stripslashes(get_option('cnsecer_description')); ?>" />
<meta name="keywords" content="<?php echo stripslashes(get_option('cnsecer_keywords')); ?>" />
<?php } ?>
<title><?php echo trim(wp_title('',0)); ?> - <?php $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } echo $keywords; ?></title>
<meta name="description" content="<?php if (is_single()){ echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 180,"");} ?>"/>
<meta name="keywords" content="<?php $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } echo $keywords; ?>" />
<?php } ?>
<?php if ( is_home() ) { ?>
<title><?php echo stripslashes(get_option('cnsecer_title')); ?></title>
<meta name="description" content="<?php echo stripslashes(get_option('cnsecer_description')); ?>" />
<meta name="keywords" content="<?php echo stripslashes(get_option('cnsecer_keywords')); ?>" />
<?php } ?>
追问
怎么用?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
博思aippt
2024-07-20 广告
2024-07-20 广告
博思AIPPT是基于ai制作PPT的智能在线工具,它提供了4种AI制作PPT的方式,包括AI生成大纲、AI直接生成PPT、文本生成PPT、AI提炼word文档生成PPT,一站式集成多种AI生成PPT的方式,可满足办公用户的不同需求和使用场景...
点击进入详情页
本回答由博思aippt提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询