• Creator
    Topic
  • #8287

    Tom Conrad
    Spectator
    Been thanked: 0 times

    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

Viewing 6 replies - 1 through 6 (of 6 total)
Replies
  • Roman
    Keymaster
    Post count: 2538
    Been thanked: 29 times
    #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
    Post count: 3
    Been thanked: 0 times
    #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
    Keymaster
    Post count: 2538
    Been thanked: 29 times
    #9463 |

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

    julien leroy
    Spectator
    Post count: 3
    Been thanked: 0 times
    #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
    Keymaster
    Post count: 2538
    Been thanked: 29 times
    #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
    Post count: 3
    Been thanked: 0 times
    #9466 |

    awsome 😀 it works!! thank you very much Roman

Viewing 6 replies - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.