Support » Plugin: WP-SynHighlight » [Plugin: WP-SynHighlight] Remove title block and info link

  • Resolved Galerio

    (@galerio)


    Hi,
    how can I remove the block bar with the “Source code” title and the other buttons (info, print and view code)?
    Or, can you add a “copy” button on that bar? It can be more useful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author FractalizeR

    (@fractalizer)

    For editing template please check
    \wp-content\plugins\wp-synhighlight\themes\default\block_template.php file.

    The addition of a Copy button is a little bit complicated because modern browsers do not allow direct clipboard manipulation and you ought to use such ways as Flash embedding and others…

    Thread Starter Galerio

    (@galerio)

    Ok, found, thanks.

    Your plugin is really great, it is the only one that doesn’t have conflict with my theme and other plugin, and now that I have removed the Head bar, I have also removed the only one .js that uses.

    How can you make this magic? It’s incredible to see a syntax hilighter that doesn’t inject any js file in the html!!!

    Really, GREAT!!!!

    Plugin Author FractalizeR

    (@fractalizer)

    Thanks, I’m flattered 😉

    Magic is php 😉 Highlighting is done in PHP, not in JS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-SynHighlight] Remove title block and info link’ is closed to new replies.