Pull Random Images From Options Page [closed]

There’s nothing WordPress-specific about this, just some simple php: // generate an array of numbers $numbers = range( 1, 8 ); // shuffle the array in random order shuffle( $numbers ); // use the first 4 values from the randomized array of numbers echo eh_get_option( ‘eh_slide_image_’ . $numbers[0] ); echo eh_get_option( ‘eh_slide_image_’ . $numbers[1] ); … Read more

Use the wordpress admin table

Include and extend the WP_List_Table class class Example_List_Table extends WP_List_Table Best way to learn this is to modify the custom list table plugin: https://wordpress.org/plugins/custom-list-table-example/ For a full tutorial check this out: https://www.sitepoint.com/using-wp_list_table-to-create-wordpress-admin-tables/ And read the codex here: https://codex.wordpress.org/Class_Reference/WP_List_Table

I don’t have permission to save the theme options I created myself?

You’re adding the menu page using the “administrator” role. Is the account you’re using an administrator? Note: 1) You should be using an appropriate capability, rather than a user role. Generally, the appropriate capability for editing Theme options is edit_theme_options. 2) There is a known bug with WordPress, in that currently, manage_options is required for … Read more

WordPress admin panel is blank

Try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause. If that does not resolve the issue, manually rename the directory of currently active theme, This will force the Default theme to activate. And you find out theme related issue.(theme function can affect the admin panel)