WordPress.org

Ready to get started?Download WordPress

Forums

Line Break Added With More Quicktag (4 posts)

  1. cpoteet
    Member
    Posted 9 years ago #

    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?

  2. zeeg
    Member
    Posted 9 years ago #

    do you mean the quicktags.js or whatever?

  3. cpoteet
    Member
    Posted 9 years ago #

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

  4. tsguitar
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.