[Resolved] Dynamic content in alphabetical order

Home Forums Support [Resolved] Dynamic content in alphabetical order

Home Forums Support Dynamic content in alphabetical order

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2205782
    Samuel

    Hello,

    I’m using the Block element – Content template to display hotels grid (CPT).

    I would like to know if it’s possible to display the grid in alphabetic order ?

    You’ll see an example in private informations.

    Thanks for your help,
    Samuel

    #2205785
    Leo
    Staff
    Customer Support

    Hi Samuel,

    That’s not something the content template can control as content template is for appearance only.

    The actual query loop is still handled by WP core.

    I would recommend Googling the keyword “display cpt in alphabetical order” to see some suggestions such as this one:
    https://wordpress.stackexchange.com/questions/28653/displaying-a-custom-post-type-alphabetically

    #2205798
    Samuel

    Hi Leo,

    This solution is not working for me, it breaks my website. I’ll look for another solution then.

    But, I have a question: will you add a “sort” feature in the future GB’s update using queries ?

    #2205810
    Leo
    Staff
    Customer Support

    will you add a “sort” feature in the future GB’s update using queries ?

    No – that isn’t in our plan currently.

    #2205815
    Samuel

    Wow, but if GB is supposed to replace WP show post and WPSP had the sort feature, how are we supposed to switch from WPSP to GB then ?

    #2205969
    Fernando
    Customer Support

    Hi Samuel,

    Are you referring to the Order and Order by parameters of WPSP? If so, yes, these would be included in the Query Loop Block: https://share.getcloudapp.com/4guKpjGd

    Hope this clarifies. If you’re referring to something else, kindly let us know. 🙂

    #2206084
    Samuel

    Yes I was referring to this feature. Is there a beta version of GB with Query loop block available ?

    #2206090
    Fernando
    Customer Support

    The official update hasn’t been released yet as the team is still making sure that the update will work as seamlessly as possible.

    You can see the development updates here: https://github.com/tomusborne/generateblocks/actions

    You may also test it out here, though it’s still in development: https://github.com/tomusborne/generateblocks/actions

    Hope this clarifies. 🙂

    #2206093
    Samuel

    Thanks a lot ! 🙂

    #2206095
    Fernando
    Customer Support

    You’re welcome Samuel! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.