Title: [Plugin: WordPress Mobile Pack] Problems with custom theme
Last modified: August 19, 2016

---

# [Plugin: WordPress Mobile Pack] Problems with custom theme

 *  [syn4pse](https://wordpress.org/support/users/syn4pse/)
 * (@syn4pse)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-problems-with-custom-theme/)
 * Hi! I’m having some issues with creating a custom theme for WP Mobile Pack. I
   used the base theme as a starting point and made some minor edits to some of 
   the PHP files as well (header.php, index.php, footer.php), not just the CSS. 
   Now, after I moved the folder with the theme and started that theme in the admin,
   I get PHP errors when I switch to the mobile theme. Errors like: “Fatal error:
   Cannot redeclare wpmp_theme_init()”.
 * I’m not good with PHP, so I don’t really know what to do. Could anyone help?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [yeswap](https://wordpress.org/support/users/yeswap/)
 * (@yeswap)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-problems-with-custom-theme/#post-1863978)
 * It sounds like you copied functions.php into your custom theme.
 * Don’t copy all of the files in the base theme into the custom theme. Only copy
   the ones you want to modify.
 * And unless you are fairly proficient in PHP don’t modify or copy functions.php
   as it requires special handling.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress Mobile Pack] Problems with custom theme’ is closed
to new replies.

## Tags

 * [base](https://wordpress.org/support/topic-tag/base/)
 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 1 reply
 * 2 participants
 * Last reply from: [yeswap](https://wordpress.org/support/users/yeswap/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-problems-with-custom-theme/#post-1863978)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
