Php 关于链接到自定义帖子类型元数据的问题
我有一个自定义的帖子类型和一个用于URL的文本输入元数据。到目前为止,一切都很好,除非我想将meta回送到a href“”in按钮。 这是我的Php 关于链接到自定义帖子类型元数据的问题,php,wordpress-theming,metadata,wordpress,Php,Wordpress Theming,Metadata,Wordpress,我有一个自定义的帖子类型和一个用于URL的文本输入元数据。到目前为止,一切都很好,除非我想将meta回送到a href“”in按钮。 这是我的 $meta = get_post_custom($post->ID); echo '<button type="button" class="> <a href="'.<?php echo $meta['source'][0];?>.'" target="_blank"> Read More @ News Sou
$meta = get_post_custom($post->ID);
echo '<button type="button" class="> <a href="'.<?php echo $meta['source'][0];?>.'" target="_blank"> Read More @ News Source</a></button>';
$meta=get\u post\u custom($post->ID);
echo'删除
。它不是连接字符串所必需的
$meta = get_post_custom($post->ID);
echo '<button type="button"> <a href="'.$meta['source'][0].'" target="_blank"> Read More @ News Source</a></button>';
卸下
。它不是连接字符串所必需的
$meta = get_post_custom($post->ID);
echo '<button type="button"> <a href="'.$meta['source'][0].'" target="_blank"> Read More @ News Source</a></button>';
卸下
。它不是连接字符串所必需的
$meta = get_post_custom($post->ID);
echo '<button type="button"> <a href="'.$meta['source'][0].'" target="_blank"> Read More @ News Source</a></button>';
卸下
。它不是连接字符串所必需的
$meta = get_post_custom($post->ID);
echo '<button type="button"> <a href="'.$meta['source'][0].'" target="_blank"> Read More @ News Source</a></button>';
谢谢Lawrence,它在chrome中工作,但在Firefox中不工作!你能告诉我为什么吗?这是页面的链接:@MonaCoder Ctrl-U将向您显示侧面的菜单具有无效的标记,例如支持
好吧,我想我修复了标记上的错误,但仍然无法在Firefox上工作!谢谢Lawrence,它在chrome中工作,但在Firefox中不工作!你能告诉我为什么吗?这是页面的链接:@MonaCoder Ctrl-U将向您显示侧面的菜单具有无效的标记,例如支持
好吧,我想我修复了标记上的错误,但仍然无法在Firefox上工作!谢谢Lawrence,它在chrome中工作,但在Firefox中不工作!你能告诉我为什么吗?这是页面的链接:@MonaCoder Ctrl-U将向您显示侧面的菜单具有无效的标记,例如支持
好吧,我想我修复了标记上的错误,但仍然无法在Firefox上工作!谢谢Lawrence,它在chrome中工作,但在Firefox中不工作!你能告诉我为什么吗?这是页面的链接:@MonaCoder Ctrl-U将向您显示侧面的菜单具有无效的标记,例如支持
好吧,我想我修复了标记上的错误,但仍然无法在Firefox上工作!