Import: bring the content, not the old site's structure: leave out widgets, page templates and menu places

Open
#691 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
laravel, php
Domain
backend, content

Research direction

The payload names no files, so begin by finding the import plan's steps for widgets, page templates and menu places, for both the live and file imports. Remove those questions and steps, and make saved choices for them be ignored rather than raise errors. Add the one-line "Not imported" note and the once-only menu message to the report. Done when a full and a file import show those changes and content, media, redirects and SEO fields behave as before.

Written by the indexing model from the issue text.

Description

area/import type/enhancement when/soon

What

The import brings a WordPress site's content, and also parts of how its theme was put together:

  • the widgets step (full imports) brings sidebar and footer widgets;
  • the plan asks which Teme template each WordPress page template becomes;
  • the plan asks where each menu goes in the theme (menu places).

These belong to the new site's theme, which is set up in Teme, not copied from WordPress. Other systems' WordPress importers agree: none brings widgets (WordPress's own export file doesn't hold them), and all bring menus without placing them (the WordPress Importer leaves them for Appearance › Menus; Kaleta builds them as drafts).

Expected

For the live and the file import alike:

  • No widgets step: widgets aren't brought. The plan's "Not imported" says so in one line ("Widgets and theme settings: set up in Teme's theme").
  • No page-template question: imported pages use the active theme's default template.
  • No menu-places question: menus and their items still come across, unplaced, and the report says once: "{n} menus came across; place them under Content › Navigation."
  • Choices already saved for these on earlier imports are ignored, not errors.
  • Content, media, terms, people, comments, SEO fields, old addresses and redirects are unchanged.

🤖 Generated with Claude Code

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.