Hi,
This should work
sub {
my $post_subject = shift;
return $post_subject unless(length($post_subject)>30);
return substr($post_subject,0,30);
}
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
This should work
sub {
my $post_subject = shift;
return $post_subject unless(length($post_subject)>30);
return substr($post_subject,0,30);
}
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog