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
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
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>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
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?
OK, found the index.php file. It's inside the newscast theme folder.
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.
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.
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;}
You must log in to post.