How to make a Question “Featured”

4.21K viewsGeneral
1

I saw on main Anspress Question page that there was a yellow star for featured question.  Does that need to be coded or is that existing feature that I can enable.

1

Hello,

Make sure you are using AnsPress 4.0 before proceeding.

Copy question-list-item.php inside your active theme folder anspress dir. And add css for class .ap-featured-mark to match your site styles.

https://gist.github.com/rahularyan/3b541fa35dd59b89ac41761fb0842629

1

Under the more action tab under the question there is the option to set it as featured.  This will highlight the post in yellow at least on AskBug.  I’d love to know how the anspress team puts a featured star on their featured posts though.

commented on answer

Hello,
Check my answer below