-
mark9
ParticipantHi Daniel,
>>Please delete the same post that I submitted in tutorial section, it’s better to be here<<
Have to be honest with you – I’m in love with Pinboard theme. Don’t want to hear about any other theme, Pinboard is simply suberb!
In my personal blog I use the following set up: 1 post displayed full width and all others as excerpts in a 3 column layout.
Everything is perfect, just one thing I’m not able to resolve. In the full width one, under the post name it shows “who posted” “when”, “category” and so on. Would it be possible not to sure this somehow? I even tried different formats for this particular post but that did not help.
Thanks in advance.
MarkDaniel Tara
KeymasterYou need to open each content-*.php file and delete this code:
<?php if( ! pinboard_post_is_full_width() ) : ?> <?php pinboard_entry_meta(); ?> <?php endif; ?>
mark9
ParticipantThanks Daniel, really appreciate your prompt reply!
This is what I’ve found.
There are 9 content-*.php files in there:content-aside.php
content-audio.php
content-chat.php
content-gallery.php
content-image.php
content-quote.php
content-status.php
content-video.php
content.phpBut only one contains code that you advised to delete to fix what I was after, it’s
content.php
1] Am I correct with that?In content.php I’ve found 2 places in a code where where that piece was mention – one had “!” before pinboard_post_is_full_width() and another didn’t have “!”.
2] I only need to delete the one with “!”?And the last thing. I feel like an elephant in a porcelain shop [don’t know php code at all] and am afraid to delete anything extra. If I have to delete that code only in one place [with “!”] – this is what I will have after deletion. Does it look good? Thanks a million!!!
<article <?php post_class(); ?> id="post-<?php the_ID(); ?>"> <div class="entry"> <?php if( ! pinboard_post_is_full_width() ) : ?> <?php pinboard_post_thumbnail(); ?> <?php endif; ?> <div class="entry-container"> <header class="entry-header"> <<?php pinboard_title_tag( 'post' ); ?> class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></<?php pinboard_title_tag( 'post' ); ?>> <?php if( pinboard_post_is_full_width() ) : ?> <?php pinboard_entry_meta(); ?> <?php endif; ?> </header><!-- .entry-header --> <?php if( pinboard_post_is_full_width() ) : ?> <?php pinboard_post_thumbnail(); ?> <?php endif; ?> <?php if( ! is_category( pinboard_get_option( 'portfolio_cat' ) ) && ! ( is_category() && cat_is_ancestor_of( pinboard_get_option( 'portfolio_cat' ), get_queried_object() ) ) ) : ?> <div class="entry-summary"> <?php the_excerpt(); ?> </div><!-- .entry-summary --> <?php endif; ?> <div class="clear"></div> </div><!-- .entry-container --> </div><!-- .entry --> </article><!-- .post -->
Daniel Tara
KeymasterI’m sorry I didn’t take into account that each file has a different conditional. Whant you need to delete is this call:
<?php pinboard_entry_meta(); ?>
You’ll find 2 in most files, you can delete both.
mark9
ParticipantThanks Daniel. It’s me who needs to be sorry for bothering you with all these questions. But rest assured, I really, really appreciate your help!
I’ve checked those 9 files:
content-aside.php
content-audio.php
content-chat.php
content-gallery.php
content-image.php
content-quote.php
content-status.php
content-video.php
content.php
You were 100% right, line <?php pinboard_entry_meta(); ?> is mentioned in 2 places.
Just to reconfirm [am afraid to delete something that should not be deleted 🙂 ] – in everyone of these 9 files I need to simply deleted line
<?php pinboard_entry_meta(); ?> and nothing else?
If it’s mentioned twice [and I believe all those 9 files will have it like that] – I need to deleted this line in both places.
That’s what I need to do, isn’t it?Thanks.
Mark
Daniel Tara
KeymasterYes. You can backup your files before performing the delete to make sure you don’t lose anything.
You must be logged in to reply to this topic.