Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #3689

    Just need to know what to remove from the php in order to get rid of the date and comment count from the side of the portfolio items. I would still like to keep them in the blog though.

    Thanks a lot for your help the theme is great (second one I’ve bought from you guys). Keep up the good work.

    Joel

    #43332

    Hey,

    open up loop-index.php and loop-archive.php (located in the folder includes) and delete following code:

    <span class='post-date-comment-container'>
    <span class='date-container'><?php the_time('d') ?><strong><?php the_time('M') ?></strong><?php the_time('Y') ?></span>
    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>

    </span>

    #43333

    I also did this – aswell as removing the categories titles. As a result each posting is aligned way over toward the right. Is there a way of making them more left aligned under the title of the posting?

    Thanks

    #43334

    Can you post a link to a sample page please.

    #43335

    I have a parking page plug in active so the page wouldn’t be accessible for you to view. I can email you a screen shot or log ins?

    If you want to send me your contact email address.

    Cheers

    #43336

    Can you create me an admin account and send me the login details to: (Email address hidden if logged out) – I’ll look into it :)

    #43337

    Just set that account up there and emailed you details.

    Thanks alot for your help!

    #43338

    I’ll look into it asap :)

    #43339

    hi there

    i did the same thing with the 2 php pages, and also would like to align my portfolio body copy and title to the left where the comment container used to be; can you please post your reply to scroopey here? thanks so much :)

    #43340

    Hey,

    the date container is outside of the normal content area so the content already is left aligned. I would push the content to the left…

    #43341

    thanks, but how would i do that please? i am trying to figure out how to remove the one fifth space that is the now empty date container

    #43342

    Try to add following code to custom.css (located in the folder “css”):

    #template-blog div .blog-meta{
    display: none;
    }

    #template-blog .post-title{
    padding: 0 0 5px 25px;
    }

    #43343

    thank worked; thank you very much! :)

    jodi

    #43344

    Glad that I could help you :)

    #43345

    Broadscope Question.

    I know how to change the icon of the bubbles to the left of a post. What I would like to do is change the graphic, but remove the date and comments text. Also I would like this to only apply to portfolio post and not to blog post. Can you help?

    #43346

    Hey,

    1) The graphic can be found here: wp-content/themes/broadscope/images/skin1/bg-meta.png – you can replace it with any other image or use the psd files to modify the shape, etc.

    2) To remove the date, etc. open up single.php and replace:

    <span class='post-date-comment-container'>
    <span class='date-container'><?php the_time('d') ?><strong><?php the_time('M') ?></strong><?php the_time('Y') ?></span>
    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>

    </span>

    <?php

    $cats = get_the_category();
    if(!empty($cats))
    {
    echo '<span class="blog-categories">';
    echo '<strong>Categories:</strong>';
    the_category(', ');
    echo '</span>';
    }

    if(has_tag())
    {
    echo '<span class="blog-tags">';
    the_tags('<strong>'.__('Tags: ','avia_frameworkt').'</strong>');
    echo '</span>';
    }
    ?>

    with:

    <?php if( get_post_type() != 'portfolio' ) { ?>

    <span class='post-date-comment-container'>
    <span class='date-container'><?php the_time('d') ?><strong><?php the_time('M') ?></strong><?php the_time('Y') ?></span>
    <span class='comment-container'><?php comments_popup_link("<strong>0</strong> ".__('Comments','avia_framework'), "<strong>1</strong> ".__('Comment' ,'avia_framework'),
    "<strong>%</strong> ".__('Comments','avia_framework'),'comments-link',
    "<strong></strong> ".__('Comments<br/>Off','avia_framework')
    ); ?>
    </span>

    </span>

    <?php

    $cats = get_the_category();
    if(!empty($cats))
    {
    echo '<span class="blog-categories">';
    echo '<strong>Categories:</strong>';
    the_category(', ');
    echo '</span>';
    }

    if(has_tag())
    {
    echo '<span class="blog-tags">';
    the_tags('<strong>'.__('Tags: ','avia_frameworkt').'</strong>');
    echo '</span>';
    }
    ?>
    <?php } ?>

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘Removing the Comment and date speach bubbles from the side of portfolio pieces’ is closed to new replies.