0

My tools>export option has vanished - even when reverting to the default TwentySeventeen theme.

Direct access to /wp-admin/export.php delivers 'Sorry, you are not allowed to access this page.' I'm wondering 'why', and what the fix is.

UPDATE...

I restored the missing option by adding this to functions: $admin_role = get_role( 'administrator' ); $admin_role->add_cap( 'export', true );

And now, even when that code is commented-out, 'export' is available.

I don't pretend to understand why.

5
  • Are you sure that you have logged as a Admin? Seems like some others also has your problem. wordpress.org/support/topic/wordpress-46-tools-export-missing
    – Ranuka
    Jul 9 '17 at 6:07
  • @Ranuka... Thanks. Yep, definitely logged-in as admin. Also created another admin and tried that - no different. Seemed to happen while making various changes (but same issue with default theme suggests that's not the cause), including switch to SSL (though can't imagine why that'd be an issue). I'd seen those other posts with similar problems before posting here,Very strange.
    – glvr
    Jul 9 '17 at 6:24
  • Did you disable all plugins? Because some plugin may hide that option.
    – Ranuka
    Jul 9 '17 at 6:46
  • @Ranuka... Thanks. I haven't, because I didn't add any new plugins or update any current. Now having tried that, even with default theme 'export' is still absent. And, on reverting to my custom theme, with no active plugins I've no access to sub-menus.
    – glvr
    Jul 9 '17 at 7:00
  • Quick update to previous comment... should read 'I've no mouseover access to sub-menus - have to click main item to show sub-menu'.
    – glvr
    Jul 9 '17 at 7:09
1

I was going through the same problem. I wanted to export content from my free WordPress site to my new self-hosted WordPress site. But I couldn't see the export option in my setting. All you have to do is get support from wordpress itself. You can get detailed information here https://wordpress.com/support/export/

To directly export, click on this link https://wordpress.com/export

Hope this helps!

1
  • Thankyou for your help.
    – glvr
    Aug 11 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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