Support » Plugin: Genesis Featured Widget Amplified » [Plugin: Genesis Featured Widget Amplified] Spacing Suggestion

  • 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);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick the Geek


    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.

    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 =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Genesis Featured Widget Amplified] Spacing Suggestion’ is closed to new replies.