• 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

Text formatting gone on featured post and page

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 › Design Tips and Tricks › Text formatting gone on featured post and page

This topic is: not resolved

Tagged: content, Excerpt, formatting

  • This topic has 5 replies, 2 voices, and was last updated 9 years, 4 months ago by Boblebad.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 10, 2013 at 10:51 am #61694
    Boblebad
    Participant

    HI

    I have had this problem for some time now, and it's a bit annoying cause the front page of the site looks like a junkyard of words.

    I use the Delicious theme, and use featured post in the Home Left, and when using excerpt or content limit, all formatting is gone.

    In the footer i use featured page, _no_ use of excerpt or content limit, but still all formatting is lost.

    I use Genesis 2.0.1, i use the build-in Genesis show featured post and page widget.

    I was told by adding this code here https://gist.github.com/braddalton/5995879#file-custom-genesis-content-limit-html-allowed-tags-php it would sort out my problems, but it didn't.

    How can i get the formatting back, or how can i not loose it in the first place ?

    http://www.gittehovmand.dk/

    All the best
    Carsten

    http://www.gittehovmand.dk/
    September 10, 2013 at 3:40 pm #61773
    Anita
    Keymaster

    You are using the Excerpt function which strips out all formatting and HTML coding. Follow Brad's instructions here - http://wpsites.net/wordpress-tips/add-back-html-tags-stripped-from-content-limit-excerpts-in-wordpress/. This should help.


    Love coffee, chocolate and my Bella!

    September 11, 2013 at 12:45 am #61844
    Boblebad
    Participant

    Thanks for your reply anitac

    But as i wrote, i can't get Brad's code to work, it does not give me back my formatting.

    What i think is, that it has to do with the widget that holds the featured post or page, cause as i also wrote, the pages showed at the bottom, aren't excerpts, and still all formatting is stripped ?

    September 11, 2013 at 8:45 am #61924
    Anita
    Keymaster

    When I saw the link to the Gist, I didn't realize that it was the same code as on his website.


    Love coffee, chocolate and my Bella!

    September 11, 2013 at 2:16 pm #62002
    Boblebad
    Participant

    Can someone please try to explain to me what is going on here, and why putting in that code doesn't work ?

    September 13, 2013 at 1:16 pm #62326
    Boblebad
    Participant

    So now i'm stuck again, like the last two times i asked this question.

    Isn't there anyone who has an idea about what's going on, and what i can do to get my formatting back ?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2023 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