Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • The problem is the advanced-cache.php isn’t really a file. It’s a symbolic link that points to the another file in the plugins folder. In order to get rid of it, you’ll need to “unlink” the file.

    The quickest way to do that is to login to your hosting account using SSH if you can. From there you can navigate to your wp-content folder and run “unlink advanced-cache.php”. That should get rid of it for you. Then you’ll be able to get rid of the overlying directories.

    Another option is to create a PHP file in your wp-content folder with the following snippet:

    <?php
    unlink('advanced-cache.php');
    ?>

    then just run that file directly from your browser by going to:

    yourdomain.com/wp-content/yourtempfile.php

    Hope that helps.

    Here’s some updated code that worked for me.

    <?php
    $postlist = get_posts('category='. get_the_category());
    foreach ($postlist as $post) : ?>
    <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endforeach; ?>
Viewing 2 replies - 1 through 2 (of 2 total)