Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #1119228
Displaying Source Code in Posts
Closed

Comments

  •  2
    noorin started the conversation

    I am attempting to display code in posts using the following snippet but it is still being displayed as regular text

    [code language=”css”]

    #button {
    font-weight: bold;
    border: 2px solid #fff;
    }[/code]

    [code language=”objc”]

    //comments 

    [/code]


    According to WordPress, it should work

    https://en.support.wordpress.com/code/posting-source-code/

  •  2
    noorin replied

    Never mind, found a couple of plugins. Thanks anyways. 

  •   noorin replied privately
  •  2
    noorin replied

    For anyone else who might have this question, I ended up using this plugin, there are plenty of plugins out there but this did the trick for me. 

    https://wordpress.org/plugins/crayon-syntax-highlighter/

  •  1,845
    Elated replied

    Hello,

    We're glad you found it. Let us know if you need anything else!

    Thanks


    The Elated Support Center has been moved to our centralized support platform. 

    Please note that any existing tickets prior to this change will be answered right here on Ticksy, and in due time. 

    If you wish to submit a new support request, for all new inquiries please head on to our Help Center.

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.