CMS Development

vikasbendha
Miembro

Filter Blogs by author

resolver

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 Me gusta
1 Soluciones aceptada
relabidin
Solución
Exmiembro de HubSpot
Exmiembro de HubSpot

Filter Blogs by author

resolver

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 

Ver la solución en mensaje original publicado

1 Respuesta 1
relabidin
Solución
Exmiembro de HubSpot
Exmiembro de HubSpot

Filter Blogs by author

resolver

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