Wordpress theme question

5 replies
I'm thinking or changing my wordpress theme. I've added links and widgets and other stuff in the sidebar.php and footer.php files. Will everything come back or should I save the stuff I added into those files to be added again later?
#question #theme #wordpress
  • Profile picture of the author fredhopkins
    If you directly edited those files in the theme then you want to copy the code you used. Once you change themes it would be gone since the changes were associated with the previous theme.

    If you truly made those changed using widgets then they will still be usable with the new theme.
    Signature
    Coming soon to a theater near you. . .
    {{ DiscussionBoard.errors[629329].message }}
  • Profile picture of the author testaccount9998
    If you edited the widgets in the theme editor in the wordpress dashboard then they won't be there when you change themes BUT as long as you don't uninstall that theme from your wordpress installation then all of your widgets and links should still be there if you change back to your original theme.

    Hope This Helps

    -Rebtl
    {{ DiscussionBoard.errors[629643].message }}
  • Profile picture of the author BeauPenaranda
    Originally Posted by Ryan700 View Post

    I'm thinking or changing my wordpress theme. I've added links and widgets and other stuff in the sidebar.php and footer.php files. Will everything come back or should I save the stuff I added into those files to be added again later?
    It's always good to save it, but that won't be the issue. If the theme's css has different parameters than the theme that you are currently using, it may not render exactly the way you want.

    To answer your question, I would say yes, they will be there, but how it looks may be a little different than how they look now.

    Also a good tip is to view on multiple browsers to ensure they show right to the majority of your audience. The two that I mainly test with is firefox and IE
    {{ DiscussionBoard.errors[629666].message }}
  • Profile picture of the author houdy
    As said above any widgets that were added by editing the sidebar.php file on the current theme will not show on a different theme. You can always grab the code off the old theme though. Same for the footer.php file.

    If the widgets were added in the dashboard under appearance/widgets then they will remain. BUT be careful when switching themes with a lot of text widgets. If you switch from a theme with 2 sidebars to a theme with 1 sidebar then one of the sidebars will be gone and the widgets in it! Best to copy your text widgets to a text file for backup just in case.

    And as BeauPenaranda touched on, your old widgets may need tweaked to fit properly on a new theme, especially if the new sidebar is more narrow that the old. The usual suspects are banner images, newsletter opt-ins and AdSense.
    {{ DiscussionBoard.errors[629781].message }}
  • Profile picture of the author BryanB55
    you could always just install the theme and see how it looks and if it doesnt work switch back... or switch to a free theme real quick and see what stays and what doesnt.
    {{ DiscussionBoard.errors[630131].message }}

Trending Topics