• Resolved nikhil.chaudhary

    (@nikhilchaudhary)


    Hello Team,

    After upgrading the blocky theme to the 2.0 version, the website just reloads forever. It seems that it’s taking long time to update.

    I think there should be a wp-cli command to update the website when we have a website having a bigger database.

Viewing 1 replies (of 1 total)
  • Hi @nikhilchaudhary

    First off, make sure you are on the latest patch – 2.0.4. This ensures that things go as smoothly as possible, as these new hot fixes have improved a lot of things.

    Then, the commands for the main theme should be as follows –

    # WARNING: Run all the commands one by one and carefully examine the output of each command
    
    # 1. First run the replace with dry run, to see which tables exactly will be affected and how many replacements will be there.
    
    wp search-replace --dry-run "paletteColor" "theme-palette-color-"
    wp search-replace --dry-run "buttonInitialColor" "theme-button-background-initial-color"
    wp search-replace --dry-run "var(--fontFamily)" "var(--theme-font-family)"
    
    # 2. Actually perform the replacement
    
    wp search-replace "paletteColor" "theme-palette-color-"
    wp search-replace "buttonInitialColor" "theme-button-background-initial-color"
    wp search-replace "var(--fontFamily)" "var(--theme-font-family)"

    Let us know if this results in a successful migration. Make sure you have a backup for that just in case scenario. 🙂

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Require WP-CLI command to update blocksy 2.0’ is closed to new replies.