Support » Plugin: WP Last Modified Info » Formatting the Shortcode output

  • mikeywil

    (@mikeywil)


    Hi, how can we format the shortcode output?

    At the moment I get:
    December 9, 2020 @ 5:49 pm
    and I would like to have:
    December 9th 2020

    thanks

Viewing 1 replies (of 1 total)
  • You can change the format in the settings for the WP Dashboard > settings > general, and remove the time option if have the option in settings time format. That is as close as I’ve been able to get so far now it reads
    “December 9, 2020 @”
    I’m still working on it, I’ll let you know if I find a solution.
    Anyone else?

    UPDATE:
    I had to deactivate the plug in then edit it then reactivate it to make this work

    Dashboard > plugins > plugin editor | select the plugin | around line 45 there is an option for separator (it appears 3 times depending on how you have your display set up you may only need to edit one of the occurrences. z honestly I wasn’t sure so I removed all 3 and replaced them with the character space ” “.

    The “ctrl F” | “separator” search function did not work for me but it is right around line 45 then down 8-12 lines then down another 8-12 lines. Hope this helps someone

    • This reply was modified 4 months, 2 weeks ago by jermcorp.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.