This is done with CSS – your style.css. Appears that your 3 columns are styled with the <div class=”entry-content”> but your Acting Technique page is using all <div id=”content” role=”main”>
Hi ravZen,
Thanks so much for your response. I tried changing my style. Now both files are styled with <div class="entry-content">
, but this didn’t seem to solve the problem.
Perhaps I should have stated in my first email that the page that is is laid out in the way that I want, is not a result of the work of PHP or the LOOP, I simply added the images in myself
http://www.torontoactingstudios.com/Wordpress/studios/
I’ve seen other discussion of similar problems here:
http://wordpress.stackexchange.com/questions/4744/remove-line-breaks-in-wp-list-categories & here
http://wpquestions.com/question/show/id/342
I’m wondering if something like this might be a good solution:
function my_wpautop_correction() {
if( is_page() ) {
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
}
}
add_action('pre_get_posts', 'my_wpautop_correction');'
But instead of ‘is_page’, maybe ‘is_category’?
I tried the below but no luck:
function my_wpautop_correction() {
if( is_category() ) {
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
}
}
add_action('pre_get_category', 'my_wpautop_correction');'
@heatherland,
Can you post the code from the page template being used for the category pages to pastebin.com and post the link here?
http://pastebin.com/
Thank you.
Hi Rachel,
Thanks for having a look at this. It’s content.php that calls the images through the_excerpt_rss();
http://pastebin.com/X5QGk6Zk
Here’s category.php, in case it is helpful
http://pastebin.com/BmF2SeQM
If anyone out there is still mulling this one over, this site is now live and so the links have changed.
This is how I would like the logos to be displayed:
http://www.torontoactingstudios.com/studios/
This is how the PHP is laying out the pages:
http://www.torontoactingstudios.com/studios/category/acting-technique/
Thanks!
Heather