How To Display Custom Help Box On WordPress Wp-Admin

Have you ever thought about displaying custom messages or help tips for site users on wp-admin? Add this simple code to your theme functions.php file and a custom help box will be displayed on wp-admin. add_action(‘wp_dashboard_setup’, ‘custom_dashb_add’); function custom_dashb_add() { global $wp_meta_boxes; wp_add_dashboard_widget(‘custom_help’, ‘Help!’, ‘custom_dashb’); } // function custom_dashb() { echo “<div> <ul style=’list-style:disc;margin-left:25px;margin-right:10px;padding-top:10px’> <li>Text […]

Quick solution to display a menu like list of WordPress Custom Post Type Posts(with Custom Taxonomy) in case of emergency

Well, I was in a hurry, the customer needed to have his site working as soon as possible, and I had to display a menu like list of WordPress Custom Post Types working for three different languages, but I didn’t have time to think of a elegant way to make it work. So I’ve created […]

How to reset queries on WordPress

Sometimes you may want to reset WordPress queries, when you are working on a page that displays data from posts of different categories mixed with custom post types, for example(two or more queries on the same page). Às vezes, talvez você queira resetar suas queries WordPress, quando você está trabalhando em uma página que exibe […]

WordPress Custom Taxonomy Page Example with Taxonomy Selection Function(select field)

Today I’ll show something quite useful. With just four steps, we will build a custom taxonomy page, that uses a function to build a select field(<select>), that reloads the custom taxonomy page retrieving posts based on the selected option(the selected taxonomy for a specific custom post type). Hoje vou mostrar algo bastante útil. Com apenas […]