Find source of notice / warning / errors efficiently
While debugging plugins or themes I will often come across a notice / warning / error which doesn’t really provide useful debugging info. … Read more
While debugging plugins or themes I will often come across a notice / warning / error which doesn’t really provide useful debugging info. … Read more
I am converting a non-bootstrap menu to wordpress. It has no drop downs so I don’t think I need to use a walker … Read more
I am struggling with the translations of my theme. I use the function get_permalink_date of my class. The relevant snippet is: $permalink_title = … Read more
I want to have the authors listed like usual from wp_list_authors() but I know there are a couple of ones I would like … Read more
I installed WordPress on my website along with a theme close to what I wanted. I then changed virtually all the formatting to … Read more
I’m looking at the function and template references and I’m not seeing a way to test for whether a post is protected. Is … Read more
My sidebar widget code in functions.php looks like this… if ( function_exists(‘register_sidebar’) ) register_sidebar(array( ‘name’ => ‘Home Sidebar’, ‘id’ => ‘home-sidebar-widget’, ‘before_widget’ => … Read more
In the script below, which resides in a custom widget, I’m trying to determine which sidebar area the widget has been added to … Read more
I’m developing my own theme and added this in a function which is called with the hook after_setup_theme to support infinite scroll: add_theme_support( … Read more
I am writing a set of classes to easily create options pages accessible via submenus of the standard WordPress menus and a way … Read more