Php Wordpress从帖子标题中删除日期
通常我可以毫无问题地完成这项工作,但在代码中,当我继续从页面标题中删除日期时,我删除了一些语法:Php Wordpress从帖子标题中删除日期,php,wordpress,date,title,Php,Wordpress,Date,Title,通常我可以毫无问题地完成这项工作,但在代码中,当我继续从页面标题中删除日期时,我删除了一些语法: echo '<h3><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"] .'</a> ' . date("F jS, Y", strtotime($recent['p
echo '<h3><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"] .'</a> ' . date("F jS, Y", strtotime($recent['post_date'])) . "</h3>";
echo“”。日期(“F jS,Y”,strottime($recently['post_date']))。"";
如何删除日期而不删除整个页面 只需删除日期函数
echo '<h3><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"] .'</a> </h3>';
echo';
只需删除日期功能
echo '<h3><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"] .'</a> </h3>';
echo';
尝试以下代码:-
echo '<h3><a href="'.get_permalink($recent["ID"]).'"title="Look'.esc_attr($recent["post_title"]).'" >'.$recent["post_title"] .'</a></h3>';
echo';
尝试以下代码:-
echo '<h3><a href="'.get_permalink($recent["ID"]).'"title="Look'.esc_attr($recent["post_title"]).'" >'.$recent["post_title"] .'</a></h3>';
echo';
我不小心误删除了该句点。非常感谢。我不小心误删除了那个句号。非常感谢。复制粘贴我的答案的逻辑是什么?对不起,老兄,我没有看到你的答案。发布后,我知道你已经这么做了。不要感到抱歉,但我正在重新检查我的答案,我哪里错了吗?谢谢那个家伙:)复制粘贴我的答案的逻辑是什么?对不起,伙计,我没有看到你的答案。在发布之后,我知道你已经这么做了。不要感到抱歉,但我正在重新检查我的答案,我哪里错了?谢谢你的那个家伙:)