Gabriel Bajada
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying Custom Post Types differently in index.phpFound the answer here.
My final code looks like this:
<?php if (have_posts()) : while (have_posts()) : the_post(); if ( get_post_type( $post->ID ) == 'projects' ){ get_template_part('partials/loop', 'archive-projects'); } else if (!get_post_format()) { get_template_part( 'partials/loop', 'archive' ); } else if ( has_post_format( 'aside' )) { get_template_part('partials/loop', 'archive-aside'); } else if ( has_post_format( 'gallery' )) { get_template_part('partials/loop', 'archive-gallery'); } else if ( has_post_format( 'link' )) { get_template_part('partials/loop', 'archive-link'); } else if ( has_post_format( 'image' )) { get_template_part('partials/loop', 'archive-image'); } else if ( has_post_format( 'quote' )) { get_template_part('partials/loop', 'archive-quote'); } else if ( has_post_format( 'status' )) { get_template_part('partials/loop', 'archive-status'); } else if ( has_post_format( 'video' )) { get_template_part('partials/loop', 'archive-video'); } else if ( has_post_format( 'audio' )) { get_template_part('partials/loop', 'archive-audio'); } else if ( has_post_format( 'chat' )) { get_template_part('partials/loop', 'archive-chat'); } ?> <?php endwhile; ?>
Didn’t work for me.
Should I put the code anywhere between those lines?
On a similar note,
I chose the fancybox option and the black overlay is appearing behind my thumbnails.
Any ideas?
Thanks.
Forum: Themes and Templates
In reply to: [Yoko] Captions in Pages and Posts appear differentlyThanks, I managed to fix it.
Forum: Themes and Templates
In reply to: Moved index.php to root and pagination not workingThanks wearitwell, but nothing changed. Is there any other way?
Forum: Themes and Templates
In reply to: Moved index.php to root and pagination not workingExcuse my ignorance, but how do I do that?
What I did was change the structure slightly.
Forum: Themes and Templates
In reply to: Tanzaku theme – don’t show ‘no comments’ on about pageGOT IT!
All I had to do was remove the same line of code from index.php. But I’m sure you already know that.
Thanks again!
Gabe
Forum: Themes and Templates
In reply to: Tanzaku theme – don’t show ‘no comments’ on about pageHi…
sorry to bud into your conversation like this. First of all thank you samboll for your help so far.
I’m using the Tripleship ‘tanzaku’ theme and I’d like to do the same to the posts page. Basically, I couln’t car what anyone has to say about the entire site ??
Is there any way you could help me do this?
Thanks,
Gabe