How to order tag items from least recent

Posted in: Newspaper
Post count: 189

I am using The Events Calendar plugin and displaying events from the calendar on my home page through the use of tags. However, there is no option on the visual composer to sort items from least recent, only from most recent. It did work correctly before the update, showing events from most current to future events. My website is onechristianvoice.com.

I would greatly appreciate any suggestions you might have on this.

Post count: 9544

Be sure to use the version of VC included with theme download this past week with security fix, and *not* the one Envato offered folks to download, which is not fully compatible with theme.

Might not be your issue, but seems to be mucking a number of things up with the Envato version.

Post count: 189

I just downloaded the WP only files for Newspaper from Envato and installed it on my website. Then I reverted back to the child theme. I hope that was how I was supposed to do it.

Unfortunately, it did not solve the problem of the posts showing up in the wrong order.

Post count: 7909

Hi,

Do you refer to the sort order on blocks? It should work the same like in version 4, if this is what you mean.
In version 4 – http://screencast.com/t/QZd9aGvZ0AR
In version 6 – http://screencast.com/t/e0Gr9alCO

Thanks!

Post count: 189

Yes, those screenshots represent the area I am working on. I can see, based on your screenshots, that the Visual Composer has not changed their options. So I don’t know what changed. I just know that prior to the latest update (which is AWESOME!), the most current events displayed first. I’m guessing that a lot of people who use the Newspaper theme have also been using The Events Calendar plugin, so if we can figure this out, it will probably be helpful to many of us. I am also requesting help in the forums of The Events Calendar.

Thank you for your help.

Post count: 189

I just visited the Visual Composer plugin’s support to see if they can help me, but it seems I need a purchase code before I can get support from them.

I also have been in contact with support at The Events Calendar, but they are at a loss as to how to solve this problem.

Post count: 7909

Hi Rhonda,

The tagdiv blocks are not apart of Visual Composer plugin, also the blocks settings, they come from the theme.
I’m not sure what settings did you used. Did you have some custom modification to the theme files? As you can see in the above screenshots the sort options are almost the same(we did not removed, just added).
You can try to add another sort order for blocks like this – http://screencast.com/t/7RzhIITcXiZhttp://screencast.com/t/RT00ZQ9CK38

case 'event_ascending':
                $wp_query_args['orderby'] = 'date';
                $wp_query_args['order'] = 'ASC';
                break;

'Events Sort' => 'event_ascending',

Result: http://screencast.com/t/bZ0ftGdirhttp://screencast.com/t/2AU4PJQvhttp://screencast.com/t/U0jWnZnv

Thanks!

Post count: 189

Thank you for this code, but I have no idea how to implement this. Is this through the FTP server or directly in my WP account? If it’s in WP, I think I go to Appearance>editor>Newspaper>Theme Functions but then I don’t know where to go after that to place this code that you have been so kind to give me.

Thank you for you help.

Post count: 7909

Hi,

These files td_data_source.php and td_config.php cannot be edited via WP Editor, you will have to connect via FTP or if it is more easy for your you can login to CPanel and edit them from Files Manager. This is the path structure for those files – http://screencast.com/t/maPqFrWjD4R9http://screencast.com/t/2JUaiPmy

Thanks!

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