How to add custom tab page in backend?

If you are trying to add menu on the WordPress dashboard on the left panel than there are several ways to do that like in the following links add_menu_page add_options_page add_menu_page adds a menu to the left panel of wp-admin dashboard whereas add_options_page will add a menu under the settings menu.

How to dynamically add the the input text field in widget?

How about jQuery append method? To make a counter, simply increment i variable every click. $(‘body’).on(‘click’, ‘.add-more-button’, function() { var i = 2; $(‘.widget-input’).append(‘<label>Link’ + i + ‘</label><input>’); i++; } This is just an idea, I guess someone more experienced can develop it further.

WordPress Admin Menu Order for ‘admin.php’ pages

Instead of this: return array( ‘index.php’, // Dashboard ‘separator1’, // –Space– ‘edit.php?post_type=page’, // Pages ‘edit.php’, // Posts ‘edit.php?post_type=portfolio’, // Portfolio ‘admin.php?page=wpcf7’, // Contact Form 7 ‘upload.php’, // Media ‘edit-comments.php’, // Comments ); try this: return array( ‘index.php’, // Dashboard ‘separator1’, // –Space– ‘edit.php?post_type=page’, // Pages ‘edit.php’, // Posts ‘portfolio’, // Portfolio ‘wpcf7’, // Contact Form … Read more

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