WordPress.org

Ready to get started?Download WordPress

Forums

Problem with cutting post text on homepage. (3 posts)

  1. SBDomains
    Member
    Posted 1 year ago #

    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:

    <?php

    // functions for cutting text content
    function excerpt($num) {
    $limit = $num+1;
    $excerpt = explode(' ', get_the_excerpt(), $limit);
    array_pop($excerpt);
    $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);
    array_pop($content);
    $content = implode(" ",$content)."B";
    echo $content;
    }

    function title($num) {
    $limit = $num+1;
    $title = explode(' ', get_the_title(), $limit);
    array_pop($excerpt);
    $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:
    http://durnynas.lt/ (Homepage)
    http://durnynas.lt/automobiliu-salono-reklama (this is how I would like it to look like on the homepage or category [except comments])

    PLEASE!

  2. SBDomains
    Member
    Posted 1 year ago #

    This is the demo of this theme - http://themes.jozoor.com/wp/crevision/white/blog-3/

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Unfortunately, per forum policy commercial themes are not supported here - so you'll need to go to Theme Forest for help with the theme if the developer won't solve a theme problem. There's really nothing anyone here can do because commercial themes are not available for use or testing, and it's part of what you paid for. If you can't get it sorted, perhaps ask for a refund and find a theme that is supported well or one that is supported here -- all of these are:

    http://wordpress.org/extend/themes/

Topic Closed

This topic has been closed to new replies.

About this Topic