Hiding the media-new.php File URL option via jQuery

This is because those elements aren’t present when the page is finished loading, they’re inserted later on using javascript. Try hooking into #media-items and running your code when new elements are inserted rather than when the root element is ready.

Dynamically change Custom Post Type Template OR Change Permalink?

You can use the rewrite parameter of $args dynamically. Because the post type is registered every time wordpress loads (not just the first time register_post_type() loads), you can set any of the $args dynamically so long as the $post_type slug stays the same. See the codex documentation on register_post_type() for a list of the arguments … Read more

How do you hide images from posts only

You can do this with a css solution. Pages and posts have different body_classes, so you should be able target them with page and post respectively. Your CSS would look something like this: .post img { display: none }

Custom menus not showing

it turns out that after copying some code from another post (http://stackoverflow.com/questions/9439877/adding-menu-items-in-wordpress) for a filter in functions.php to add the search bar in the nav menu, when it wasn’t matching the menu, it was returning nothing (i.e erasing the $items) I stupidly copied this code in without testing… and it was the problem all along!

Add jQuery function to media button

Where are you attaching this listener: $(‘#fluffyRabbit’).live(‘click’,function() { alert(‘o hai!’); }); I suppose that if you attach within a $(document).ready(function(){ //attach here $(‘#fluffyRabbit’).live(‘click’,function() { alert(‘o hai!’); }); }; that would do the trick. Is it working for you?

How to remove the tagline from the HTML ?

Ah, figured it out. In /wp-content/themes/twentyeleven/header.php, you can comment out this: // Add the blog description for the home/front page. $site_description = get_bloginfo( ‘description’, ‘display’ ); if ( $site_description && ( is_home() || is_front_page() ) ) echo ” | $site_description”; Then the blog tagline won’t be added for the front page.