• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Pre-formated code issue with Magazine Pro Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Pre-formated code issue with Magazine Pro Theme

This topic is: not resolved

Tagged: coding, pre formated

  • This topic has 3 replies, 3 voices, and was last updated 7 years, 8 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 18, 2017 at 2:40 pm #212658
    pinkopanter
    Member

    I use Magazine Pro Theme and when I try to insert pre formated code I get this mess.

    bad-format

    How to make it look like this?

    good-format

    http://www.wpessentials.net/pagination-broken-need-help-fixing/
    October 18, 2017 at 3:11 pm #212662
    carasmo
    Participant

    On the front end, in the editor, to display code to share you would put the code that escaped (the one in the first screen shot) in between <pre></pre>tags.


    Genesis Theme Customization and Help

    October 19, 2017 at 8:05 am #212684
    pinkopanter
    Member

    If you look in the page source I do have the <pre><code> and </code></pre> tags in front and at the end of the code. However, the Theme is not translating the HTML correct.

    October 21, 2017 at 8:35 am #212782
    Victor Font
    Moderator

    You don't need pre and code both. Use one or the other. As Christna said, on the front end, the first example will look like the second example if you use pre alone.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble