How to show a custom meta box on the “Quick Edit” screen?
I’ve used add_meta_box() to add a custom meta box to the WordPress edit window on both pages and posts.
I’ve used add_meta_box() to add a custom meta box to the WordPress edit window on both pages and posts.
As our users regularly upload ~6MB images to use on the website (and aren’t too familiar with how to resize them first), WordPress stores the originals as well as resizing them to several different sizes.
I’m attempting to use actions to override function calls I currently have throughout a template (to make updating certain replicated sections easier). For example, in archives.php I have the following:
I am looking for a way to test if a post is a custom post type. For example, in, say, the sidebar I can put in code like this:
I’m having trouble understanding when you need to use wp_register_script(). Currently, I just use something like:
<!– query –> <?php $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $query = new WP_Query( array( 'category_name' => 'investor-news', 'posts_per_page' => 2, 'paged' => $paged ) ); ?> <?php if ( $query->have_posts() ) : ?> <!– begin loop –> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <h2><a href="<?php … Read more
I have created a custom post type and have attached some custom fields to it. Now I would like to the search that authors can perform on the custom post list screen (in the admin backend) to also be performed on the meta fields and not only look in the title and content as usual.
I really like the way SE uploads an image from a URL (I’m sure many do!). I’ve been searching, but can’t find, is there a plugin or a method similar to this available for WordPress?
I am trying to retrieve the slug of the current WordPress page outside the loop. The title of the page returns with wp_title (), but how can I get the slug?
Get the “Microsite” submenu page to be highlighted when editing an Attorney (for this we need to somehow be able to apply “current” to the submenu item,_ and some hooks in the _wp_menu_output() function would provide what’s needed here),