Forums

WordPress Mobile Pack
[resolved] Customizing Admin menus (9 posts)

  1. danhgilmore
    Member
    Posted 1 year ago #

    I am trying to edit the options for the Mobile Widgets and Mobile Themes pages that are displayed here:

    wp-admin/themes.php?page=wpmp_theme_widget_admin
    wp-admin/themes.php?page=wpmp_theme_theme_admin

    Every time I make an edit to wpmp_theme_widget_admin.php or wpmp_theme_theme_admin.php, I verify it's on the server and has the correct permissions. The problem is that it never displays any changes I make. I've been banging my head on my desk all day. Does anyone know how I can edit the options on those pages?

  2. jamesgpearce
    Member
    Posted 1 year ago #

    Hi Dan,

    Do you mean you are making changes to data on those forms, or trying to change the form itself to add new options?

    And you're absolutely sure you're editing the files that are being picked up by the live site? And that there's no server or WordPress caching?

    Thanks
    James

  3. danhgilmore
    Member
    Posted 1 year ago #

    Hi James,

    What I'm trying to do is remove the "Check mobile status" option on the Mobile Theme options page. I initially removed the code that displayed that, but saw that it wasn't removed on the page. After that, I just added my last name after the opening DIV tag, and it still does not show up.

    I've verified that there are no caching plugins, and I've also had our network folks turn off the caching on the proxy servers. I'm not sure how to verify if the server's caching, but I don't have this problem on any other page besides these two.

  4. danhgilmore
    Member
    Posted 1 year ago #

    I've even deleted the file wpmp_theme_theme_admin.php and it still shows up. I'm going insane.

  5. danhgilmore
    Member
    Posted 1 year ago #

    Here is the solution: Don't be stupid.

    I didn't realize that when the Site Admin enables the mobile themes, it copies the themes and their files to the wp-content/themes directory. I was editing the wp-content/plugins/themes/ files.

    Once James pointed that little fact out, I was able to edit the files successfully. I'll now go hide in shame.

  6. jamesgpearce
    Member
    Posted 1 year ago #

    Hi Dan,

    Maybe you are editing the copy of the themes that are in the plugin folder? What happens when you install the plugin is that that folder is copied across into WordPress' themes folder.

    You should make the changes to the .../themes/mobile_pack_base version of the file (or, if you want, de- and re-activate the plugin to get your changes copied back over)

    Hope that makes sense? I'm guessing here that that is your issue.

    JP

  7. jamesgpearce
    Member
    Posted 1 year ago #

    hm - the fact that I forgot to press 'submit' on my solution for a while didn't help... sorry :-)

  8. soonguy
    Member
    Posted 1 year ago #

    Dear James

    I've installed Mobile Pack and love it. However, on my Atahualpa wordpress blog, the switching link for desktop to mobile and vice versa is showing up without the rest of the URL, and so is notfound. Ie the link goes to http://blog/index.php?wmpw_switcher

    Is there a fix for this?

    Grateful thanks

    Tony

  9. aeysha
    Member
    Posted 7 months ago #

    Hi I have a question about WordPress Mobile Pack. Does it work with custom post types and taxonomy. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic