Need to remove #nimblebox[nimble_portfolio_gal_default] from your URL? in prettyphoto.js, change (function(j){j(document).on(‘nimble_portfolio_lightbox’,function(event, obj){obj.items.prettyPhoto();})})(jQuery); to (function(j){j(document).on(‘nimble_portfolio_lightbox’,function(event, obj){obj.items.prettyPhoto({deeplinking: false});})})(jQuery);
plugins
Custom Post Updated Messages
For my first CPT, it seemed great that I could hook a function to post_updated_messages and customize the post messages. When I tried the same for 4 CPTs, only the last filter added was having any effect. Here’s my new DRY method. function set_custom_messages( $messages ) { global $post, $post_ID; $post_type = get_post_type( $post_ID ); $obj […]