Copying theme from Localhost to Live does not copy all theme settings with it?

Since I found this script, I have used it for every single move I make from Localhost to Live or vice versa. It’s incredibly simple to use and has worked every time. https://github.com/interconnectit/Search-Replace-DB (Review: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ ) From their site: You must use a safe search and replace method that preserves the integrity of the serialized … Read more

Load a theme based on browser detection

You can use the built in function wp_is_mobile() Override a style with wp_enqueue_style add_action(‘wp_enqueue_scripts’, ‘my_mobile_styles’); function my_mobile_styles(){ if(wp_is_mobile()){ wp_register_style( ‘my-mobile-style’, ‘URL_to_stylesheet’, array(‘id-of-main-stylesheet’) ); wp_enqueue_style( ‘my-mobile-style’ ); } } Switch themes by filters You can use the stylesheet and template filters to alter which theme WordPress will render. # Parent Theme add_filter( ‘template’, ‘my_mobile_template’, 99999, 1); … Read more

What does the term “bundled-theme” mean?

The term bundled theme is simply just a name/term used for the default (twenty-something) themes shipped with wordpress. The current version of wordpress 3.9.1 have three of themes shipped by default, namely ‘twentytwelve‘, ‘twentythirteen‘ and ‘twentyfourteen‘. The two previous twenty-something themes namely ‘twentyten‘ and ‘twentyeleven‘ are also available for download and is still currently been … Read more

Custom Upload Panel in Menu Bar

I think it’s not necessary to use a theme folder to hold some slider pictures. You can use a post or a page to be the “gallery holder” (it can even be left as draft), and pull its image attachments like this: function getSimpleGal($id){ $results = get_children( array( ‘post_parent’ => $id, ‘post_status’ => ‘inherit’, ‘post_type’ … Read more