• Closed
  • Tom Conrad
    Spectator
    February 26, 2014 at 10:26 am #8287

    Hi,
    On my frontpage (www.geld-im-internet.net) all the post titles are automatically cut after a few words. Does anyone know how to deactivate this function. I want my titles to be displayed completely.

    Thx a lot

    Tom Conrad

    Roman
    Spectator
    Posts: 3147
    February 26, 2014 at 7:25 pm #9199

    you will need to modify the index.php file and find and replace this:

    Code:
    <?php
    if ( get_the_title() ){ $title = the_title(”, ”, false);
    echo evltruncate($title, 40, ‘…’); } ?></a>

    with:

    Code:
    <?php
    if ( get_the_title() ){ $title = the_title(”, ”, false);
    echo $title; } ?></a>

    julien leroy
    Spectator
    Posts: 3
    April 12, 2014 at 2:38 am #9461

    Hello,

    I have the same problem and I tried to replace the script but it doesn’t work. Do you have an idea why?
    My website: http://www.1globe2reves.com

    thank you

    Roman
    Spectator
    Posts: 3147
    April 12, 2014 at 9:47 am #9463

    be sure you modified them both…there are 2 times in the index.php file

    julien leroy
    Spectator
    Posts: 3
    April 12, 2014 at 11:20 am #9464

    Thanks for your answer. Is it exactly the same code? because I found just one time this code on index.php
    : <?php
    if ( get_the_title() ){ $title = the_title(”, ”, false);
    echo evltruncate($title, 40, ‘…’); } ?></a>

    I can have the full title on the others pages but not in my home page.

    Roman
    Spectator
    Posts: 3147
    April 12, 2014 at 11:34 am #9465

    look especially for this:

    Code:
    echo evltruncate($title, 40, ‘…’);

    if you are using a blog template as your homepage, you need to do this change in the template file also – content-blog.php file

    julien leroy
    Spectator
    Posts: 3
    April 12, 2014 at 11:42 am #9466

    awsome 😀 it works!! thank you very much Roman