Displaying newsletter from one website to another
-
Hi, I hope this is the right forum.
Can anyone help?
I would like to display the latest news letter from a parent website on our new child website. I have access to the parent newsletter folder which has both the most re ent newsletter and previous archived ones so the file listing might look like:
wp-content/uploads/newsletters/newslettername-202050.pdf wp-content/uploads/newsletters/newslettername-202051.pdf wp-content/uploads/newsletters/newslettername-202052.pdf wp-content/uploads/newsletters/newslettername-202053.pdf
and so on.
My question is how can I display only the latest newsletter (in this case
newslettername-202053.pdf
) on the child website automatically so that once a new? newsletter is published this will be the one that’s accessed.I’ve tried something silly like ‘
https://websitename.com/ wp-content/uploads/newsletters/newslettername-<?php(select max().pdf'
and other variations but obviously they dont work.Any help for a novice php programmer would be very much appreciated.
Yes, I know I’ll require a pluging to display pdf’s
- The topic ‘Displaying newsletter from one website to another’ is closed to new replies.