Jquery NoConflict Problem

Try and call method `prettyPhoto’ when DOM is ready, replace your code: jQuery.noConflict() jQuery(function(){ jQuery(“a[rel^=’prettyPhoto’]”).prettyPhoto(); }); with this: jQuery(document).ready(function($) { $(“a[rel^=’prettyPhoto’]”).prettyPhoto(); }); Also ‘Paid Downloads’ plugins enqueues latest version of jQuery used by WordPress it’s 1.6.1, it would be better if you register same version of jQuery from Google-CDN as WordPress does

Replace function in a child theme

If the parent-Theme function in question isn’t either pluggable (i.e. wrapped in a if( ! function_exists( $function ) ) conditional) or filterable (i.e. returns its output wrapped in a apply_filters( $filtername, $output )), then there’s no easy way to override the function. You’ll have to do one of the following: Replace all template files that … Read more

Change template if tag selected

I think the function you are looking for is has_tag() or even more generically has_term(). Your function would then become: function get_custom_cat_template($single_template) { global $post; if ( has_tag( ‘street’ )) { $single_template = dirname( __FILE__ ) . ‘/street-gallery.php’; } return $single_template; } add_filter( ‘single_template’, ‘get_custom_cat_template’ ) ;

Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?

Yes it is. It might get a bit clearer if you re-format this line $title .= ” $sep ” . sprintf( __( ‘Page %s’, ‘_s’ ), max( $paged, $page ) ); to: $title .= ” $sep “; $title .= sprintf( __( ‘Page %s’, ‘_s’ ), max( $paged, $page ) ); The first parameter of sprintf … Read more

Syntax error potentially causing CSS catastrophic failure

<link href=”style.css” rel=”stylesheet”> Because you’re using relative URLs. When you are on example.com it will load example.com/style.css When you are on example.com/test it will load example.com/test/style.css etc etc As you move around the site, it will change where it’s looking. None of your pages ever referenced your style.css, it’s probably returning an empty 404 page … Read more