Theme options and widgets are missing (2 posts)

  1. surya prakash
    Posted 2 years ago #

    Dear supporters,

    When i move to my site from localhost to live whole site will working fine except widgets and theme options. Both of code is in database but back-end widgets are empty and also theme options.

    I think widget ids and theme options ids will changing in database when moving the site local to live.

    Every time i manually put the settings and widget content copy to paste from local to live. I don't know how to solve this issue.

    When i find text or theme options everything is in DB.

    Please let me know anybody how to solve this problem.

    Thank you


  2. You're not search/replacing your database coorectly when you move from localhost. The issue is that your plugin/theme settings are saved with your domain name in them (you can't see it, but they are), and if you just replace localhost with example.com, then you break the coding.

    Use this script to search/replace the DB: https://github.com/interconnectit/Search-Replace-DB

    That will let you change it without problems.

Topic Closed

This topic has been closed to new replies.

About this Topic