Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #533061

    I added the code from your PHP Snippets article: http://kriesi.at/documentation/enfold/how-to-add-an-orderorderby-option-to-the-blogpost-sliderportfoliomasonry-grid-element/ so that I could sort the blog posts (using the blog posts element in the Avia Layout Editor). The display order of the posts do not change no matter what I choose for the order by. Here is the page: http://clcstaging.com/about/our-staff/. The blog posts I’m trying to sort are in the “Leadership Staff” section. I will provide you with login credentials in the private area, so that you can review the code I added to functions.php (I copied and pasted from the above mentioned article) and also view the settings in the blog posts element in the Staff page.

    Please advise on how to get the order by to work. Thanks!

    #533450

    Hey Jill!

    Can you please firstly update Enfold to the latest version 3.4.1 – kriesi.at/documentation/enfold/updating-your-theme-files/

    Cheers!
    Yigit

    #533584

    Installed the update, but the problem remains. The “order by” is not working

    #535407

    Hi!

    can you try to deactivate all plugins please? to check if that help. Also clear browser cache and hard refresh a few times. Make sure the code is implemented correctly. Let us know if you still need help with this issue.

    Best regards,
    Andy

    #537779

    I have same problem

    #537821

    I deactivated plugins and cleared my cache, but it still didn’t work. So my workaround was to change the published date and time for each post so that they would display in the correct order.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom OrderBy Code not working in Blog Posts Element’ is closed to new replies.