Skip to content

Preview changes feature doesn't work for static Homepage #7440

@Lordblubb

Description

@Lordblubb

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

Elementor provides a "Preview Changes" button to preview changes made in a page before pubhlishing it. When using this feature on the page defined as Homepage in Wordpress (->Settings->Reading: A static page: Homepage), the changes made are not shown in the preview browser window. This effect does not happen for other pages. On these pages, the preview browser window correctly shows the changes made.

Steps to reproduce

  • Create wordpress db.
  • Copy wordpress folder to htdocs folder.
  • Install web page.
  • Run updates if provided by Wordpress backend
  • Configure Wordpress backend:
    a) Perma links: post name
    b) Date format: d/m/Y
    c) Time format: H:i
  • Create and publish 3 pages, e.g. start, contact and blog.
  • Assign start and blog in the Wordpress backend under ->Settings->Reading: A static page.
  • Delete all plug-ins; install elementor and activate it.
  • Configure Elementor: Show editing handles.
  • Edit start page ("Homepage") with elementor and preview changes -> no changes are shown in the preview window.
  • Edit contact page with elementor and preview changes -> changes are shown correctly in the preview window.

Isolating the problem

  • This bug happens with only Elementor plugin active.
  • This bug happens with a default WordPress theme active.
  • I can reproduce this bug consistently using the steps above.

Environment

Issue was found on local server (Xampp) and also hosted web page (1&1 Ionos).
Issue was found with Wordpress 4.9.9 and 5.1.
Issue was found with standard theme 2019 and Phlox Pro.

System Info

== Server Environment ==
Operating System: WINNT
Software: Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.3.1
MySQL version: mariadb.org binary distribution v5.6.41-84.1
PHP Version: 7.3.1
PHP Max Input Vars: 1000
PHP Max Post Size: 8M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected

== WordPress Environment ==
Version: 5.1.1
Site URL: http://localhost/wp2
Home URL: http://localhost/wp2
WP Multisite: No
Max Upload Size: 2 MB
Memory limit: 256M
Permalink Structure: /%postname%/
Language: de-DE
Timezone: Europe/Berlin
Debug Mode: Inactive

== Theme ==
Name: Twenty Nineteen
Version: 1.3
Author: the WordPress team
Child Theme: No

== User ==
Role: administrator
WP Profile lang: de_DE
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

== Active Plugins ==
Elementor
Version: 2.5.5
Author: Elementor.com

== Log ==
:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions