Cannot update a file for my theme

Those widgets are added because you’ve specified none Try adding a text widget with no content but spaces, you’ll find all those hardcoded default ‘widgets’ dissappear You should never use the built in editor in WordPress though, so use FTP/Shell/VCS instead

get_pages Not accepting my query

I have pulled up stumps on this approach and gone back to my original function. It goes through the posts, looks for the Partner Level passed to it, and then retrieves a list of pages. I then display a styled list with the posts thumbnail as the clickable link. Will need to tweak for reach … Read more

Implementation of language_attributes function

This function is defined in wp-includes/general-template.php. Use a real IDE for development to find the source of a function faster. If your document is not XHTML and the content is runnung from left to right you don’t need this function. A simple … echo ‘lang=”‘ . get_bloginfo( ‘language’ ) . ‘”‘; … does everything you … Read more

Jquery Theme Roller to WordPress

The most important thing is to hook the functions, that register/enqueue your styles and scripts, at the right “time”. This would be on the admin_*/wp_*/login_enqueue_scripts-hooks. Read about the instruction on WPDevel. This answer provides even more details about the process of registering scripts & styles. If you want to check if your script/style passed certain … Read more

Multiple sub directories for theme template pages

When I want to change a specific part of template, such as header OR footer then I use conditions like this – if(is_404()) { get_header(`error`); //loads header-error.php } else { get_header(); //loads header.php } In your case, you want to load a completely different template, Now the only action hook I can imagine is – … Read more

how would I change background color of a theme using a plugin?

If the theme uses the custom-background functionality of WordPress, then WordPress outputs CSS code in the head which essentially says body.custom-background { … } and it puts the chosen colors and image in there. So most themes sorta expect that to be on the body itself, and to have a custom-background class on the body … Read more

navigation among single posts

I cannot think of any one plugin or theme that would handle that exactly; but you could disable the previous/next post links and try rather to display other posts in the sidebar with similar post_types / categories. This plugin has many options to display easily in a widget area: WP Category Posts List http://wordpress.org/extend/plugins/wp-category-posts-list/ This … Read more

different theme in one website

This is one of the best use cases for WordPress Multisite. There are some plugins (like this one) that do this on a per-page or per-category basis, but I’ve never used them. Multisite has a lot of nice advantages (network-wide updates, user management, etc), along with some fun extra bugs (a lot of the recent … Read more