Remove Byline from a single post
I read this related post: http://forum.bytesforall.com/showthr...ndividual+post, used the code provide therein, inserted it into the "Center Column Style" section of my ATO but nothing happened. See code below.
The post ID is #1. I'm using ATO v. 3.6.7 Suggestions? PHP Code:
|
Center colum style is for CSS not code
You need to edit index.php |
OK. I think I've got it. So for ATO v. 3.6.7 I have to edit the index.php directly. I also have an web site using v 3.4.9, and have a bunch of code inserted within the front-end ATO. Set up a new, quickie site this weekend with the new version and didn't note all the changes.
Thanks. vCopia |
Could you do it by setting it to "display:none" using CSS inserts? (And using the post number.) That would keep you from having to edit theme files.
|
Nope. Spoke too soon. I ain't "got it" yet...
Tried inserting the code, as written above, in the index.php. First, I inserted it into the loop section, and when that didn't work I inserted it above the loop section. Both give me fatal errors. So... I'm guessing there is an error in the code, itself, as I've written it, that I'm not seeing. Thoughts? vCopia |
Quote:
|
sure you could do it with CSS, just have to have the right selector.
HTML Code:
div.post-1 .post-byline {display:none;} |
It worked. Gotta love a wise woman backed by a genius geek. Thank you both.
vCopia. |
All times are GMT -6. The time now is 09:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.