Home Forums Free Themes eMag Main Slideshow – Sort by date error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #91946

    after updating (yesterday) wordpress to the last version and also eMag theme, when I select ALL/CATEGORIES (the same error is in the old version of theme after wordpress update) in the main slideshow (Admin Panel > Appearance > Customize > Home Main Slider > Setting Options), I see the first posts and not the latest ones. Order by date in ascending and not descending (I see posts of 2017, not posts of 2019 february).
    Can you help me?
    Thank you very much.


    Hello @simonnealessi85,

    We will look for the issue and let you know.

    Hoping for your kind co-operation.

    Best Regards!!


    I don’t have this problem more because I made this change to the code of inc/hooks/homepage-slider.php (ver. 1.0.3)

    BEFORE: I use main slideshow setted up to show 3 posts

    On line 64:

    'orderby' => 'date' //EDITED,
    'order'   => 'DES' //ADDED,
    'cat' => $emag_feature_slider_category,
    'offset' => 0 //EDITED

    On line 136:

    'orderby' => 'date', //EDITED
    'order'   => 'DES', //ADDED
    'offset' => 3, //ADDED

    Now posts are inserted in the slideshow ordered by date and the first three appers in the slideshow and the 4th and the 5th appear on the side.

    Thank you for the help, waiting for the next update 🙂

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