Forums

[resolved] [Plugin: WP-Syntax] PHP code not showing (2 posts)

  1. kherge
    Member
    Posted 1 year ago #

    Using the visual editor and the plain text editor comes up with the same results.

    WordPress messes up the PHP code by removing some of it, removes the code entirely, or removes the language attribute from

     tag.
    
    What do I need to do to get this working?  I installed Role Manager and allowed authors, editors, and administrators to write unfiltered HTML.

    http://wordpress.org/extend/plugins/wp-syntax/

  2. kherge
    Member
    Posted 1 year ago #

    Used "language" instead of "lang" for attributes.

    My bad!

    Could have sworn I saw that somewhere in the docs.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags