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

Abierto
#691 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
laravel, php
Área
backend, content

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
1
Forks
1
Merge medio
1 h 40 min
PR fusionados (30 d)
143

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de temecms/teme

Todos los issues de temecms/teme

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.