PeterF
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Last Modified Info] Plugin not showing date at Category Page- The plugin has no chance to add the Date Modified to the meta data on the post or the archive pages. I did this now manually by programming in my theme Twenty TwentyOne and therefore had looked into the code. The code in this theme offers no hooks and is itself strangely structured.
- (Technically I made a child theme).
- I also believe that the last-modified-text has to go to the meta data in the header or footer, and not into the content.
- I will also patch the Latest-Posts Gutenberg block, because this block again does not offer hooks, and also does not use the meta data display of the theme (there is no such concept as meta data display in a theme).
- However the plugin is very useful in the admin area, because it displays the modified date, and allows to change the modified date. This is needed, as the modified date gets changed not only for content editing, but also for meta data changes, like changing the categories, perhaps the tags, changing the title, or for minor editing which should not reflect into the modified date. With WPMLI I can change the modified date manually.
- for these reasons I activated WPMLI again and intend to keep it.
- Interestingly, the checkbox Disable Update of WPLMI does not work as intended. When I uncheck it, this counts as an update and sets the Modified Date. Only when I change the Modified Date, it seems protected from counting as an update. The subject of what counts as Modification seems tricky.
Forum: Plugins
In reply to: [WP Last Modified Info] Plugin not showing date at Category PageI support @shobhitdevwp:
WPLMI does not work on Archive pages, that is on such pages as: category keyword author archive-by-date, the posts main page, and the recent-posts Gutenberg block.
The only thing that really works, is the last-modified column in the back end.
Also works, but is not that much needed, is the last-update-line on the individual single posts, and the short-code.
My theme is Twenty Twenty-One. I added JQuery, because it is required bei WPLMI, and was not in the theme or in WPLMI. I changed the language from german to US-english. But it did not help.
Unfortunately, the feature is not built-in into core WordPress. And I don’t see alternative plugins, and modifiying a theme myself is out of question. It would be much needed to see the last-modified-information there on archive pages, from a users point.
As a side effect, I noticed that the settings (show LMI on (pages posts media)) are not sticky (when all three are removed), and in us-english (pages posts) are available, but in german (pages posts media). Of course I noticed (disable on Archive pages, and so on), and removed the (disables) in the settings, such that LMI should appear – but LMI didn’t appear there.
Peter.
- This reply was modified 3 years, 3 months ago by PeterF.
- This reply was modified 3 years, 3 months ago by PeterF. Reason: clarity and mistakes
- This reply was modified 3 years, 3 months ago by PeterF.
- This reply was modified 3 years, 3 months ago by Steven Stern (sterndata).