• Resolved speakoutenglish

    (@speakoutenglish)


    Hi there

    I’ve been looking for a front end user notes plugin for a while.

    What features do you plan for the future?

    I’m hoping you will add some options to remove the print button and rich text editor.

    I tried it with my theme and I’m not sure where the print button is getting it’s css from, it looks like a full width form field. There is no spacing between the note and the edit note button so it would be nice if there is an option to format the note box, perhaps margins, padding borders etc… I can do that with css but would be nice to see it built in.

    Thank you for the plugin.

    Iain

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author iworksolo

    (@iworksolo)

    Hi @@speakoutenglish,

    Thanks for your reply and these great suggestions. It’s possible to add custom css class in buttons. For example adding following in child theme’s functions.php will add the css class ‘my_custom_css_class’ in buttons. Changing style of this class should give you the adjustment you need.

    add_filter('private_user_notes_button_class',function(){
    return 'my_custom_css_class';
    });
    

    To remove the print button add following css in your child theme’s style.php

    input[name="edit_private_user_note"] + input[type="button"]{
    	display:none !important;
    }

    Adding following in functions.php will disable the rich editor and should make it a simple text editor.

    add_filter('private_user_notes_editor_settings',function(){
     $settings = array(
                'tinymce' => false,
    	 	'media_buttons' => false,
                'quicktags' => false 
                );
    	return $settings;
    
    });

    You can use a plugin like this https://www.ads-software.com/plugins/insert-headers-and-footers/ to add these codes easily without the need of editing child template if you want.

    Again really appreciate the suggestions, I will add some of these options in the plugin setting page at future for ease of use as you suggested.

    Thanks.

    Plugin Author iworksolo

    (@iworksolo)

    Hi @speakoutenglish,

    This thread has been inactive for a while. We are going to mark it as Resolved for now, please feel free to re-open the thread if you have any questions.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Future features’ is closed to new replies.