WPChina on "How to include an RSS feed or search results on a single template?"
I am using Custom Post Types, so the title of each post is the name of a restaurant. On each single-restaurant.php I wan to also include a list of related news from our site related to this restaurant....
View ArticleSimon Wheatley on "How to include an RSS feed or search results on a single...
Hi there, You are trying to use the_title to return the string value for the post title, You need get_the_title instead. However, you have some fundamental issues with the efficiency and structure of...
View ArticleWPChina on "How to include an RSS feed or search results on a single template?"
Great thank you so much Simon! Your idea is much simpler and easier. But I still have one small syntax problem. I am now using this to search only within specific categories based on the current...
View ArticleWPChina on "How to include an RSS feed or search results on a single template?"
I solved it by using get_permalink instead of the_permalink :)
View ArticleReply To: How to include an RSS feed or search results on a single template?
I solved it by using get_permalink instead of the_permalink 🙂
View ArticleReply To: How to include an RSS feed or search results on a single template?
Great thank you so much Simon! Your idea is much simpler and easier. But I still have one small syntax problem. I am now using this to search only within specific categories based on the current...
View ArticleReply To: How to include an RSS feed or search results on a single template?
Hi there, You are trying to use the_title to return the string value for the post title, You need get_the_title instead. However, you have some fundamental issues with the efficiency and structure of...
View ArticleHow to include an RSS feed or search results on a single template?
I am using Custom Post Types, so the title of each post is the name of a restaurant. On each single-restaurant.php I wan to also include a list of related news from our site related to this...
View Article