Comments 2noorin started the conversationMarch 31, 2017 at 5:30amI 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 workhttps://en.support.wordpress.com/code/posting-source-code/ 2noorin repliedMarch 31, 2017 at 5:39amNever mind, found a couple of plugins. Thanks anyways. noorin replied privately 2noorin repliedMarch 31, 2017 at 8:16amFor 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,845Elated repliedApril 4, 2017 at 3:53pmHello,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.1 Like Sign in to reply ...
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/
Never mind, found a couple of plugins. Thanks anyways.
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/
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.