WordPress.org

Forums

Genesis Featured Widget Amplified
Spacing Suggestion (3 posts)

  1. alieneila
    Member
    Posted 3 years ago #

    I had the issue of when a post started off with multiple short lines, the lines would run together since html is stripped, so the end of one line was then flush against the beginning of another line. I saw someone else post about this somewhere while looking for a solution and saw your reply to them... I solved it on my end by using the following and thought maybe you'd be interested in implementing it... I used the following prior to the stripping of the html.

    $content = str_replace(array("\n","\r","\r\n","<br>","<br />","<p>"), ' ', $content);

    http://wordpress.org/extend/plugins/genesis-featured-widget-amplified/

  2. Nick the Geek
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the recommendation, since I'm pulling the genesis_content_limit() function via the Genesis Framework this change would have to be implemented via the Framework. It will dramatically change the way tens of thousands of sites look, however, so it is not likely to be changed.

  3. alieneila
    Member
    Posted 3 years ago #

    Ahh yeah... I forgot I also added a custom_genesis_content_limit(), so I figured since this was an amplified version of the original widget that you might have done something similar. =P Ahh well, maybe it'll help someone =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Featured Widget Amplified
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.