• Resolved bigbunker

    (@bigbunker)


    Hello and thank you very much for this plugin which is very useful. Is it possible to get a php code to display the modification date of the post instead of its publication date when i use slider or carrousel ?

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Aadhya

    (@aadhya9)

    Hi @bigbunker

    Glad to know that you liked the plugin.

    At this stage Post Slider and Post Carousel plugin display the date on which post is written / published. You need to modify the plugin code as you can not override the template from the lite version.

    At the plugin root folder, you can see the /templates/ directory. In that at respected shortcode design you need to search for the get_the_date() function and replace it with get_the_modified_date()

    I hope this will work for you.

    • This reply was modified 1 year, 2 months ago by Aadhya. Reason: Some typo mistake
    Thread Starter bigbunker

    (@bigbunker)


    Thank you very much for your feedback; it works perfectly. The only problem is that if the plugin is updated, everything will be deleted. So I copied the files to my child theme to prevent my changes from being deleted, but now it’s no longer working. Is there a way to prevent changes from being deleted with updates?

    Best regards

    Plugin Contributor Aadhya

    (@aadhya9)

    Hi @bigbunker

    Glad to know that your problem has been resolved.

    As I mentioned in my first response, Template override functionality is not available in the lite version.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Modified date’ is closed to new replies.