Support » Everything else WordPress » Displaying (readable) code in pages?

  • Hi, I’m trying to show code on pages but have been unsuccessful so far!! I’ve tried various plugins but they seem to be for posts only, and simply entering ‘code’ or ‘pre’ tags leaves me with either code that goes straight off the page or is full of spaces and ugly “

    I’m testing it out on this page:

    And I’d prefer to find a solution that would fit with my blockquote usage if possible.

    Could anyone point me in the right direction please?? I’d just write it as a post if it were one page, but I have a lot of tutorials I’m in the process of recoding and I need a page solution.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am using KB Backticks Comments, which works for both posts (when disabling the visual editor) and comments. Just tested it on a page, and it works fine.

    Thanks for the suggestions guys but neither of those worked.

    Backticks comments did technically work but displays in a horrible textarea/textarea looking scrollable box instead of displaying as in the examples, and also it messed up my page editor in the admin panel, even though I have the visual editor disabled.

    WP-Syntax just has the same problem with the code displaying on one line across the whole screen.

    So I’m thinking it must either be a problem with my layout or with a conflicting plugin?

    Thanks for the suggestions guys

    Oops I believe you need to rephrase that statement on gender 😉

    I had no problem with the examples described at the wp-syntax plugin page using the WordPress Default theme. No other plugins installed.

    re: rephrasing… lol!

    Regarding the kb-backticks plugin, my page editor works fine, so I don’t know what could have caused the problem in your case.

    The look of how it displays can be changed, as I did, by editing to your liking the background color and other css stuff, in the one and only php file of the plugin. Just in case you want to give it another try.

    I’ll try it on another blog I have which has very little editing and see what happens.

    It was just a generic ‘guys’, didn’t mean to imply gender, sorry if I offended anyone!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Displaying (readable) code in pages?’ is closed to new replies.