WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] RSS Feed reverse order (7 posts)

  1. ricardofpraimundo
    Member
    Posted 1 year ago #

    Hello,

    I have a problem, I'd like to put the calendar on a feed from another site. The problem is that the feed shows the events in reverse order. Instead of the latest for the future, I'd like to begin by the latest in the list of events.

    How can I change the order of the feed?

    Thank you.
    Ricardo

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    you can try to edit template file at wp-content/plugins/events-manager/templates/templates/rss.php

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I'd like to put the calendar on a feed from another site

    just to be clear, are you taking external data into em or exporting our plugin event info to another site?

    another option is an ical feed.

  4. ricardofpraimundo
    Member
    Posted 1 year ago #

    I have a list of events on this site http://ruidosonoro.com/comunidade/calendario-de-eventos/

    And I want to put in another site via a Widget RSS Feed.

    The problem is that it shows the entries on the list in reverse order, ie I would like to put the feed by more recent events (day 17, 18, 22, etc).

    I changed the file rss.php thereby (the orderby added):

    $ EM_Events = EM_Events :: get (array ('orderby' => 'event_start_date', 'scope' => 'month', 'owner' => false));

    But it did not work.

    And via iCalFeed, have some solution to display a calendar in a foreign site?

  5. agelonwl
    Member
    Posted 1 year ago #

    try to add 'order' => 'DESC' or 'order' => 'ASC'

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    for ical feed you could implement Google Calendar

  7. ricardofpraimundo
    Member
    Posted 1 year ago #

    Hello,

    Thanks for the help, already solved the problem.

    I installed a plugin that reads ical and you can put in pages and widgets, everything was functional. Just set the ical in events-manager and gets everything right.

    Thank you again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic