We have a live site that is using one theme. Then I've got Wordpress Mobile Pack installed to enable a mobile theme which has different functionality and look. The problem I'm running into is that the live site uses a CPT for a "specials" page. This obviously has to be updated in the permalink structure in order for the url to work correctly. SO, when the mobile pack switches the theme for the mobile version, the permalink structure is killed and the CPT archive and single pages will not work. It doesn't mess up the main site, and the mobile version works perfectly, except that the CPT will not display.

And yes I have copied all the code into functions.php as required to handle the CPT.

Questions to be answered:

  1. First off, am I correct in assuming this is the actual problem or am I missing something here?
  2. Is there a way I can force the mobile theme to create that permalink structure when it recognizes that a new theme has been activated?
  3. If 1 and 2 are not possible, what is another option for me to still use the CPT. This is highly important to the site as it carries the "specials" they want to allow people to pull up on their phones.

I've already thought that I may have to setup a separate install of wordpress for the mobile site and do browser detection/redirect. I would hope this is not the only option for many reasons but mostly because I don't want them to have to manage two admins. Any help thoroughly appreciated!

1 Answer 1


Once again I answer my own question. For anyone having issues...it's


Just tag it onto the end of your CPT. I found it after much searching and much heartache so hopefully someone else will come along and find this helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.