• Resolved md_quer

    (@mdquer)


    wordpress 6.7-beta3, TT5?block?theme installed.
    When i go to > patterns and klick on a pattern, then i can:
    edit or duplicate.
    When i duplicate a pattern, then i can:
    edit, duplicate,rename and delete the copy of the duplicated pattern.
    But i find no way to delet the pattern, that i have duplicated.
    so i have installed two patterns: pattern-1 and pattern-1-copy.
    Can you help me, find a way to delete those first patterns, i have duplicated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @mdquer

    you can see which patterns you have installed or created by going to the “Site Editor > Pattern” screen and then click the “My patterns” option in the sidebar — that option is only available if you have any pattern of your own.

    Those are the only patterns you can delete. I just tested and everything works fine for the patterns under “My patterns” —?no matter how I created them.

    The rest of the patterns are provided by the theme and, as a user, you cannot delete them.

    Best,
    André

    Thread Starter md_quer

    (@mdquer)

    Thank you for the answer.
    When i have a custom block theme, and i have installed a template-part: general eg. template-part: header-5 as general. And this is in the block theme files.
    And i want to change this to template-part: header instead.


    Is there a simple possibility to do so ?


    I tried: duplicate this general template part: header-5. Then rename it :header-for-sites and choose – template-part: header.
    Now i have this new template-part: header-for-sites which is now under Headers, and header-5 which ist now under General. But they are the same.
    It is my custom block theme. But i cant delete this template-part: general header-5. Only duplicate an rename.

    And then delete this header-5 under parts in the block theme files. Then give the page.html the new header-for-sites. It does not work. When i delet it in the theme files, everything is crap.

    So i think it is does not matter, if the template part ist under general instead of header. ???♀???????

    • This reply was modified 1 month, 1 week ago by md_quer.
    Thread Starter md_quer

    (@mdquer)

    i have found the issue: i have to delcare the header in theme.json. Like so:

    {
    “area”: “header”,
    “name”: “header-for-sites”
    },
    Then the system writes in the website editor my ” header-for-sites ” under > Header. And when i delete the header-5 in my theme files , it ist gone in the Website Editor and everything works fine. ????

    Hi @mdquer ,

    I’m glad you figured it out and the issue is now solved.

    Best,
    André

    Thread Starter md_quer

    (@mdquer)

    Thank you ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Your post has been marked resolved.

    Once the alpha version of WordPress is released, or more than a month has gone by without response, we “resolve” posts as a bit of a sanity check. It lets mods and volunteers know we don’t have to jump in and find an issue.

    If you’re still having this issue with the newly released/current version of WordPress, please make a new post in https://www.ads-software.com/support/forum/how-to-and-troubleshooting/

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