0

can i know how to remove date part from a blogger post

for ex check the below url: http://w2t-minit.blogspot.in/2015/03/photoshop-effects-part-2.html but i want that to be like below url http://w2t-minit.blogspot.in/photoshop-effects-part-2.html

i dont want the date part “2015/03” to be posted can you help me how to remove that ??

thanks

narendra
  • 21
  • 1
  • 1
  • 8

3 Answers3

1

Unfortunately, it's impossible on Blogger.

web_xaser
  • 388
  • 5
  • 10
0

Split the absolute url, and extract the parts with REGEXP :

$url = parse_url('http://w2t-minit.blogspot.in/2015/03/photoshop-effects-part-2.html');
preg_match('#\/\d{4}\/\d{2}\/(?P<url>.*)#', $url['path'], $matches);

$matches['url'] will contain photoshop-effects-part-2.html . then re-assemble a full url :

$dateless = $url['scheme'] .'://'. $url['host'] .'/'.$matches['url'];

EDIT : I think I have misunderstood the question here. I though is was tagged PHP...

JesusTheHun
  • 1,217
  • 1
  • 10
  • 19
0

Sure narendra,

Replace:

span#metaDetail span#datePosted {
float: left;
margin-left: 30px;
height: 32px;
line-height: 32px;
}

with:

span#metaDetail span#datePosted {
display: none;
}
Carrie
  • 1
  • 1