-
AuthorPosts
-
December 22, 2017 at 8:33 pm #891714
I have been using Enfold for several years on http://www.newlyswissed.com. It appears that with the latest update, my blog posts are suddenly sorted as “oldest -> newest”, effectively showing the first ever published post on the homepage.
I am not sure whether this is purely an issue because of Enfold 4.2 on WP 4.9.1., but it is driving us bonkers…
Can you help? Or can you show us where to download the previous version of Enfold so that we can downgrade to 4.1.2.?
Many thanks!
December 27, 2017 at 2:43 pm #892166I think the problem lies in the “loop” of my WordPress installation, but I am not sure whether the theme update is creating the issue – or WP itself.
Could you help me sort my blog posts in DESC order as they used to be? Now, they are shown in ASC order (oldest to newest).
Thank you very much!
December 27, 2017 at 8:27 pm #892209Hi newlyswissed,
These articles might help you
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 3, 2018 at 6:12 pm #892896I, too, am having this issue all of the sudden.
It is safe to say this is an enfold update issue versus something that users need to trouble shoot.
Here is the page I am having issues with – http://www.nl-cc.org/ – the message library image section.
I have posted the code in the private section (I can’t stand it when people post thousands of lines of code in the comment section).
Please advise. Thanks!
January 4, 2018 at 5:18 pm #893289I am glad to see that I am not the only one having this issue!
Brigitte is also experiencing the same troubles: https://kriesi.at/support/topic/blog-posts-drawing-oldest-to-newest/#post-892890
@Mods: Any chance you can dig into your Enfold 4.2 code and release an update?
January 5, 2018 at 10:27 am #893652Hey!
Did you try the filter? I visited the site but it looks broken with css codes exposed.
add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc'); function avia_modify_post_grid_query_desc( $query ) { $query['orderby'] = 'date'; $query['order'] = 'DESC'; return $query; }
Cheers!
IsmaelJanuary 5, 2018 at 4:13 pm #893728Hi Ismael,
Thanks for looking into our issue. We realized that the latest version of the Events Calendar Pro plugin was breaking the site.Could you check to see why this is the case? Otherwise, if we ever update the plugin, it will not be compatible with Enfold and we will run into the same issue again.
Thanks!
- This reply was modified 6 years, 10 months ago by newlyswissed.
January 5, 2018 at 6:30 pm #893785I agree with both of these post participants. I’ve added the code that should allow for posting by date, but it is not solving the problem. It sounds like the quickest fix right now may be to revert to an older version of the Events calendar?
January 9, 2018 at 6:03 am #895098Hi,
The filter should work for the blog posts element with grid layout. Are you using different posts elements (magazine, masonry etc)?
Best regards,
IsmaelJanuary 9, 2018 at 6:19 am #895103No, I am not, Ismael. Have you or the other moderators looked at my site from the front and back end? I’m very certain I’ve followed all of the recommended fixes and nothing is working. I’m at a loss as to how to correct this.
January 10, 2018 at 10:37 am #895573Hi,
@abparenteau: In the functions.php file, I found the “avia_custom_query_extension” which is not needed anymore because the order and orderby options are already included in the blog posts element. I tried to modify the functions.php file via the Appearance > Editor but I’m getting the following error.Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
Please remove it then reconfigure the blog posts element’s sort options.
Best regards,
IsmaelJanuary 11, 2018 at 8:56 pm #896239Hi Ishmael
I removed that code from the functions.php file. However, all this did was remove that feature from my blog post element and kept the same order (i.e. ordering from oldest to newest).
Can someone help me in a more dedicated manner? I’ve had this issue and tried every fix since December 20. It’s very frustrating and we have a huge event coming up this weekend.
Thanks!
Brigitte
January 13, 2018 at 4:11 am #896791Hi,
@abparenteau: I’m very sorry if this is taking a bit too long to be resolved but we’re doing our best to help. Please provide the FTP details in the private field so that we can edit the functions.php file. We can’t modify the file from the Appearance > Editor panel.Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
Best regards,
IsmaelJanuary 13, 2018 at 4:13 am #896792Hi,
I will also ask the rest of the support team to check the thread.
Best regards,
IsmaelJanuary 13, 2018 at 3:31 pm #896894Hi Ismael
Below are the private details. Thank you!
Brigitte
January 13, 2018 at 6:34 pm #896910We figured out that the latest update of the Events Calendar plugin was causing the reordering of posts. By downgrading the plugin to an earlier version, Enfold 4.2. suddenly “worked” and we were back to normal
I hope this information will help someone here in the forums.
January 14, 2018 at 2:16 am #896992Thank you, newlyswissed. I downgraded my version of the Events Calendar Pro and I am no longer experiencing this issue. There is a bug somewhere between this theme and that plug-in.
January 14, 2018 at 5:26 am #897019Hi newlyswissed,
Thanks for sharing, much appreciated! Just for the record; which version of the Events Calendar is working with 4.2? We’ll try to investigate this further and hopefully implement the necessary changes in the next release of the theme.
Best regards,
Rikard- This reply was modified 6 years, 10 months ago by Rikard.
January 14, 2018 at 1:07 pm #897072We are running Events Calendar PRO 4.4.19, which appears to be working,
January 15, 2018 at 2:20 am #897296Hi,
Thank you very much for the feedback, we’ll try to investigate this further and hopefully come up with a fix for the next release of the theme.
Best regards,
RikardJanuary 21, 2018 at 7:01 pm #900431Hi,
exactly the same problem after I updated The Events Calendar Pro from 4.4.19 to 4.4.20.1
ThanksJanuary 29, 2018 at 7:42 am #904107Hi all,
The last snippet in this thread can do the trick
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 30, 2018 at 8:10 pm #905094This reply has been marked as private.January 30, 2018 at 8:34 pm #905105Hi,
Finaly I solve the problem by downgrading The Events Calendar PRO 4.4.22 to 4.4.19
ThanksJanuary 31, 2018 at 8:27 pm #905769Hi,
Thank you for letting us know, we do appreciate it a lot
Best regards,
BasilisFebruary 15, 2018 at 6:52 pm #912871Please let me know if you can fix this so that I can upgrade Events Calendar. Thanks, Nancy
February 16, 2018 at 5:15 am #913101Hi,
Our developers found out that this is due to the Events Calender Pro’s Events -> Settings -> General -> Recurring event instances option. It breaks the standard WP query and it seems to occur when multiple custom post types are involved. Do you have that option enabled? On a staging or a test site, please use the latest version of the theme then toggle the said option.
Best regards,
IsmaelFebruary 18, 2018 at 12:32 am #913737You guys are awesome! Seriously – absolutely awesome.
Have you been in touch with The Events Calendar people or is this something that we would do well to let them know about. Just let me know how we can assist. Obviously something changed on their end and it’d be awesome to get it corrected.
February 18, 2018 at 3:56 am #913750Hi,
Yes, our developers have created a fix which will be included in the next patch, can you try to apply it and let us know your feedback, you can find it here: https://kriesi.at/support/topic/portfolio-items-not-responding-to-order-by-date-or-random/#post-913131
Hope this helps :)Best regards,
NikkoNovember 8, 2018 at 9:10 pm #1031378 -
AuthorPosts
- The topic ‘Blog post order reversed on Enfold 4.2’ is closed to new replies.