Home Support General HivePress Emails and Security

Emails and Security

  • Author
    Posts
  • jackson22

    Hey, First I like to say I love this Plugin already.

    But I have a couple of requests.

    1. I would love to make customizable HTML Emails this would help with making the emails look neat.

    2. If its not possible already : 2FA for users.

    Hope these can be added! 🙂

    ihor developer

    Thanks! If you have a minute, please rate it on WordPress.org https://wordpress.org/support/plugin/hivepress/reviews/

    1. These fields accept HTML markup so you can try adding a HTML template code there.

    2. Thanks, will consider adding this feature.

    jackson22

    I’m trying to add my HTML to the field under HivePress >> Messages but it doesn’t all fit in. How can I add it manually?

    ihor developer

    It’s limited to 2048 characters by default, but if you’re familiar with PHP you can try overriding the email content for all emails and wrap it with some HTML template (so you will not have to duplicate the HTML code in all email fields). The sample snippet below wraps all outgoing emails with a custom DIV:

    add_filter(
    	'hivepress/v1/emails/email',
    	function( $args ) {
    		if ( isset( $args['body'] ) ) {
    			$args['body'] = '<div class="something">' . $args['body'] . '</div>';
    		}
    
    		return $args;
    	}
    );
    jackson22

    I’m not that familiar with PHP, I tried my best but it didn’t seem to work.

    ihor developer

    Please try adding this snippet using this plugin https://wordpress.org/plugins/code-snippets/ Then if you’re familiar with HTML you can try wrapping the email content with any template you like. Also, the visual editing of email templates is on the roadmap.

    jackson22

    Where can I find this roadmap?

    ihor developer

    It’s a private project page at the moment, but I’ll probably make it public to prevent the feature requests for features already planned (I’m using Asana for managing HivePress).

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.