Display WordPress Search

Tom, You’re right! I didn’t know how templates function, this was not something major, I just wanted to get that value and then display that value on my single.php page – but now I see that’s not how WordPress works. I decided to just leave off that functionality 🙂 Thanks, Josh

Remove tag on my RSS Feed

I believe the most direct way of customizing WordPress feeds is to hook into them directly with the following filter. Edit: as we talked about, let’s just edit the content to tear out any function edit_your_feed_content($content) { $content = preg_replace(“/(<figure.*?[^>]*>)(.*?)(<\/figure>)/i”, “”, $content); return $content; } add_filter(‘the_content’, ‘edit_your_feed_content’);

How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?

Do not edit core files. . 1. Assuming you have a registered a custom post type called biblio, you can add and remove “stuff” within your functions.php. For instance this removes some meta boxes from ‘biblio’ function remove_default_page_screen_metaboxes() { global $post_type; remove_meta_box( ‘commentstatusdiv’,’biblio’,’normal’ ); // Comments Metabox remove_meta_box(‘commentsdiv’,’biblio’,’normal’); // Comments remove_meta_box( ‘trackbacksdiv’,’biblio’,’normal’ ); // Talkback … Read more

What’s a better workflow for database migration?

I use this for search and replace on databases – https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ Simply move files with FTP, export and import database and then run the script searching for old URL and replacing with the new URL. Then I resave permalinks and I’m done. I’ve moved WP thousands of times using this. I’ve got the old script … Read more