Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1425246

    We are seeing that new pages created are not loading all of the elements/layout from the template that was applied to it. However, if we open the page and then save it again without making any changes, everything displays fine. The website is using Enfold 5.6.8 and WordPress 6.4.1.

    Here’s a screenshot of what one of the pages looked like when the layout didn’t load:
    https://www.maritimetravel.ca/wp-content/uploads/Page-Example.jpg

    Here’s how the page should look after we saved it a second time and the layout loaded:
    https://www.maritimetravel.ca/black-friday-seabourn

    #1425357

    Hey NicomIT,

    Thank you for the inquiry.

    Have you tried creating a new page while the cache plugin is disabled? It’s possible that the cache plugin is causing the issue. We may have to access the site in order to check this further. Please provide the login details in the private field.

    Best regards,
    Ismael

    #1425591

    Hi Ismael,
    We don’t currently have a caching plugin active on the website. I included admin login info below in the private field as requested.

    Here’s one of the pages that is not displaying correctly:

    https://www.maritimetravel.ca/recommended-resorts/riu-emerald-bay

    If we were to edit and then save that page, it would fix the issue. But we really need to know what is causing it so we can avoid further issues with other pages.

    Ryan

    #1425637

    Hi,

    Thank you for the info.

    The page above is not displaying correctly because the post css file is not found or is not being loaded correctly. This is the error in the console.

    Failed to load resource: the server responded with a status of 404 (Not Found) post-33517.css

    You can add this filter in the functions.php file to temporarily disable the post css option and make sure that the pages display as expected.

    function avf_post_css_create_file_mod( $create )
    {
    	return false;
    }
    
    add_filter( 'avf_post_css_create_file', 'avf_post_css_create_file_mod', 10, 1 );

    Best regards,
    Ismael

    #1425678

    Thanks Ismael. That code should be added to the functions.php file in the child theme?

    Do you know why that would be happening? We didn’t have this issue with any pages/posts on the website until the last week or so.

    We updated Enfold approximately two weeks ago, but had to revert it back to the older version temporally when we found some issues. But have since changed it back to the latest version.

    #1425718

    Hi,

    Thank you for the update.

    Yes, the code needs to be added to the functions.php file. We are not sure why the dynamic css files are not automatically generated when you create a post, but the problem might due to a plugin conflict or server configuration. The provided code should disable this function and load the custom css styles inline instead.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.