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)

send information from the thickbox image uploader second tab

So i decided that for me, i can settle for changing an input field on the top.parent for it to be used with the native options. i used this for the function of the iframe tab: function media_upload_choosebackground_form() { media_upload_header(); ?> <h3 class=”media-title”>HTML Form</h3> <img src=”http://www.mimi.me/wp-content/themes/mimi.me_regular_sites/images/background-Green-stripes-thumb.jpg” style=”cursor:pointer; float:left; margin:10px 0 0 10px” id=”greenstripes” title=”Green Stripes” … Read more