dab4ma
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Fixing WordPress
In reply to: post title lengthhmm, all is ok. I did reset all settings and walking step by step I found all mistakes. thnks
Forum: Fixing WordPress
In reply to: post title lengthwell, your right, default theme TwentyTen has no limits on the post title – this theme HAS the limit on the post title – 77 signs determined by the DIV (page width, I think). The long title (80 signs) is no breaking into a second line. I tested it on the new, virgin instalation.
The problem is the same as in my working theme ‘adsensationblue’.
Is a little problem with the link, it’s a localhost :)).Forum: Fixing WordPress
In reply to: post title lengthanyone don’t have this info??
Forum: Fixing WordPress
In reply to: post title lengththe default theme of 3.0
Forum: Fixing WordPress
In reply to: substr(the_title()thnks, it works correctly. 🙂 brgs
and now the code looks like
<div class="bottom-left"> <h3><?php _e('Recent Posts'); ?></h3> <ul> <?php global $post; $myposts = get_posts('posts_per_pages=6'); foreach($myposts as $post) : setup_postdata($post);?> <li><a>"><?php if ( strlen(get_the_title()) > 26 ) { echo substr(get_the_title(), 0, 26)."..."; } else { the_title(); } ?></a></li> <?php endforeach; ?> </ul> </div>couse we don’t want the ‘…’ every time, ya? :))
thnks for good guys
Forum: Fixing WordPress
In reply to: substr(the_title()thnks, but no good. this gives only points ‘…’
Viewing 6 replies - 1 through 6 (of 6 total)