Wrap the code in the <code> or <pre> tags, depending on whether it’s an inline snippet or a block of code.
Also, search the web for “wordpress syntax highlighter,” which will tell you about several wordpress plugins that can color and style code elements for various programming languages.
Finally, the WordPress StackExchange site will probably have some great answers for you: https://wordpress.stackexchange.com/
Related Posts:
- How do I get WooCommerce to automatically recreate pages? [closed]
- Syntax highlighting for post/page editor [closed]
- Recommended eCommerce Plugin for a T-Shirt Sales Business? [closed]
- Is there a good plugin for an online booking system..? [closed]
- InDesign to WordPress workflow
- Send email when a new post is published [closed]
- How to transfer a WordPress blog to a different domain?
- Membership / subscription plugins – alternatives [closed]
- How to work with Syntax Highlighter Evolved?
- insert data in database table from plugin with WP3.1
- How Does WordPress Uninclude/Deactivate A Plugin?
- Content generator for development site [closed]
- Library plugin for WordPress [closed]
- Markdown in WordPress 3.2?
- Integrating Google Maps with custom marker and hover?
- Auto-post to multiple sites like Posterous? [closed]
- Network-Wide Plugin Settings Management
- Image Crop/Resize Function/Code Sinppet/Plugin to adjust/crop images during upload
- Subscribe2 Configuration
- Recommendationf for Quiz Plugin that saves results [closed]
- Plugin to restrict login and unpublish content from an author
- WordPress Plugin for One-Time Event Registration? [closed]
- recommended breadcrumb plugins with possibility for hiding “Home” link [closed]
- A reliable AdSense plugin. Does it exist? [closed]
- Is there a good plugin for social bookmarking on site for WordPress [closed]
- Automagic Link Shortening for Non-Hosted WP
- plugin suggestion for barcode
- Peer Review Plugin for Posts? [closed]
- How to restrict an entire WordPress site to visitors, but the register and login page?
- Is it possible to integrate WordPress *posts* and social media (Facebook, Google+, Twitter)? [closed]
- Good website screenshot plugin [closed]
- I need to have two 1-5 star rating fields, only editable by admins. Which plugin should I use?
- Let user subscribe to specific categories
- Display comments of users on single page
- Is there a way to alter the order in which the plugins appear in the page?
- How can I implement a notification system in wordpress?
- How to get a Jewish/English event calendar on a page in WordPress?
- Simple plugin for showing RSS subscription links?
- Front End Plugin for User Management [closed]
- Getting selected (highlighted) html from the Visual Editor on Edit Post page?
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- How to make a customize role and view a specific plugins base on that role?
- Woocommerce plugin for minimum order and add-to-card-step
- How can I disable widget from being visible on some pages?
- Information and Videos for Customers in the Backend [closed]
- How to create an archive page (with links) for a date range?
- Multiple instances of nivo slider plugin
- What plugin should I use for booking events and receiving payments? [closed]
- LinkedIn Social Wall | Is there a plug-in (Free / Paid) to display a LinkedIn feed in a social wall (not just a feed)?
- Trying to create a private area custom for each user where they upload images to a server [closed]
- WordPress plugin/theme or other wayout to create portable pages?
- Is there a premium plugin for appointment reservation? [closed]
- Is there a WordPress plugin that can post to Google+? [closed]
- Limit the amount of words displayed by the Latest News plugin, or recommend an alternative [closed]
- Need a wordpress plugin to show tutorial difficulty [closed]
- Plugin to hide image in excerpt
- Allow customers to download updated versions of software
- syntax highlighting and
- HelpDesk solution for WordPress [closed]
- Can I use Symfony components in a plugin that I want to submit to the WordPress plugin repository?
- Fullscreen gallery plugin [closed]
- Short messages widget [closed]
- breadcrumb need to show all pages and subpages
- Free paypal cart solution [closed]
- How to use existing hook in twentytwelve to all theme of wordpress?
- Displaying syntax highlighted code [closed]
- Mass Mail Plugin to Email Specified User Roles [closed]
- WordPress Membership Plugin Advice [closed]
- Using Amazon Book Gallery Plugins in WordPress [closed]
- Displaying number of drafts in Posts section of admin sidebar [closed]
- How to get Facebook comment plugin in blog? [closed]
- Specific plugin for custom user information access? [closed]
- Plug-in that shows x number thumbnails from another post
- Plugin to create unlimited custom shortcodes?
- Is there any plugin to show number of clicks on the link?
- Create survey that redirects to sidebar menu customized to answers
- How to put a maximum real-time users limit
- Plugin to manage form submissions on admin panel
- Scheduled emails to include only posts and calendar events for the upcoming week
- Custom content per post in widget
- E-commerce-like solution [closed]
- is ther a plugin that will hide/show content for a scheduled period of time? [closed]
- Can someone please help me find a solution to my youtube embed problems? [duplicate]
- Automatically send an email to list when blog is updated
- Allow users to enter and edit data in one-to-many configuration
- Display Facebook photo albums and photo comments?
- Can Shopp Commercial Plugin be hacked to display radio buttons instead of Dropdowns? [closed]
- How do I copy files I downloaded from the wayback machine to my new site?
- wordpress Search function is not working
- booking form with availability calendar [closed]
- Simple Amazon Affiliate Plugin [closed]
- WordPress Plugin for Maps of specific Tweets? [closed]
- contact form 7 captcha support anyother captcha plugin? [closed]
- Social network plugins for WordPress [closed]
- Need a Plugin to create a registration form for my website? [closed]
- Helpdesk solution which is not form based
- Slider Plugins for header [closed]
- registration plugin [closed]
- how to make wordpress remember my choice
- I’m getting the following error: Fatal error: Uncaught Error: Call to undefined function oil_paint_regeneration() [closed]