Error to edit homepage template

Posted in: Newspaper
Post count: 2

Hello,

I am currently renewing a site created with the NewsPaper theme version 12.6.2, originally built using NewsPaper8 series. The original site was developed using WPBakery, but I am now transitioning to the tagDiv Composer for this renewal.

I am using the default template with a sidebar, but I want to create the homepage (front-page) without using a sidebar. This means that while the template for a standard page (page.php) includes a sidebar, I intend for the homepage not to have one. I have prepared the homepage using the tagDiv Composer. However, after setting this page as the homepage (front-page) and trying to edit it, the following error message appears in the tagDiv Composer editing screen, preventing further editing:

“Error at zones: 6(models) : 5(dom). The model does not match the content Current state has involved an issue.”

The homepage displays correctly without the sidebar, as desired. This error does not occur if the page is not set as the homepage, allowing for re-editing of the page.

This issue arises whether I use a template from the Cloud Library for the homepage or create it as a regular page using tagDiv Composer and then set it as the homepage. Other standard pages, aside from the homepage, are displayed as intended with sidebars.

I suspect the error may be due to the homepage using a different template than the standard page template. How can I resolve this issue? I am not using any original templates except for the header and footer. The homepage design is different from the pages created with WPBakery, so I do not believe this is an issue related to their compatibility.

Thank you for your assistance.

Post count: 21065

Hello @candc!

Please make a new page and edit it with the TagDiv Composer. Maybe this issue won’t occur anymore. Maybe some settings from Gutenberg remain there; that’s why the error displays every time there.

Thank you!

Post count: 2

Hello,

Thank you for your response.

Unfortunately, creating a new page with the tagDiv Composer did not work as expected. Is there a way to create a new page directly in tagDiv Composer without going through the WordPress standard page editing interface?

When I create a new page, I usually transition from the WordPress block editor’s new page editing screen to the tagDiv Composer by clicking the blue button. The header and footer are already created and are visible in the tagDiv Composer. Even without adding any content, if I save the page, set it as the front-page, and then attempt to re-edit it, the same error message appears.

As I mentioned in my initial query, the issue persists even when creating the front-page from a Cloud Template. How can this be resolved?

I am not using the Classic Editor plugin or the Disable Gutenberg plugin.

Thank you for your assistance.

Post count: 21065

Hello @candc!

Create a new page in Dashboard -> Pages, press the publish button, and view. Edit it with the TagDiv Composer: https://prnt.sc/gGw1zq0zdf3r
You can also import a homepage template from the Cloud Library. All your templates can be found in the cloud templates. Also, you can disable the header and footer from Website Manager: https://forum.tagdiv.com/tagdiv-composer-website-manager/.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.