overriding break tag for image excerpts on category pages
-
Hi!
I’m new both to WordPress and PHP, so could really use a helping hand on this one. I’m using images (logos) instead of text on my category pages and want them to be laid out in rows and columns, instead of just one long row.
Looking like this:
https://www.torontoactingstudios.com/Wordpress/studios/Instead of like this:
https://www.torontoactingstudios.com/Wordpress/category/acting-technique/I tried adding str_replace to my content.php file (I am using a child theme for twenty eleven) but no dice.
<?php else : ?> <a href="<?php the_permalink() ?>"> <?php the_excerpt_rss(); $the_excerpt_rss = str_replace('<br />', '', $variable) ?> </a> <?php endif; ?>
Any suggestions? Perhaps I should be trying to modify my functions page instead?
Thanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘overriding break tag for image excerpts on category pages’ is closed to new replies.