Anonymous User 393930
(@anonymized-393930)
This link you have given isn’t one for This Day In History. This takes the form of the plugin name followed by the date of the event. e.g.
www.example.com/this-day-in-history/1715-09-20/
or if WordPress itself is installed as a sub-directory then
www.example.com/sub-directory/this-day-in-history/1715-09-20/
It won’t add the year nor use a different name.
Thread Starter
CJ500
(@cj500)
THanks for getting back to me.
The link given was the link to the page with the shortcode on to display the output.
The event link is http://pastsearch-archaeo-history.co.uk/2018/this-day-in-history/500-12-15/
The shortcode used is [tdih month=12] but no events are shown.
When events admin page is opened and view is selected the event url is shown as http://pastsearch-archaeo-history.co.uk/this-day-in-history/500-12-15/ (ie no dir 2018) and if view is clicked 404 page on old website not in directory is shown.
Wordpress is installed in the directory http://pastsearch-archaeo-history.co.uk/2018/
The correct slug including the directory /2018/ is stored in the database.
What I need to do is to get the shortcode to find the event in the databse and for the view option in admin list to display the correct url.
Any thoughts?
Anonymous User 393930
(@anonymized-393930)
If you want to list all the events in a month then you must use the tdih_tab shortcode. The tdih shortcode requires a day and month (and will use the current value if one is missing) – this is because the day and month are not shown with this shortcode so the output for a month won’t make sense.
I’m not sure why the view link in the admin page isn’t correct – I’ll look into it a bit.
Thread Starter
CJ500
(@cj500)
The shortcode change did the job on the list page!
Thanks for your reply.
It would be great if we could get the view link in the admin page working but it’s not as important as the front end display.
Thanks again for you help.
Thread Starter
CJ500
(@cj500)
Just marking as resolved.