soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

the_excerpt() is not working for posts built with oxygen builder NOTE: BREAKS SEO PLUGSINs AS WELL #1933

Closed mavriq-dev closed 3 years ago

mavriq-dev commented 3 years ago

Describe the bug I used Easy Post to create a post page. Gutenburg posts show excerpts automatically. Oxygen posts are blank. They work if you manually enter text in the excerpt box.

Have you tried all the steps at https://oxygenbuilder.com/documentation/troubleshooting/troubleshooting-guide/? Yes

Are you able to replicate the issue on a Sandbox install at https://oxygenbuilder.com/try? Yes

http://outstanding-salamander.w6.wpsandbox.pro/

To Reproduce Steps to reproduce the behavior:

  1. Create a post using gutenburg with some text.
  2. Create a post using Oxygen builder.
  3. Create a "post page" using Easy Post.
  4. Only the Gutenburg post has any text from the excerpt.

Expected behavior Excerpt text should be generated automatically if manul text has not been set.

What actually happens no text is generated. Even if you change to the_content() in the PHP template it still outputs nothing.

Screenshots 2021-02-22_16-38-26

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context None

mavriq-dev commented 3 years ago

Also breaking SEO plugins as they don't seem to be reading the text correctly. Both Rank Math and Yoast are giving incorrect advice. For example, only claiming keywords appear once when there are many times more appearances than that. The one it does see is from the page title which appears in Gutenburg...

KittenCodes commented 3 years ago

Only the Gutenburg post has any text from the excerpt.

This is because Oxygen-designed posts don't have any content in the Content area, or in the Excerpt box. You would need to add some text to one of those boxes for the snippet to appear when using the Easy Posts element.