Recent searches


No recent searches

Promoting an article to the top of the section



image avatar

Jennifer Rowe

Zendesk Documentation Team

Edited Jul 12, 2024


0

17

17 comments

Hey it would be great to be able to bulk edit all articles and add or remove the promote article option. 

weird that you cannot act on all article settings when bulk editing. 

1


Hi, any plans to add top of the articles list to Support SDK for iOS/Android?

0


image avatar

Cheeny Aban

Zendesk Customer Care

Hi Slava Skorbezh,

Thank you for leaving feedback on our Community. I've marked this comment as Product Feedback. We truly value customer feedback and your voice and votes in the product feedback topics in the community help influence future Zendesk functionality.

 

1


Hi Jennifer Rowe ,

thanks for sharing about promoting articles for Guide (help center).

We would like to show our most popular articles based on the highest number of page views, in our header dropdown and some sections in our Guide web pages.

Is there a way to automate it instead of manual promotion? Like a template?


6


Hi @...

Can you help re: this:

We would like to show our most popular articles based on the highest number of page views, in our header dropdown and some sections in our Guide web pages.

Is there a way to automate it instead of manual promotion?

 

 

5


+1 to Soo Hian Foo comment. It'd be great to have such a feature

2


+2 to Soo Hian Foo request

0


An additional question, it is mentioned above, "Promoted articles might also appear by default on the home page, depending on your theme." how to know which theme would enable this? it would be extremely helpful to have this on the help center, thanks

0


image avatar

Christine

Zendesk Engineering

Hi Rebeca,

We have an existing thread with recommendations from Team Diziana on this community post.
 

Just copy and paste the below code at your home_page.hbs at the bottom and you can see all your promoted article would be showing on homepage:

 

{{#if promoted_articles}}
<section class="articles">
<h2>{{t 'promoted_articles'}}</h2>
<ul class="article-list promoted-articles">
{{#each promoted_articles}}
<li class="promoted-articles-item">
<a href="{{url}}">
{{title}}

{{#if internal}}
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" focusable="false" viewBox="0 0 16 16" class="icon-lock" title="{{t 'internal'}}">
<rect width="12" height="9" x="2" y="7" fill="currentColor" rx="1" ry="1"/>
<path fill="none" stroke="currentColor" d="M4.5 7.5V4a3.5 3.5 0 017 0v3.5"/>
</svg>
{{/if}}
</a>
</li>
{{/each}}
</ul>
</section>
{{/if}}

 

Note: The above promoted article code can be found in default Copenhagen Theme at Homepage file.

 
Hope this helps!

0


How can you change the Promote star icon to something else? Thanks! 

0


image avatar

Christine

Zendesk Engineering

Hi Christina,

You can change the icon that appears before the article title, however, you will need to make some advanced customization on the theme code. Please be advised that our team is unable to provide support for custom coding, you may reach out to your Developers or IT team for guidance on how to tweak the theme code.

Sharing with you this response I found on this post from Team Diziana (they're third-party Developers, and provide assistance with theme customizations) the answers on the post might give you an idea of where to make changes to the code.

Thanks!

1


I've added the promote functionality and my promoted articles appear on my homepage which is great. What I've noticed is that my side navigation is showing the promoted articles at the top of the menu, confusing the order in which the articles should be read. 

Is there a way to have the promoted articles displayed on the homepage but for it not to impact the order anywhere else? This is quite a big problem for our workflows.

I also have another question regarding the star that's meant to appear next to the article; this doesn't show in my help centers - any idea as to why not?

Thanks

1


I also have the same question as Zoe!

0


image avatar

Vlad

The Wise One - 2022Community Moderator

Zoe Goble Syd Stahler

just working on my client's help center and found it IS possible to sort articles by position, regardless if some of them are promoted articles or not. You can do that using ZD's API sort option (sort by position). More details:
https://developer.zendesk.com/api-reference/help_center/help-center-api/articles/#sorting

 

0


Hi, I'm a Product Writer, not a Developer/Engineer, so I don't have much technical knowledge. Is this straightforward to implement, or do I need to seek technical support?

Thanks.

0


image avatar

Vlad

The Wise One - 2022Community Moderator

Yes, frontend dev would be needed.

0


Hello Vlad
I have the same need as Zoe.
Without being a developer, I can find and use examples of html code to achieve what I want to do. 

Isn't there a way of forcing the order of pages by position by adding a sort_by="position" in the base code? I can't do it on the #if or #each section.articles but maybe I'm just not writing it right. 

If this really isn't possible, I don't understand how calling the API from our own Zendesk Help Centre works. Can we add a call to the API in the code of an hbs page? Do you have a dedicated documentation page?

0


Please sign in to leave a comment.