Is there anyway to automatically add some text to a blog post when it's published? I have some standard text with links to twitter/facebook etc (about a paragraph worth) that I copy/paste onto the end of each blog post - it would save a bit of hassle if there was some way to just automatically attach this text when publishing a blog post.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
General
Solved by Clive Beckett View solution
I‘m not quite sure I understand you correctly, but I guess I would add such things to the template file. Although that probably only works if you had were using your own theme.
That sounds like the best option, thanks. I was trying to think of a twig or php solution but didn't actually think of the simplest option of just editing the template file.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 80 | 10 hours ago | ||
| 1 | 51 | 15 hours ago | ||
| 0 | 45 | 1 day ago | ||
| 6 | 346 | 5 days ago | ||
| 3 | 40 | 5 days ago |