0

I published a post last January 3 and it went out fine. Now, I published a post again but the site only displays the title and not the content. This is the first time that this happened to me. Do you have any idea why this happened?

I don’t use any plugins and I use a free theme.

  • My site is lesternubla.wordpress.com if you want to take a look at it. The visibility is public on the settings. I am pertaining to the ‘Resiliency’ post. – Lester Nubla Jan 13 at 17:10
  • 2
    You should contact wordpress.com support! – Tom J Nowell Jan 13 at 17:16
  • 2
    Also, for some reason, every paragraph contains a <span> tag with line height 0 and display none CSS styles – Tom J Nowell Jan 13 at 17:18
  • 2
    FYI looks like you may have copied the text from somewhere else (i.e. another web-page directly), and it has brought in the markup. The marker rangySelectionBoundary seems to refer uniquely to a WYSIWYG editor for AngularJS named textAngular and is related to an issue here. If you are copying from a document editor or a HTML page directly, try "pasting as plain text" in the future to remove foreign markup and styles. – Adam Jan 13 at 17:39
2

Your content is there BUT hidden from view via CSS styles.

Normally wouldn't provide an answer for this, but it may be helpful to others as it is not uncommong.

This is usually due to CSS styles in external stylesheets, inlined in your <head> in of the html document (template header) OR more commonly as inline styles on your content which contain elements such as <div>, <span> and <p> (among) others wrapped around various pieces of your content.

In your case it is <span> tags

See below:

enter image description here

Solutions

If you are using the default WordPress content editor:

  • switch to the Text tab instead of the Visual tab and remove the span tags OR at least the display:none property.

If you are using something else like a page builder:

  • the process should be similar but you may need to consult their documentation

By the look if it, you are not though.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.