Diagnosing a connection reset problem
Diagnosing a connection reset problem
Diagnosing a connection reset problem
On some themes the Disqus code is rendered at a bad position within the loop. Go to the Disqus plugin within WordPress, click the “Advanced options” tab, and then check “Output javascript in footer”. That should fix this.
Eleven40 does not contain these styles in the style sheet. Paste all the styles listed on the tutorial page just above this line (in the child theme style.css file): /* Inner ———————————————————— */ Follow the other steps specified in the tutorial and you are set.
You can use the plugin Debug Objects, this have a option to get outside the templates, folder, file etc. and much more. Makes easier to debug a installed site.
Multiple homepage layouts as selected by user from theme options
Taxonomy.php is the default template that displays how custom taxonomies display in the browser. They aren’t how you create a new taxonomy. This is done by using the function register_taxonomy() in functions.php. WordPress has created a whole codex page on the topic available here. SmashingMag has a great tutorial on it as well (it’s actually … Read more
have_posts() iterates over all posts found and actually returned in the query which depend in the posts_per_page parameter. And for your second question, using query_posts() does overwrite the query and its not really the recommend method to alter or modify the query result, here is a nice question that explains better ways : When should … Read more
The variable $theTitle is not interpolated in a single quote string. query_posts(‘category_name=.$theTitle&orderby=rand’); Will ask for exactly that string. $theTitle will not be replaced with a title and the dot (.) will remain in the query. The result will be unpredictable. So, use a double quoted string: query_posts( “category_name={$theTitle}&orderby=rand” ); Or change the order of the … Read more
Filter the_content, and add the result of get_the_tag_list(): add_filter( ‘the_content’, function( $content ) { if ( is_single() ) $content .= get_the_tag_list( ‘<p>Tags: ‘, ‘, ‘, ‘</p>’ ); return $content; }); The other option is to create a child theme and add the_tags() where you need it in a template.
Updated plugin version available at GitHub. I first saw your Question at [wp-hackers] list, and, after implementing the solution, was about to publish a Q&A for that. Well, it’s already here, and has a bounty put on it 🙂 As Daniel Bachhuber points out in the thread: WordPress.com puts themes inside of subdirectories /wp-content/themes/public /wp-content/themes/premium … Read more