Jump to content
Sign in to follow this  
duncan

Blog sub-heading

Recommended Posts

duncan

Under the title of my post I get a grey background line e.g. "On 15 June 2010, in General, by Duncan" I don't particularly want this because I don't have categories yet (just starting) and all the posts are by me. I'd prefer to have just the date and perhaps that at the end of the post rather than at the start. Can I change it and how?

Share this post


Link to post
Share on other sites
bryan-hadaway

The easiest approach would be to simply hide the whole thing via CSS, by adding this to the Custom CSS section:

.metabar{display:none}

To remove only specific parts of it you'll need to hard code it. Before I provide that solution are you comfortable with that and you should also understand that this customization will be undone by any future upgrades and have to be repeated. Thanks, Bryan

Share this post


Link to post
Share on other sites
duncan

That worked right away - thanks! It would be great to learn how to do the hard code. (I am a learner here, but I learn fast.) I would like to play around with CSS. Is there somewhere I can see the codes that can be used, or is this the kind of knowledge that anybody who really knows what they are doing would just know?

Share this post


Link to post
Share on other sites
bryan-hadaway

Well, no matter what your skill only the people who developed these themes and WordPress from scratch just know, the rest of us have to dig in there and figure it out, if you know what you're looking for and what to do with it when you find it that helps ;). But, WordPress is a great learning tool for CSS and XHTML in general. I certainly wouldn't discourage you from getting your hands dirty and learning, but I do strongly advise that you backup all your files and database. Then, the files you want to start playing with are; from your WordPress admin: Appearance > Editor > Stylesheet (style.css), Header (header.php) and Footer (footer.php) I strongly recommend doing some learning over at: http://www.w3schools.com/ and then checking your work with this tool: http://validator.w3.org/ The W3C (World Wide Web Consortium) is considering by most to be the foremost authority on web standards. Thanks, Bryan

Share this post


Link to post
Share on other sites
duncan

This is useful. Could you point me to exactly where in the code is the reference to: - the meta line at the head of each post with blogger name, date and category? - the stuff that appears in the footer under "other" Thanks! Duncan

Share this post


Link to post
Share on other sites
cmunns

The meta bar itself (HTML and PHP) is in the _posts.php file. `

<?php _e('On',TDOMAIN);?> <?php the_time(get_option('date_format')); ?>, <?php _e('in',TDOMAIN);?> <?php the_category(', ') ?>, <?php _e('by',TDOMAIN);?> <?php the_author(); ?> <?php edit_post_link(__('(Edit Post)', TDOMAIN), ' ', ' ');?>
` Not sure what the "other" thing is you're referring to though

Share this post


Link to post
Share on other sites
duncan

Thanks. I can see how to amend the metabar from the code. One last question, where do i find the _posts.php file?

Share this post


Link to post
Share on other sites
bryan-hadaway

From your WordPress admin, navigate to: Appearance > Editor > _posts.php Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×