复制代码<meta name="mobile-agent" content="format=xhtml; url=<?php
$current_post_id = get_the_ID();
global $post;
$current_post_id = $post->ID;
echo '自己网站的移动端链接' . $current_post_id . '.html';
?>" >
<meta name="mobile-agent" content="format=html5; url=<?php
$current_post_id = get_the_ID();
global $post;
$current_post_id = $post->ID;
echo '自己网站的移动端链接' . $current_post_id . '.html';
?>" >
<meta name="mobile-agent" content="format=wml; url=<?php
$current_post_id = get_the_ID();
global $post;
$current_post_id = $post->ID;
echo '自己网站的移动端链接' . $current_post_id . '.html';
?>" >
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
wordpress用栏目名称(category_name)调用指定栏目下的文章
vue全局动态添加meta属性(title,keywords,description)
标签: meta属性, wordpress入门
上面是“wordpress获取当前文章ID自定义meta移动端链接”的全面内容,想了解更多关于 wordpress 内容,请继续关注web建站教程。
当前网址:https://m.ipkd.cn/webs_15106.html
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!