Hello guys, Maybe someone can help me... I have a wordpress blog installed and I have many categories, including one with adult content. I dont want to show adult images in frontpage, but I want to show when the user is inside the category. How can I do that? Heres an exact example of what I want: http://ainanas.com Code (markup): (you can see that adult posts appears with this image in frontpage) Now check the adult category without this image: http://ainanas.com/gajas-nanas/ Code (markup): Please help I tried to use excerpt, but the image appears in both places, frontpage and category page, I want to show only on frontpage, like the website above. Any advices? Thanks ------ EDIT --------- EDIT ------------- I got an idea, but dont have php knowledges to make this work. I want to use a specific image to show in all adult posts and on frontpage only. So my idea is to use the featured image to do that. I already installed in my theme and inserted the line of code below in my teaser.php file: <a href="<?php atom()->post->URL(); ?>" rel="bookmark" title="<?php atom()->te('Permanent Link: %s', atom()->post->getTitle()); ?>"><?php the_post_thumbnail( $size, $attr ); ?></a> PHP: My teaser.php file code: http://pastebin.com/66Qi3SSn Help!?
Look into excluding specific categories in the wp codex. If you need more help I can do it for you, PM me Jay