Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 24th Apr 2015, 02:24 PM   #1
VIP Warrior
War Room Member
 
timpears's Avatar
 
Join Date: 2008
Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
Default
WordPress hide date, author etc.
Share on: 
fb share twitter share gplus share more share

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
timpears is offline  
Unread 24th Apr 2015, 04:24 PM   #2
Create Your Success
 
MarketingWithArthur's Avatar
 
Join Date: 2015
Posts: 44
Thanks: 0
Thanked 18 Times in 17 Posts
Default
Re: WordPress hide date, authoe etc.
Share on: 
fb share twitter share gplus share more share

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

MarketingWithArthur is offline  
The Following User Says Thank You to MarketingWithArthur For This Useful Post:
Unread 24th Apr 2015, 09:32 PM   #3
Warrior Member
 
Join Date: 2015
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: WordPress hide date, authoe etc.
Share on: 
fb share twitter share gplus share more share

.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.
FreedMarketing is offline  
Unread 24th Apr 2015, 10:06 PM   #4
HyperActive Warrior
War Room Member
 
emptee's Avatar
 
Join Date: 2014
Location: New Zealand
Posts: 210
Thanks: 25
Thanked 81 Times in 71 Posts
Default
Re: WordPress hide date, authoe etc.
Share on: 
fb share twitter share gplus share more share

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

emptee is offline  
Unread 25th Apr 2015, 01:52 PM   #5
New Warrior Member
 
Join Date: 2008
Posts: 20
Thanks: 5
Thanked 1 Time in 1 Post
Default
Re: WordPress hide date, authoe etc.
Share on: 
fb share twitter share gplus share more share

You can hire someone to edit your theme - its really very simple job

rirara is offline  
Unread 25th Apr 2015, 07:32 PM   #6
Active Warrior
 
Join Date: 2015
Posts: 45
Thanks: 9
Thanked 8 Times in 8 Posts
Default
Re: WordPress hide date, authoe etc.
Share on: 
fb share twitter share gplus share more share

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
uktrader is offline  
Unread 27th Apr 2015, 02:00 PM   #7
VIP Warrior
War Room Member
 
timpears's Avatar
 
Join Date: 2008
Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
Default
Re: WordPress hide date, author etc.
Share on: 
fb share twitter share gplus share more share

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
timpears is offline  
Unread 27th Apr 2015, 02:13 PM   #8
VIP Warrior
War Room Member
 
timpears's Avatar
 
Join Date: 2008
Location: Vancouver, WA, USA.
Posts: 5,273
Thanks: 884
Thanked 979 Times in 704 Posts
Default
Re: WordPress hide date, author etc.
Share on: 
fb share twitter share gplus share more share

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
timpears is offline  
Unread 27th Apr 2015, 02:49 PM   #9
Advanced Warrior
War Room Member
 
Join Date: 2012
Location: Philadelphia, PA
Posts: 629
Thanks: 39
Thanked 197 Times in 103 Posts
Default
Re: WordPress hide date, author etc.
Share on: 
fb share twitter share gplus share more share

Originally Posted by timpears View Post

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.
What's the link to your website? I can take a quick look and give you the new code. Should only take a minute or so.

imsolutionsgroup is offline  
Unread 27th Apr 2015, 03:12 PM   #10
HyperActive Warrior
War Room Member
 
emptee's Avatar
 
Join Date: 2014
Location: New Zealand
Posts: 210
Thanks: 25
Thanked 81 Times in 71 Posts
Default
Re: WordPress hide date, author etc.
Share on: 
fb share twitter share gplus share more share

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

emptee is offline  
Closed Thread


Bookmarks

Tags
authoe, date, hide, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:12 PM.