WordPress.org

Ready to get started?Download WordPress

Forums

Front-end Editor
this is way fucking cool (3 posts)

  1. kato
    Member
    Posted 3 years ago #

    I'm loving this plug in. It saves so much time for editing and re-editing posts - which I do a lot.

    The only problem I'm having is with html tags. (I've already disabled the wysiwyg editor checkbox.) And it's working fine except < and > are being converted.

    Is a way to pass them through as their original brackets?

    http://wordpress.org/extend/plugins/front-end-editor/

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Could you paste some example input and the expected, as well as the actual, result?

  3. kato
    Member
    Posted 3 years ago #

    Sure! Thanks for asking.

    The > is getting converted to & gt;
    and the < is getting converted to & lt;

    Here's a sample piece of text where this is happening:
    (Note: the php tags are shortcode to activate the "Syntax Highlighter Evolved" plug in.

    [php]
    	// turns on "featured image" for posts
    		add_theme_support( 'post-thumbnails' );
    
    		add_filter ( 'user_can_richedit' , create_function (  '' ,  'return false;')  , 50 ); 	// removes visual editor
    
    	// register three menus function register_menus() {
    		register_nav_menus( array(
    		'primary-menu'	=> __('Primary Menu'), 'secondary-menu' => __('Secondary Menu'), 'tertiary-menu' => __('Tertiary Menu')
    		) add_action('init', 'register_menus');
    
    	// here is probably how you'd modify your excerpt site wide
    
    		function new_excerpt_more($more) {
    			return 'moo'; }
    		add_filter('excerpt_more', 'new_excerpt_more');
    
    	[/php]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic