| | #1 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
I want to hide all this crap from my posts, 'Posted on <span class="sdata" title="April 24, 2015"></span> by plumbob'. I did get a plugin to hide dates. Not sure if it works right as I only have content in draft for so far. But it doesn't look like it. But I want all of that gone, without resorting to an HTML site layout. Does anyone know how I can do this, without getting into editing my CSS as I know not a damn thing about that and it is all gibberish to me. Unfortunately. My coding stopped with basic HTML. Anyone got any ideas, I would appreciate it. |
|
Tim Pears
| |
| |
| | #2 |
| Create Your Success Join Date: 2015
Posts: 44
Thanks: 0
Thanked 18 Times in 17 Posts
|
Hi ;-) Of course, quick way is to add CSS, like this: https://wordpress.org/support/topic/...ate-and-author ...but you can use plugins like this: https://wordpress.org/plugins/wp-aut...-meta-remover/ (quick and easy) https://wordpress.org/plugins/show-hide-author/ Best Regards, Arthur |
| | |
| |
| The Following User Says Thank You to MarketingWithArthur For This Useful Post: |
| | #3 |
| Warrior Member Join Date: 2015
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
.sdata { display: none !important; } This should work. Just paste that into the bottom of your .css folder. May hide things you don't want to hide also depending on what else is under that class though. |
| |
| | #4 |
| HyperActive Warrior War Room Member Join Date: 2014 Location: New Zealand
Posts: 210
Thanks: 25
Thanked 81 Times in 71 Posts
|
I know you said no css, but it really is the only way to do it (short of digging into PHP). FreedMarketing's response will remove the date, but (most likely) not the author.. With what you've posted here, there isn't enough info to give you the right css yet.. Can you post a little more around the date/author part in your code (eg. 1 or two tags further up the dom)? That should be sufficient to give you the css you need. Cheers, Michael |
| | |
| |
| | #6 |
| Active Warrior Join Date: 2015
Posts: 45
Thanks: 9
Thanked 8 Times in 8 Posts
|
I wouldn't be afraid of editing the php files. You don't need any programming skills for that. In most themes the files to look at would be index.php, single.php, perhaps content.php. Just find the piece that says "Posted on <span... etc." and delete (just make sure you don't also delete any if's, else's and weird <? things and you'll be fine. Takes 2 minutes and it's a much better solution than css or anything else. Only downside is that when your theme gets updated, the files may be overwritten and you may need to do it again. When I do something like this, I note the parts which I have edited/deleted (and ideally row numbers) in a separate text file (you can name it like _notes.txt and keep it in the theme folder). Edit: If you have some very basic html skills, that will make this task even easier. If you know the open tag - close tag logic, that's all you need. |
| Last edited on 25th Apr 2015 at 07:35 PM. Reason: Add the final remark | |
| |
| | #7 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
I am gonna go with the plugin. I tried to edit the CSS as shown, but it didn't work and made a mess showing some weird code where the author and date used to be. Thanks everyone for their help though, it was a fun experience. |
|
Tim Pears
| |
| |
| | #8 |
| VIP Warrior War Room Member Join Date: 2008 Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
|
Oh well, now I really screwed it up. I got this showing up and I reinstalled the theme and overwrote all the files on my server via my FTP software. The reinstall failed, so I unzipped it and uploaded it via FTP. This is what shows. Posted on <span class="sdata" title="April 27, 2015"></span> by plumbob If anyone wants to help me with this, I don't have a lot of money, but I can pay you something. Someone said it was easy, but maybe I should just look for a new theme. It was hell finding this one as nothing I had would let me use my own header graphic. Damn, why do I get myself into this all the time? If it can be screwed up, I will find the way to screw it up. If it can't be screwed up, I will still find a way it seems. |
|
Tim Pears
| |
| |
| | #9 | |
| Advanced Warrior War Room Member Join Date: 2012 Location: Philadelphia, PA
Posts: 629
Thanks: 39
Thanked 197 Times in 103 Posts
|
| |
| | ||
| |
| | #10 |
| HyperActive Warrior War Room Member Join Date: 2014 Location: New Zealand
Posts: 210
Thanks: 25
Thanked 81 Times in 71 Posts
|
Add this css any way you want (eg. css plugin, in the theme's style.css file, etc..) .postmeta { display: none; } Unless you're planning on using categories or tags (and you want them visible), that will do what you need. Cheers, Michael |
| | |
| |
|
| Bookmarks |
| Tags |
| authoe, date, hide, wordpress |
| |