Featured Image on Speaker Page

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Tue Aug 27, 2013 11:10 pm
How can I remove the featured image that shows up on the front page from the individual speaker pages?
User avatar
Fresh Boarder

GK User
Wed Aug 28, 2013 7:59 am
Hi,

Do you mean remove from single speaker page yes?

You have to edit Fest/content-speaker.php file and remove or comment out this fragment:
Code: Select all
<?php if(has_post_thumbnail()) : ?>
      <figure class="featured-image">
         <?php the_post_thumbnail(); ?>
      </figure>
      <?php endif; ?>
User avatar
Moderator

GK User
Wed Aug 28, 2013 5:03 pm
Hmm. That didn't seem to work. And I don't know if its related or not, but today the speaker images and names aren't displaying on the front page.

Can you please take a look? http://www.merkaba.mx
User avatar
Fresh Boarder

GK User
Wed Aug 28, 2013 5:14 pm
crunchthalomew wrote:Hmm. That didn't seem to work. And I don't know if its related or not, but today the speaker images and names aren't displaying on the front page.

Can you please take a look? http://www.merkaba.mx


I figured out why the speaker images went missing. I need to have at least 6 speakers even if one isn't displayed.
User avatar
Fresh Boarder

GK User
Thu Aug 29, 2013 7:15 am
Yes, the speakers widget needs at least 6 speakers to proper work.

Reffering to your earlier post, this solution should work, but I see that you change custom post type (from speakers plugin yes?) to artistas, but you didn't change your file category-speakers.php to category-artistas.php, so CSS styling and my solution are lost.
User avatar
Moderator

GK User
Fri Aug 30, 2013 7:31 pm
Would that be as simple as renaming category-speakers.php as category-artistas.php?
User avatar
Fresh Boarder

GK User
Sun Sep 01, 2013 9:21 am
Yes, if your category has a slug: artistas.
User avatar
Moderator

GK User
Sun Sep 01, 2013 9:40 pm
I have a slug: artistas. I renamed category-speakers.php as well as single-speaker.php as single-artista.php but the edit you suggested for content-speaker.php didn't make the change I was hoping for.

Any idea what I'm missing to make the featured image disappear from the single speaker page?
User avatar
Fresh Boarder

GK User
Mon Sep 02, 2013 7:26 am
Could you send me a PM with FTP access? then i'll be able to help you with that.
User avatar
Moderator


cron