CMS Development

vikasbendha
メンバー

Filter Blogs by author

解決

I want to filture my blogs by author. 
Right Now I can filter them by category or tags they have but when I click on the button "More by this author " then that is redirecting me to blog home page again and I dont see filtered blogs there. 

My website is evercoach.com/blog

0 いいね!
1件の承認済みベストアンサー
relabidin
解決策
元HubSpot社員
元HubSpot社員

Filter Blogs by author

解決

Hi @vikasbendha,

 

Your blog listing template does not include any If blog_author statements, which are supposed to evaluate to True if you are looking at a blog author page. When you click on the More by this author link, the URL correctly shows the format of a blog author page (e.g. http://www.evercoach.com/blog/author/clair). However, the content of the page doesn't get filtered to show the author's posts because the HubL statement that filters by blog author is missing from your listing template.

 

Here is a link to our blog markup documentation for blog authors: http://designers.hubspot.com/docs/hubl/blog-content-markup#if-blog-author-statement

 

Rami 

元の投稿で解決策を見る

1件の返信
relabidin
解決策
元HubSpot社員
元HubSpot社員

Filter Blogs by author

解決

Hi @vikasbendha,

 

Your blog listing template does not include any If blog_author statements, which are supposed to evaluate to True if you are looking at a blog author page. When you click on the More by this author link, the URL correctly shows the format of a blog author page (e.g. http://www.evercoach.com/blog/author/clair). However, the content of the page doesn't get filtered to show the author's posts because the HubL statement that filters by blog author is missing from your listing template.

 

Here is a link to our blog markup documentation for blog authors: http://designers.hubspot.com/docs/hubl/blog-content-markup#if-blog-author-statement

 

Rami