Admin table list API?

Yes, in version 3.1 WP_List_Table class was introduced and admin started to move to using it. As of 3.2.x it currently is not officially declared to be stable API to be used by developers, but in practice it is usually more viable approach than building tables from scratch anyway. On admin loops – admin side … Read more

Include default functions and methods

Put this code in the top of your api page, it will call in the functions, but you need to tell wordpress NOT to try and draw a page as well define(‘WP_USE_THEMES’, false); // Tell wordpress not to draw out a page require(‘/path/to/public_html/wp-load.php’); // load wordpress functions

How to create a drop down list with pages to a themes options page?

I have found the solution. I used the wordpress function wp_dropdown_pages <?php function combo_select_page_callback() { $options = get_option(‘function plugin’); wp_dropdown_pages( array( ‘name’ => ‘function plugin[ID used to identify the field throughout the theme]’, ‘echo’ => 1, ‘show_option_none’ => __( ‘&mdash; Select &mdash;’ ), ‘option_none_value’ => ‘0’, ‘selected’ => $options[‘ID used to identify the field throughout … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)