Eliminate Title Links and Date, Author, etc
URL to the page in question:
-
Hey. I love the theme. Question. I would love to get rid of the ability to click the title of the post and hid or get rid of the date, author, comment, and category heading once i post. Is there any way to do so?
Good Morning Carl,
I’m glad you’re enjoying the theme. You can change those items with a bit of editing. Here’s what to do:
- Go to the Appearance section in your WordPress control panel and select Edit.
- From the list of files on your right, choose index.php and find this line:
<h2 class="title"><a href=""><?php the_title(); ?></a></h2>
- Replace that with this:
- Save your changes.
That should remove the title links from the blog section. To remove the date, author and so on, do this:
- Go to the Appearance section in your WordPress control panel and select Edit.
- From the list of files on your right, choose post-meta.php
- Replace everything in that file with this:
- Save your changes.
That should take care of the “post meta” information line.
If you run into any questions or trouble, just let me know.
Have a great week,
Bill
That did delete the link ability in the title, but how can I keep the color behind it?
You can do that too. The link is what sets the background and text color there so it can have a different hover state. Here’s how to make it work without the links there:
- Go to the Theme Options page and select the Styling tab.
- Scroll down to the Custom CSS box and paste this:
h2.title {
color: #ffffff;
background-color: #a01113;
}
- Replace the #ffffff with the color you'd like the text to be and the #a01113 with the color you'd like to have in the background there.
- Update your settings.
Let me know if you run into any trouble,
Bill
Sweet! Have a great day. We’re here if you need anything else.
- The topic ‘Eliminate Title Links and Date, Author, etc’ is closed to new replies.