Have a look in index.php for <?php the_title(); ?>. My guess is that there’s an extra PHP function being run on the_title to truncate it before it is displayed. If you could post the relevant line (not the whole file, please), it would help. It should look something like:
<span class="titles">
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a>
</span>
Thread Starter
de3r7
(@de3r7)
</div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '24') ?></a></span>
<?php the_excerpt(); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
Hi de3r7,
You have set the 24 character in the title..please change it to your requirement…I have highlighted here:
</div>
<span class="titles"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title2('', '...', true, '<strong>100</strong>') ?></a></span>
<?php the_excerpt(); ?>
<div class="readmore"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read More</a></div>
</div>
Thanks,
Shane G.
Thread Starter
de3r7
(@de3r7)
I doesn’t work… i changed it to 100 and the title is still the same lenght.. please help!
Why not just use the_title() in place of the_title2() …
The function the_title2 is a custom function, so why not just fall back to the regular function the_title()?
Thread Starter
de3r7
(@de3r7)
ok why not..but how? lol:P
Just replace <?php the_title2('', '...', true, '<strong>100</strong>') ?> with <?php the_title(); ?>.