Read more tag behavior change?

  • Unknown's avatar

    I’ve noticed that the read more tag behavior has changed. I routinely post/edit in HTML mode, and I’ve always placed the <!–more–> tag just inside a <p> tag. That way, I get a blank line after the last paragraph I want to show on my main pages before the “Read more of this post” line.

    But that no longer works. It seems something has changed so that this is no longer allowed.

    What this has done is add an additional blank line in my posts, which looks unprofessional to me.

    This is a problem on WordPress.com blog, http://frozenroyalty.net and will be a problem for the next post on my other WordPress.com blog, http://blog.manzanarcommittee.org.

    Am I going to have to live with this, or is this a bug? If it’s the latter, I hope it can be fixed. Thank you.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I have tagged this thread with “Bugs” so you should get an answer faster.

  • Unknown's avatar

    Wow…no response from WordPress.com support yet?

  • Unknown's avatar

    Hi there,

    I just took a look at each of your sites and both of your “Read More” links are one line below the previous paragraph, which from your description is where you would prefer it to be.

    Let me know if this behaviour isn’t matching what you’re seeing on your end!

  • Unknown's avatar

    Actually, the behavior is as expected on http://blog.manzanarcommittee.org. However, on http://frozenroyalty.net, the editor won’t let me put the more tag just inside a <p> tag.

    When I try to do that, once I click on “Update,” the editor automatically changes it to <p></p><!–more–>.

    That generally creates an extra blank line in my blog posts.

    I find it rather odd that this is only happening on one of my blogs.

  • Unknown's avatar

    I’m also having trouble with the “more” tag. I posted about this on Nov. 16.

    https://en.forums.wordpress.com/topic/the-read-more-function-is-not-working-properly-with-the-use-of-blockquote

    Still waiting to hear from a support person.

    Thanks, in advance.

  • Unknown's avatar

    Placing the “more” tag inside of other html tags will cause formatting issues. If you were placing the tag inside a paragraph tag pair (or a blockquote tag pair) then WordPress.com will try to correct it. There have been many questions on these forums about sidebars on the bottom, or other serious broken theme problems because the “more” tag was placed incorrectly.

    If the More Tag is inserted after writing a post, formatting errors can occur. The issue occurs when you insert the More Tag using the visual editor, but it is actually placed within another HTML tag.

    As an example:

    <strong>Oh man, this post is messed up.<!--more--></strong>
    http://en.support.wordpress.com/splitting-content/more-tag/#toc

    The example shown in that support article uses strong tags, but the problem will occur with any other tags: div p table blockquote and so on.

  • Unknown's avatar

    The behavior I described above has worked just fine for years…until last week, and it works for one of my blogs, but not for the other, which leads me to believe something broke on a recent update on your end.

  • Unknown's avatar

    The wp.com software is properly correcting the “mis-use” of opening and closing tag pairs. This is not a bug!

    When I try to do that, once I click on “Update,” the editor automatically changes it to <p></p><!–more–>.

    Try using this code:
    <span style="color:#ff0000;">Mis-placed opening and <strong>closing tags will cause formatting</span> problems.</strong>
    and WordPress.com will fix it automatically like so:
    <span style="color:#ff0000;">Mis-placed opening and <strong>closing tags will cause formatting</strong></span> problems.
    This is what I intended it to look like:
    <span style=”color:#ff0000;”>Mis-placed opening and closing tags will cause formatting</span> problems.
    But this is what the correction does, because my code had incorrect placement of opening and closing tags:
    <span style=”color:#ff0000;”>Mis-placed opening and closing tags will cause formatting</span> problems.

  • Unknown's avatar

    Oh, sorry, the forum code does not allow for color style.

  • Unknown's avatar

    Misplaced opening and closing tag pairs will cause formatting problems.
    Here it is properly coded:
    <em>Misplaced opening and closing tag <strong>pairs will cause</strong></em> <strong>formatting problems.</strong>
    WordPress fixes this code:
    <em>Misplaced opening and closing tag <strong>pairs will cause</em> formatting problems.</strong>
    like this:
    <em>Misplaced opening and closing tag <strong>pairs will cause</strong></em> formatting problems.
    so it looks like this:
    Misplaced opening and closing tag pairs will cause formatting problems.

    As for why one of your “more” tags does one thing on one blog and apparently another on the other? Are you using the visual editor or the text editor?

  • Unknown's avatar

    I’m having similar problems with the “more” tag. I’ve put the “more” tag after the first paragraph within a blockquote for several years until just a few days ago.

    Did something change on WordPress?

    Here is an older post with the “more” tag working fine within the blockquotes.

    Chris Hedges: Detention of David Miranda on Terrorism Charges Amounts to the “Criminalization of Journalism”

    Here is a newer post where the “more” tag was moved by WordPress (not me).

    Growing, Harvesting and Eating the Jerusalem Artichoke

  • Unknown's avatar

    I’ve added a modlook tag here so staff can take a look at both of these issues. Subscribe so you’ll be notified when there is a response.

    It might be that they have fixed was actually a “bug” with the more tag and not good coding practice. Inner tags are always supposed to be closed inside of outer tags.

  • Unknown's avatar

    I’m looking in to what changes might have been made in the past few days and whether they could have affected the more tag in such a way. I’ll let you know as soon as I have any additional information.

  • Unknown's avatar

    Thank you amightywp!
    I do remember many posts a while ago where this was a problem: the placement of the “more” tag within other tags.
    The sidebar would end up on the bottom because of the misplacement of open / closed tags (html) so it was an issue.

  • Unknown's avatar

    I’m having the same problem (the more tag adds an extra blank line in the posts). I’ve tried placing it outside any blockquotes and I still get that paragraph line (older posts didn’t behave like this). Is there any way I can erase the blank line and paragraph until this issue is fixed?

    The blog is http://projetoautoretrato.wordpress.com/

    thanks,
    Sandra

  • Unknown's avatar

    I seem to have fixed my problem (sorry for bothering you). There’s a new checkbox (or at least I don’t remember it being there) in the writing settings “WordPress should correct invalidly nested XHTML automatically”. I unchecked it and everything went back to normal.
    once again sorry for the post.
    S.

  • Unknown's avatar

    I’ve seen that setting before, but I don’t remember ever enabling that setting, yet it was enabled for the site that I was having problems with. Unchecking that box has fixed my problem. Thank you for posting that!

  • Unknown's avatar

    I’m using inove theme. The More Tag appears in a post in back office but not in the front office.

    I’m using <!–more–> code to test the post with no more html code.

    What’s wrong ?
    Thank’s for the answers.

  • Howdy all,

    We have reverted the change that caused this, so everything should return to normal. This was a change that occurred “upstream” in the WordPress.org software that powered all WordPress sites.

    If anyone is feeling particularly geeky you can follow along on the conversation about the feature at http://core.trac.wordpress.org/ticket/6297

    Cheers!

  • The topic ‘Read more tag behavior change?’ is closed to new replies.