Jump to content
John W.

Admin: displaying sticky posts first

Recommended Posts

So, I have a page called NEWS with children that use a template named news_article. Currently I have NEWS set to list children, in the admin side, by published. 

Well, I added a checkbox field called pinned_article. If checked, it just pins the article to the top when listing news on the visitor side...fine. 

What I’m trying to do on the admin side is list in the tree all the news articles by pinned_article,published (the equivalent of a selector such as sort=-pinned_article, sort=-published)  

All I see is a drop down for selecting a single field  Would be nice to add a text field to allow selectors for more complex sorting  

Any work-arounds?

 

Share this post


Link to post
Share on other sites

 

 

  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks. I haven’t learned to create hooks, guess now is a good time. 😊

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...