I have encountered a very weird issue after the last update to WP 4.4.1 and it's that the href attribute on all blog posts in the website.com/blog section are missing, so the link looks like this:
<a href="" title="Most read articles in the previous year">Most read articles in the previous year</a>
The articles are normally accessible and have the href attribute from the front page of the blog, where they point to: website.com/texts/name_of_the_blogpost just not from website.com/blog
Did anyone else ever experience such an issue, and could the update of WP be the reason for it? Everything worked normally until the update.
答案 0 :(得分:0)
您的主题可能会使用现已弃用(4.4.1以下)的WordPress功能。切换到默认的WordPress二十五或二十几岁主题一分钟,看看PHP功能是否正确输出博客帖子的URL。如果是这样,这是你的主题。与主题开发人员交谈或者查看主题文件中的函数,查询循环等。在发布一些代码之前,没有人可以提供更多帮助。