Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter turko

    (@turko)

    ok thanks, I thrown it 🙂

    Thread Starter turko

    (@turko)

    in case there is no limit on host?

    Thread Starter turko

    (@turko)

    stil 0 pages cached unfortunately!

    Thread Starter turko

    (@turko)

    yes, when i add that line back it works, but plugin doesnt cache any page!

    WP-Cache
    * 0 cached pages
    * 0 expired pages
    WP-Super-Cache
    * 0 cached pages
    * 0 expired pages.

    i make “wp-content” chmod 755
    i have “wp-content/wp-cache-config.php”
    – i have “wp-content/advanced-cache.php”
    – i add codes related htacces to .htacces
    – i configured plugin its setting page
    – mod rewrite and permalinks enabled. (mod mime i dont know how to control)
    – there isn’t any directory like “wp-content/cache/supercache/”
    – my domain is without “www”
    – my blog is in main directory
    – my config.php ->
    .
    .
    require_once(ABSPATH.’wp-settings.php’);
    define(‘WP_CACHE’, true);
    ?>
    – php safe mod is disabled

    what can i do more to operate the plugin well?

    Thread Starter turko

    (@turko)

    really thanks for your large message, but they all about content in main area,
    im talking about just sidebar, last messages, main area isnt problem, i dont concern “read more” tag

    these codes much closer what i say, but i dont know how edit it for just sidebar

    function the_content_limit($max_char, $more_link_text = '(more...)', $stripteaser = 0, $more_file = '') {
        $content = get_the_content($more_link_text, $stripteaser, $more_file);
        $content = apply_filters('the_content', $content);
        $content = str_replace(']]>', ']]>', $content);
    
       if (strlen($_GET['p']) > 0) {
          echo $content;
       }
       else if ((strlen($content)>$max_char) && ($espacio = strpos($content, " ", $max_char ))) {
            $content = substr($content, 0, $espacio);
            $content = $content;
            echo $content;
            echo "<a href='";
            the_permalink();
            echo "'>"."..."."</a>";
            echo "";
            echo "<a href='";
            the_permalink();
            echo "'>".$more_link_text."</a>
    ";
       }
       else {
          echo $content;
       }
    }
    
    ?>

    my sidebar:

    • <h2>Last Posts</h2>
      <?php get_archives(‘postbypost’, 15); ?>
      –> if i can add a function here that explain each messages with a few words, it will perfect.
    Thread Starter turko

    (@turko)

    i also searched codex, but found nothing

Viewing 6 replies - 1 through 6 (of 6 total)