dudaster / ele-custom-skin

Create a skin for Elementor Pro Post and Post Archive widgets using Elementor templates
GNU General Public License v3.0
59 stars 10 forks source link

Post content not showing on the front end #134

Open vsolanic opened 4 years ago

vsolanic commented 4 years ago

Hi,

I have the following issue. When I create a loop template, the post content (items created via ACF and CPT UI) shows just fine in the back end, but when I view the page in the front end, the post content does not appear there. I saw that others had a similar issue – in my case reverting to an older version of ECS did not help. I tried also different display conditions, but no luck. I am using the following configuration:

Elementor and Elementor Pro (2.8.3) ECS (1.3.10) Advanced Custom Fields (5.8.7) Custom Post Type UI (1.7.1) Hello Elementor Theme (2.2.2)

Example of pages where the loop template is used: page 1, page 2. And here is a view of the back-end.

Since it seems that I am not the only one experiencing this issue, it would be great if this could be looked into.

Best regards,

Vladimir

dudaster commented 4 years ago

Thanks for posting here. My account on wordpress forums is moderated and my replies can take up to a day to be posted online.

Can you please take a screenshot with the content selected?

vsolanic commented 4 years ago

Hi,

sorry for the delayed reply. What exactly do you mean by 'taking a screenshot with the content selected'? I provided a link to the screenshot of the back-end where the things work and a link to the front end pages where the things do not show up as should.

Thank you for clarification.

Best,

Vladimir

dudaster commented 4 years ago

Please describe how you added the content.

vsolanic commented 4 years ago

OK. I will describe the whole process although it is a bit lengthy.

I am not sure if this is what you were looking for, but I hope it is a good description of steps, which I took to create the posts where post content is not displayed when using 'Post Content' widget.

dudaster commented 4 years ago

Thanks that’s what I need it. I’ll try to recreate it myself. I’ll let you know what I found.

dudaster commented 4 years ago

I'm unable to recreate the issue for me works fine. Is the content Elementor content or regular one?

vsolanic commented 4 years ago

Hi. The content is a regular one. So I am pulling from the 'regular' text area.

vsolanic commented 4 years ago

A few screenshots of various steps:

dudaster commented 4 years ago

This is wierd it should have been working. What other plugins do you have installed?

vsolanic commented 4 years ago

Here is a list of plugins, which I have currently installed:

Advanced Custom Fields | Version 5.8.7 by Elliot Condon Childify Me | Version 1.2.1 by Rocco Aliberti Custom Post Type UI | Version 1.7.2 by WebDevStudios Duplicate Post | Version 3.2.4 by Enrico Battocchi Ele Custom Skin | Version 1.3.10 by Dudaster.com Elementor | Version 2.8.3 by Elementor.com Elementor Pro | Version 2.8.3 by Elementor.com Envato Elements | Version 1.1.7 by Envato Instant Images | Version 4.2.0 by Darren Cooney Modern Events Calendar Lite | Version 5.0.0 by Webnus Team Post SMTP | Version 2.0.9 by Yehuda Hassine Post Type Switcher | Version 3.2.0 by John James Jacoby Smush | Version 3.4.1 by WPMU DEV Sticky Header Effects for Elementor | Version 1.3.2 by Rwattner Wordfence Security | Version 7.4.2 by Wordfence

I tried to deactivate all of them except the ones necessary for testing the ECS. So I left the following ones: Advanced Custom Fields | Version 5.8.7 by Elliot Condon Custom Post Type UI | Version 1.7.2 by WebDevStudios Ele Custom Skin | Version 1.3.10 by Dudaster.com Elementor | Version 2.8.3 by Elementor.com Elementor Pro | Version 2.8.3 by Elementor.com

But I still did not get the post content on the front-end.

shamrick commented 4 years ago

If I may, I would like to jump in here to ask about the same thing.

I too can't seem to get the plug-in to show the regular post content to display. Custom fields are fine, just not the regular old post content.

dudaster commented 4 years ago

do you have an URL?

davidofchatham commented 4 years ago

I'm having the same problem, intermittently with one loop and always with another loop. In these screenshots you can see both working in the editor and failing in display mode (the first loop is the quote banner; the second is the orange cards). @dudaster, I can give you a login if you would like.

Annotation 2020-03-06 161903 (2) Annotation 2020-03-06 161933 (2)

https://build2.hargrave.edu/admission/facts/

davidofchatham commented 4 years ago

I have temporarily worked around this issue for the page above by moving the third-line content to another custom field. I still have the previous loop template to demonstrate the issue, though.

I was hoping to register this plugin for the pro features, but am now looking for alternatives.

dudaster commented 4 years ago

Make sure you don’t have any display conditions. If you do please remove it and let me know if it works.

davidofchatham commented 4 years ago

@dudaster, there are no display conditions that I am aware of. I have checked the posts widget for the page and the loop template for the card. Here's the editor view of the card: Annotation 2020-04-06 151616

dudaster commented 4 years ago

For all the people having this issue, please try and see if Full Content skin works. If not it could be an add_filter gone wrong somewhere.

You need to disable plugins one by one maybe one of them is the culprit.

If it is a plugin that you need to keep there is a way to go around this problem by using shorcode. Here is a little code that can help you (add it to functions.php):

function post__shortcode( $atts ) {
    global $post;
    return $post->post_content;
}

add_shortcode( 'post', 'post__shortcode' ); 

And you can use [post ] shortcode from a text/heading widget with dynamic value > shortcode , and will have the effect you want it.

davidofchatham commented 4 years ago

I apologize for blaming ECS for this. I switched to the Full Content skin, disabled everything except Elementor/Elementor Pro (via Plugin Detective), and still have the problem. I even tried switching to the 2020 theme. I guess I should have been bugging Elementor instead.