Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: 4.4 extra <p tags?

    I don’t know if this helps anyone, but I simply removed the wpautop function from the plugin and this gave me the formating that I needed.

    I simply want a bunch of dense, short single line asides and this removes the <p> added by the wpautop function and I added a <br> after the sidebar formating via the plugin option page.

    Change line 142 from

    $replacements[] = wpautop($sideblog_content->post_content);

    to

    $replacements[] = $sideblog_content->post_content;

    This may well break other things, but works for me.

    Thread Starter shawnday

    (@shawnday)

    OK. Colour me inattentive.
    Discovered that I mixed the “‘” with a “`” around the URL parameter and thus for whatever reason, bloginfo returned both the URL and the Name. Harmonized the “‘” and solved it.

    Lesson: watch the copy and paste.

Viewing 2 replies - 1 through 2 (of 2 total)