[SOLVED] Remove "Posted on [date]" from newsletter text
Hi!
So, I use weekly newsletter with excerpts, which all works perfectly fine.
However, as the first line under the title of each post entry, there is some whitespace, a line stating when the post was made, and then some further whitespace before the content begins.
To aid readability, I would like to remove the 2x whitespace and the sentence regarding post date.
Can this be done?
Kind regards,
Rasmus
Comments
The "Posted on..." date appears below the subject of each post created with the [wpmlposts...] shortcode. This can be removed by adding the 'showdate' parameter with value "N" to the shortcode like this [wpmlposts showdate="N".....].
I trust this will solve both the date and whitespace issue, but would you please just confirm that?
Best Regards,
Phil
You could simply edit the file /wp-mailinglist/views/default/latestposts.php if you wanted to (but keep a backup copy of the edited file on your PC for future plugin updates).
Alternatively you could make a duplicate copy of the entire /default/ folder, name it anything you want, edit the latestposts.php file and then select that folder as your working theme in Newsletters > Configuration > General > Theme, Scripts & CSS. Once again though, I would suggest keeping an offsite backup copy of the theme in case of plugin updates (which would delete your custom theme).
I hope this helps? Please let us know if this worked for you.
Best regards,
Phil