• Home
  • Documentations
    • Phlox WordPress Theme
    • Phlox Pro WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress Pro
    • Master Slider WordPress Free
    • LOTUS WordPress Theme
  • Video Tutorials
    • Phlox ? Video Tutorials
    • Master Slider WP Pro
    • Master Slider WP Free
    • Master Slider jQuery
    • Lotus ? Video Tutorials
  • FAQ
    • General Questions
    • LOTUS WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress
    • CUTE Slider
  • Knowledge base
    • Beginners
    • Advanced Techniques
    • WordPress plugins
  • Support Forum
    • Login Or Register
    • Support Forum
    • Support Policy
Averta Support Center
  • Home
  • Documentations
    • Phlox WordPress Theme
    • Phlox Pro WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress Pro
    • Master Slider WordPress Free
    • LOTUS WordPress Theme
  • Video Tutorials
    • Phlox ? Video Tutorials
    • Master Slider WP Pro
    • Master Slider WP Free
    • Master Slider jQuery
    • Lotus ? Video Tutorials
  • FAQ
    • General Questions
    • LOTUS WordPress Theme
    • Master Slider jQuery
    • Master Slider WordPress
    • CUTE Slider
  • Knowledge base
    • Beginners
    • Advanced Techniques
    • WordPress plugins
  • Support Forum
    • Login Or Register
    • Support Forum
    • Support Policy

Looking for the answer

  • Home
  • Phlox Pro WordPress Theme
  • Shortcodes
  • Adding a Code to Display any Code in the Content

Adding a Code to Display any Code in the Content


Use Code shortcode to display a source code in a stylish way. You can add the Code shortcode, then fill in its attributes. Available options will be explained below.

code

[aux_code language="javascript" theme="tomorrow" title="Title" extra_classes=""]insert your code here[/aux_code]

Recommended: To see the demos of Code, check out this link.

Option Default Value Values and Description
title “Title” Write a header title here.
language “javascript” “javascript”

“html”

“xml”

theme “tomorrow” “tomorrow”

“dark”

“far”

“googlecode”

“github.com”

“monokai”

extra_classes ” “ Add your custom CSS class names here, to style particular content element differently.

Was this information helpful?

Submit
Previuos Step
Related articles list
Create New Support Ticket

Maybe You're Searching For These

Introducing Phlox
Phlox Code
Phlox Accordion
Phlox Divider
Customizing Shopping Cart Dropdown Menu
Phlox Button
Phlox Quote
Enabling Wheel Navigation
Copyright © 2017 Averta. All rights reserved.