WordPress.org

Support

Support » Plugins and Hacks » Line Break Added With More Quicktag

Line Break Added With More Quicktag

  • There are posts in this forum concerning using the <!–more–> link to go to the top of the page, but I like the functionality it currently has; but my issue is that it adds a link break on the article page thereby giving it a gap.

    Which document controls this insertion of code through the quicktag?

Viewing 3 replies - 1 through 3 (of 3 total)
  • do you mean the quicktags.js or whatever?

    No, the more tag is being processed and adding an extra line break. < br / > tag.

    You can modify this. Check inside of template-functions-post.php. I wrote a bit about it here:
    http://thisis.toddseal.com/2005/quicktag-modification/

    I only post the link because it might be a helpful one to modify this quicktag. Let me know if that helps you out. I didn’t mention this modification specifically (yet), but I did do it, so I know that what I mention on that page is close to where you make the changes for it to display a BR tag or not.

    I didn’t like the BR tag either, as that tag is set to be phased out anyhow. I replaced that BR with a <p class=”more_link”> and I set the padding how I wanted it on that paragraph break, instead of the BR tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Line Break Added With More Quicktag’ is closed to new replies.
Skip to toolbar