WordPress.org

Ready to get started?Download WordPress

Forums

Allow HTML in Category Descriptions
[resolved] Tag Pages (7 posts)

  1. nickaster
    Member
    Posted 3 years ago #

    Hi Arno, this is a great plugin. Will it work for Tag Descriptions too? It seems to partly work for me, but still strips out <p> tags for some reason!

    http://wordpress.org/extend/plugins/allow-html-in-category-descriptions/

  2. Arno Esterhuizen
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, as far as I know newlines are automatically used to split the text into paragraphs. Is this your experience as well?

    Can you send me some samples or a place to view it?

    Cheers
    Arno

  3. nickaster
    Member
    Posted 3 years ago #

    Cool! Well, yeah, it does seem to work, but it's stripping the p and br tags. Here's an example:

    http://www.triplepundit.com/topic/health-wellness-series

    The area at the top is coming from the tag description (including the banner image). Note there are no paragraph breaks. I've tried all kinds of crazy things including putting <div> around them with margins and stuff. Nothing works.

  4. Arno Esterhuizen
    Member
    Plugin Author

    Posted 3 years ago #

    Can you post the code you put into the category description? I can see paragraphs in the current output.

  5. nickaster
    Member
    Posted 3 years ago #

    Sure! Here it is... so, obviously *some* of the code comes through, but it's impossible to get any space between paragraphs. I've tried to add stylesheet info - both by making up classes p class = whatever, or divs, and using multiple br tags... using stylesheets both embedded in the description and remote... nothing works. Very odd.

    <img src="http://www.triplepundit.com/wp-content/uploads/2011/03/health-wellness-banner.jpg">
    <br /><br />
    Food, health and fitness organizations face increasing expectations to align their internal practices with the implied benefit of their products.  Are these businesses ensuring the sustainability of their own operations?  What responsibility or role do they have in helping customers lead healthy and active lives, and what barriers must they overcome to assume this role? Join us in tackling these questions through our series, <strong>Great Expectations</strong>, where we will explore the challenges and successes of companies working to walk the talk in helping us eat, play, and explore in a more sustainable fashion.
    <p>
    <strong>Guest Editors:</strong>
    Dana Ledyard is an avid hiker, explorer, and marathoner, and when not hitting the Bay Area trails she can be found pursuing courses in sustainability and CSR at UC Berkeley's Haas School of Business.
    
    Becky Eisen has a background in social enterprise consulting and leading national anti-poverty campaigns.  She is currently pursuing her MBA at the University of Maryland, Smith School of Business.
    
    Izabel Loinaz is founder and CEO of Spring Partners Inc., the parent company of Spring Pilates & Yoga in San Francisco.  She is a certified GRI sustainability reporter and is developing a sustainable business consultantcy for the sport, fitness and athletic industry.  Izabel is currently Sustainable MBA candidate at Presidio Graduate School.</p>
  6. nickaster
    Member
    Posted 3 years ago #

    It's totally nuts. Even if I place a whole giant DIV around it all, which doesn't get stripped, it seems to have no effect!

  7. nickaster
    Member
    Posted 3 years ago #

    ha! I found a hack solution. If I just at &nbsp; on its own line, then things work. Still kinda drives me nuts, but at least the problem is sorta solved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic