• Hi all, I am having a weird problem with the Elegant Grunge theme. When I go to the dashboard, select Appearance, and then click Elegant Grunge, I am redirected to the dashboard instead of the options page. When I mouse over the link to the options page, it has the URL for the dashboard instead of the options page. For example, I would expect it to be https://localhost/wordpress/wp-admin/themes.php?page=functions.php, but instead it’s just https://localhost/wordpress/wp-admin/.

    I’m pretty new to WordPress, so I really appreciate any suggestions for what I might do. I have not had this problem with any other themes, but of course it has been decided that Elegant Grunge is the theme that MUST be used.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m having exactly the same problem and I’m not that new to WordPress. It works fine on one of my WP sites, but not for the other (which happens to be the one it really needs to work on).

    Anyone have a solution to this? It’s driving me nuts!

    Yes, please please please.

    Does anyone have a solution to this?? its also driving me nuts!!

    I got the solution

    in the functions.php file find the following code
    add_theme_page('Elegant Grunge Setup', 'Elegant Grunge Mod', 8, __File__, 'elegant_grunge_admin');

    Change the ___File___ to any string. I named it ‘p2’ (include the quotes)
    my line now reads as follows

    add_theme_page('Elegant Grunge Setup', 'Elegant Grunge Mod', 8, 'p2', 'elegant_grunge_admin');

    Thank you, THANK YOU, thank YOU!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme Options page defaults to dashboard’ is closed to new replies.