Okay
  Public Ticket #1558208
RevSlider not importing Event Dates
Open

Comments

  • Dissonance79 started the conversation

    I am setting up this site for a local business and when I add events to the events page through the page manager it would appear that the RevSlider is sitting with a static date of 01/05/2018 - It is not updating to the actual event date. I cannot locate where it is pulling the data from or if there is another addon (Event Calendar) is interfering with it.

  •  154
    Hina replied

    Hi,

    Slider dates are manual and have to change it manually. If you are looking to update it automatically so It require a bit modification suggested by slider author:

    you may use some custom shortcode in slider and in shortcode code , you may fetch meta tag and change date format.

    For that  add following code at the end of functions.php  

    function datefix_func( $atts ) { extract( shortcode_atts(        array(            'post_id' => '',        ), $atts )    );
    $eventDate = get_post_meta($post_id, "_EventStartDate", true); $eventDate =  date( "m.d.Y", strtotime( $eventDate ) );       return $eventDate;
    }
    add_shortcode( 'changedate', 'datefix_func' );

    and save file . now in slider you may try use shortcode like : 

     [changedate post_id='{{id}}'] 
    

    I have also attached slider export for your convenience:

    How To Import Revolution Sliders

    Step 1 – Go the the Revolution Slider tab in your WP Admin, and click the Import Slider button.

    Step 2 – Choose the .ZIP file of the slider you’d like to import.

    Step 3 – Once you’ve chosen the .ZIP file, an Import Slider button will appear.

    Step 4 – Click the Import Slider button, and wait for it to finish uploading.

    Step 5 – Once it’s finished uploading, you will now see your imported slider in the list of Revolution Sliders available.

    Attached files:  themecanon.zip


    Thanks,

    Best Regards,
    Hina S.
    Theme-Canon Support

  • Dissonance79 replied

    Excellent, Thanks for the assist Hina. The only reason why I was confused is that it is pulling my event names into the Home page slider just not the dates. Also when I try to edit the text to get it to fit better into the ticketing space it keeps giving me the error "Cover Image need to be set for videos"

    I will go ahead and copy in the code in when I get a chance this evening and test it out. Worst case scenario I may pass you a temp login code so you can check what Im doing? 

    Attached files:  EventX Slider.PNG

  • Dissonance79 replied

    Also Hina, I am unable to locate where I can place the shortcode in. I was able to update the PHP per your suggestion though.

  •  154
    Hina replied

    you can place shortcode in TEXT layer and replace TEXT layer with the images of EVENT DATES layer.


    Thanks,

    Best Regards,
    Hina S.
    Theme-Canon Support

  • Dissonance79 replied

    Unfortunately it is not working. I have tried the default slider, the slider you sent over, and even created one from scratch and it does not pull the date from the event. I cannot locate where it is actually pulled the january date from. Im making this private and will be sending you the URL and admin login.

  •  154
    Hina replied

    sure please post when you are ready.


    Thanks,

    Best Regards,
    Hina S.
    Theme-Canon Support

  • Menno70 replied

    Hello I got a problem with my RevSlider. 2 years ago a member of our club has build the site with theme sport. Now our provider updated PHP 5.4 to 7.0 and I could not come anymore in the Dashboard. So the put back PHP 5.4. Now he says if you want to go to 7.0 you have to update RevSlider. Can you help me with this problem. Is our theme compatible with the newest RevSlider?

    Regards,

    Menno

  •  154
    Hina replied

    can you please provide us the link of front end and backend access so we can check it further? our theme is compatible with 7.0 and slider  plugin  as well.


    Thanks,

    Best Regards,
    Hina S.
    Theme-Canon Support

  • Menno70 replied

    The site is www.vliegveldmiddenmeer.nl. Its in dutch

    If you  can help me the revolution slider can be updated to the latest version I purchase it if I can convince the board. I must because PHP 7.0 works beter is my told. 

  •   Hina replied privately