Theme Options in Profile vs. Admin Area

Wondering how to move some or all of a premium theme’s options from the admin dashboard area to the member’s profile page?

I’m assuming the trick is to edit this line add_action(‘admin_menu’, ‘mytheme_add_admin’:wink:; ?> but not clear what the alternative would be to make it appear in the profile area.

  • Andrew
    • Champion of Loops

    Hiya,

    I’m afraid that really won’t be an easy task. Moving an admin page is one thing but taking the options from one page and putting them on another is just a bit complicated unless you’ve got a strong grasp of PHP.

    As this goes beyond a simple modification I’m afraid we really can’t provide much assistance. To have the theme options appear *on* the profile page would probably take close to an hour.

    Thanks,

    Andrew

  • Andrew
    • Champion of Loops

    Sure thing.

    You basically need to take the options from the theme options page and then display them on the theme page using the ‘show_user_profile’ (or comparable) hook. You’ll then need to add a function that hooks into the ‘edit_user_profile’ hook to save the changes when the profile page submit button is pressed.

    Our mass mailer plugin adds an option to the profile page so that code should get you going.

    Hopefully this will help. I’m afraid it’s all the assistance we can provide on this one as it’s basically a coding task.

    Thanks,

    Andrew