WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] Crayon with Advanced Custom Fields (2 posts)

  1. sas313
    Member
    Posted 1 year ago #

    i read your response to a cimilar issue on github but when i applied the solution on my site the code did not hishlight.

    https://github.com/aramkocharyan/crayon-syntax-highlighter/issues/67

    i am using Advanced Custom Fields and a nested repeater field which is

    echo $row['sub_section_content']

    so i made it:

    echo CrayonWP::highlight($row['sub_section_content']);

    and still no highlighting even though the <prev> tags gets added.

    any help would greatly be appreciated. besides for this issue it has been the easiest and most succesful highlighter we have used.

    thanks-

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. sas313
    Member
    Posted 1 year ago #

    i must apologize for my post. maybe i was working too late or it was a plugin conflict. but when i tried your recommendation today it worked perfectly - in all my custom fields.

    out of all the syntax highlighters that we tried (+10 of them) this is by far the best one. the easiest to use, edit and maintain - with a ton of customization if wanted.

    thanks (and again my apologies)-

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic