Shortcode no longer working
-
Hello Gentlemen,
After the last updates the shortcode :
[lmt-post-modified-info]
stopped working completely!Is there a simple solution, or has the shortcode changed?
Enjoy your day and stay healthy,
Peter
The page I need help with: [log in to see the link]
-
I have the same problem, the last modified info is no longer being displayed at the end of the post. On top of that, when I update a post it will now appear first, above all recent posts. I had to disable the plugin… please suggest a solution to this problem. Thank you!
Edit: Disabling the “Enable for Posts/Pages on Frontend” option no longer places the modified post above all recent posts.
However, the last modified info is still not being displayed on any post… it just disappeared…-
This reply was modified 5 years, 9 months ago by
nestormarius.
Hello @nestormarius and @groenhart
Could both of you please give me the settings data copied from Plugin Tools > Export Settings?
Just copy settings and create a paste using https://pastebin.com/ and give me the links
Thanks!
Mine has stopped working also. I’d send the settings data along, but I can’t find Plugin Tool>Export Settings.
Ted
Morning Sayan,
https://pastebin.com/JRP14G0P
Rnjoy your day!Hello @groenhart
Please Enable the option: Enable for Posts/Pages on Fronted switch from Post Options
Hello Sayan,
Tried all possible settings, including deleting all data and reinstalling fresh.
Shortcode is refusing to work!!!!,
Enjoy your weekend and stay safe!
Peter
Same here. I just updated WordPress (5.5) and the plugin and saw that the shortcode is no longer displaying. “Enable for Posts/Pages on Fronted” is turned on as it was before the update.
Hello all,
By any change do you have enabled Replace Published Date with Modified Date is enabled in Misc Options Tab?
No, I Haven’t.
Quite annoying as I enjoy this plugin
I think I found the issue. In “Post Options” settings, The “HTML Template to Display on Posts” was completely different after the update. It displayed the code under <p> tags and also included a link to the author (which I never used before).
So when this code rendered on the front end, there were double <p><p> and </p></<p> tags in a row (one from the shortcode, other from WordPress), which probably broke the whole thing.
Removing the tags (and author link in my case) fixed the issue. Maybe it helps others too.
This is one of my BIGGEST complaints about WordPress. It’s too vulnerable to changes. One little thing changes, and something unrelated fails.
I’m hoping that the author of this plugin can fix it. I have 60+ pages that “WP Last Modified” is embedded in and having changed them all once before when the old version of the old “Last Modified” failed and was replaced by ” WP Last Modified”. I’m NOT looking forward to doing it again.
I use a “reusable block” which defines my line in one place and that appears in all the pages it is used in.
The HTML of the block is
<p class="post-last-modified"><code>[lmt-page-modified-info]</code>. <em>Do visit this page regularly as we will update it to reflect any changes in circumstances.</em></p>which worked fine until recently. Now the shortcode is empty.
I would dearly like to see a full list of shortcodes and switches for them. In particular is there any difference in [lmt-page-modified-info] and [lmt-post-modified-info]
Hello @wrhite
Please remove p tag from plugin settings HTML Template if you have any. Hope it will fix this issue.
If not, temporarily rollback to the 1.6.6 version. https://downloads.wp.xz.cn/plugin/wp-last-modified-info.1.6.6.zip
And there is no difference between that shortcodes. Both are same from v1.7.0
In the next version of this plugin, I will try to auto strip p tag for shortcodes.
But Next version may be delayed as my health condition is not good and I can’t give any estimated time. I need some time.
Hope you understand. Thanks!
-
This reply was modified 5 years, 9 months ago by
The topic ‘Shortcode no longer working’ is closed to new replies.