Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Tags not working
    Thread Starter mcdonagh.matthew

    (@mcdonaghmatthew)

    The more I think about, the more sure I am this issue is related to changes I made in order to make the Older Posts button work. The thing is I don’t want to undo the changes I made, because I want my older posts button to work.

    Thread Starter mcdonagh.matthew

    (@mcdonaghmatthew)

    Again, the search function is not working on the site since I made the above modifications. Any ideas on how to have my cake and eat it too (keep the older posts work, and fix the now broken search function).

    Thanks in advance, this whole community rocks!

    Thread Starter mcdonagh.matthew

    (@mcdonaghmatthew)

    Update:

    The second category (1660, Production) is still not being excluded succesfully.

    In addition, my search feature is no longer working. I made 2 changes since it last worked, the above edit and the installation of a plugin (Subscribe2). I deactivated Subscribe2 and the problem remained, so I am confident it has something to do with the above edit.

    As a reminder my URL is:
    https://www.derangeddiaries.com

    Thanks in advance for helping me out!

    Thread Starter mcdonagh.matthew

    (@mcdonaghmatthew)

    Esmi-

    That worked beautifully! The older posts functionality works. One small issue, the second category exclusion (category 1660 in my case), is no longer working. It’s curious because the first exclusion is. Here is the code I have in place:

    <?php
    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    $args= array(
    ‘cat’ => -675, -1660,
    ‘paged’ => $paged
    );
    query_posts($args);
    ?>

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