Opened 3 years ago
Last modified 6 hours ago
#8561 reopened enhancement
Allow Custom Logo in Email Header, and allow Header and Footer to accept HTML Content
Reported by: | gamicord | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 9.1.1 |
Component: | Core | Keywords: | needs-design-feedback |
Cc: |
Description
I downloaded and installed a simple Email Template plugin that I like. Here’s the link– (https://wordpress.org/plugins/email-templates/)
The only difference between that one and BuddyPress is that it let’s us add our Custom Logo: which is good for branding.
1.) Can BuddyPress add this functionality to make it possible for us to add our Logo by default?
2.) Can BuddyPress make it possible for the Header to accept HTML Content?
This will be good for us to achieve more flexibility and control.
If BuddyPress will take it a step further, it should make it possible for us to pull dynamic Content into the Header and Footer, and then be able to style these with plain CSS.
a.) Add icons or Logo to Email Footer.
b.) Add your Social Media handles to Footer.
c.) Move the “Subscribe” text to Left, Middle or Right position.
d.) Use HTML on Header and Footer, to add certain elements like Dashicons, Font Awesome icons, and so on.
e.) Make the Email Template a Drag-and-Drop Feature built with Blocks, and can be saved as Email Templates.
Thanks for your understanding in implementing this request.
Change History (3)
#1
@
3 years ago
- Milestone Awaiting Review deleted
- Resolution set to maybelater
- Status changed from new to closed
#2
@
12 months ago
Your answer is helpful, but not very helpful.
What this means, is that-- for those who are strong Developers and can write PHP, and know much about Template overrides, your answer would have led them on the right path of how to solve their problem.
But for those who are Dummies, and know nothing about writing the first line of PHP, and know nothing about Template overrides, your answer will leave them more confused and lost than ever.
I am asking for a default feature in BuddyPress Core-- where we don't need to do anything extra to get our BuddyPress Email Header to natively accept our Site Logo either through Tokens or Short tags like {site_logo}.
You see, in WordPress, we simply go to Customizer. And under Site Identity, we choose Site icon, Site Logo, Tagline and all such--- without needing extra Code snippets, Template override and any other whatnots.
I am asking that BuddyPress 12.0 should function in similar way-- where in the Settings, we should just normally add Static or dynamic contents like {site_logo} in the Header, and this should normally fetch the Site Logo, without us needing extra Code snippets, Template override and any other whatnots.
Since May 2009 of BuddyPress' release, this is 14 Years that BuddyPress has been serving us plain Email Header.
in BuddyPress 12.0, this stance should change. It's time for BuddyPress to advance and evolve its Email Templates, and give us ability to now add our Site Logo in our Email Header, as well as the ability to add Site Logo and other dynamic contents to our Email Footer as well.
2.) I saw this Code on Github---- https://github.com/imath/bp-email-header-logo/blob/master/bp-email-header-logo.php
is this Code still relevant for BuddyPress 12.0 ? --- and can I insert it into my Live website to have the Email Header Logo on my BuddyPress 12.0 powered website?
Hi,
You can already achieve a, b, c, d by overriding the email template from your active theme. You simply need to copy the
bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php
file into a/buddypress/assets/emails/
directory of your theme. Once there you can do your edits.About e) I believe we'll first try to do this for regular BuddyPress content when the WP FSE feature will be stable enough. I'm unsure we'll do it for email templates. Of course if someone want to contribute to BuddyPress to add it, we'd be very happy.