Support » Themes and Templates » Problem with cutting post text on homepage.

  • Hello. I have bought a theme, which looks perfect for my website, but it’s creator couldn’t explain me how to make it show full posts on homepage and categories (things that he mentioned on Options doesn’t work at all)… The thing is that I need to see “Like” buttons and full text of post on homepage or a category, but I see full post only when I go to single post…

    What I’ve found that there is file called content-limit.php and it looks like that:


    // functions for cutting text content
    function excerpt($num) {
    $limit = $num+1;
    $excerpt = explode(‘ ‘, get_the_excerpt(), $limit);
    $excerpt = implode(” “,$excerpt).”A”;
    echo $excerpt;

    function content($num) {
    $theContent = get_the_content();
    $output = preg_replace(‘/<img[^>]+./’,”, $theContent);
    $limit = $num+1;
    $content = explode(‘ ‘, $output, $limit);
    $content = implode(” “,$content).”B”;
    echo $content;

    function title($num) {
    $limit = $num+1;
    $title = explode(‘ ‘, get_the_title(), $limit);
    $title = implode(” “,$title).”C”;
    echo $title;


    I tried to change that on my own, so I could see a full posts in Homepage and categories, but I always came up with some error… Maybe anyone would know how to change that, so I could see full post?

    Also I’ve found limit mentioned on index.php and I’ve deleted it, but nothing hapenned…

    If anyone here can help me, I beg You!

    Here is an example: (Homepage) (this is how I would like it to look like on the homepage or category [except comments])


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with cutting post text on homepage.’ is closed to new replies.