Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5983

    Hello,

    I have just started working with Newscast and I’m really liking it!

    My main page is just like the demo. Is it possible to post without the date, comments and author displaying at the top of the post?

    TIA,

    goldie

    #52454

    Hey,

    in index.php delete following code:

    <div class="entry-head">
    <span class="date ie6fix"><?php the_time('M d, Y') ?></span>
    <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>
    <span class="author ie6fix"><?php _e('by','newscast');?> <?php the_author_posts_link(); ?></span>
    </div>

    and:

    <div class="entry-head">
    <span class="date ie6fix"><?php the_time('M d, Y') ?></span>
    <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>
    </div>

    #52455

    Would removal of — date, comments and author display — using the above code change, only affect the main page? I would still want those items to appear on pages meant for the blog. Can this be made a toggle selection for each page created?

    Thx,

    Wes

    #52456

    OK, now I am really confused. Went looking for the index.php file referenced in your note and could not find one that had that particular code. What directory contains the index.php file with the <div class=”entry-head”> code?

    #52457

    OK, found the index.php file. It’s inside the newscast theme folder.

    #52458

    Hi,

    the index.php file is indeed located in the theme folder. The code Dude provided will only change your homepage. A toggle to turn this on / off is harder, there are pages using different templates, though. For example, blog pages can use one template while portfolio pages can use an other template – changing the templates once will change the pages using the template.

    #52459

    how can i do this for the shoutbox theme, and leave just date, and also change its css defination

    and also change the entry content for pages and post.

    #52460

    Hi,

    you can add this to your Quick CSS or custom.css

    .blog-meta .minor-meta-wrap, .blog-meta .blog-author, .blog-meta .separator{display:none;}

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

The topic ‘Date/Comments/Author removed’ is closed to new replies.