• Resolved Paul Ille

    (@tunnleram)


    I have a loop setup on my page for both posts and topics and it’s pulling randomly topics “From the Archive:” ( https://www.paulille.com )

    Is this controlled by the loop? Or somewhere else? I’d rather stop this from happening.

Viewing 12 replies - 1 through 12 (of 12 total)
  • My first thought: Look in your header.php file, under the <title> tag. There’s likely some PHP in there that’s doing it.

    How are you running this loop? Are you using wp_query()?

    What is a “topic”?
    What I see on the top right in the sidebar = the 5 most recent posts.

    Thread Starter Paul Ille

    (@tunnleram)

    yas, thx I’ll look closer at that tonight. For that page I’m not using wp_query. It should be pulling from all categories.

    Moshu, by topic I mean title. What I did was get post information, but only display the title. Is that wrong to do? Is there a better way?

    The real issue is that the second post shown is being pulled from the archive randomly and I have no idea why. This happens both in the side bar and the main post area.

    Thread Starter Paul Ille

    (@tunnleram)

    yas, sorry for the delay, here’s the way I’m running the loop for the ‘my Topics’ section on the right:

    <?php query_posts('showposts=5'); ?>
    <?php while (have_posts()) : the_post(); ?>
    &nbsp;&nbsp;<a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    <?php endwhile;?>

    for the ‘my Journal’ section on the left I’m running the following loop:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <?php if ( in_category('1') ) { ?>
    <?php } else { ?>
    <?php } ?>
    <a>"rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
    <?php the_time('F jS, Y'); ?> by <?php the_author() ?>
    <?php comments_popup_script(450, 450); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    <?php the_content(); ?>

    It seems that the random archive post comes up in both loops, but they are usually different ones.

    Thread Starter Paul Ille

    (@tunnleram)

    When I looked in the default template’s index.php..through ‘view source’ I see the following lines:

    [code]
    </style>
    <link rel='archives' title='December 2005' />
    <link rel='archives' title='November 2005' />
    </head>
    [/code]

    I don’t see that on my index.php

    In the header.php I see:
    [code]
    <?php wp_get_archives('type=monthly&format=link'); ?>
    [/code]

    but I’m not sure that’s relevant.

    Any ideas?

    Thread Starter Paul Ille

    (@tunnleram)

    bump, I’m going to look at this again in a few. Any help is much appreciated.

    Thread Starter Paul Ille

    (@tunnleram)

    I can’t figure this out. Can someone give me a hand?

    Every second post using the loop shown above is from the archive. It’s preceded by saying “From the archive:”

    All I need to know is where that “From the archive:” text is coming from and I could probably fix it, but I can’t find it!!! It’s making me angry hehe

    Thread Starter Paul Ille

    (@tunnleram)

    Mystery eh? No one? Nice.

    yas

    (@yas)

    You’re not going to find the answer by using “view source”. The problem is somewhere in your PHP files…

    8wheels

    (@8wheels)

    Thread Starter Paul Ille

    (@tunnleram)

    Yeah, thx I did a text search and couldn’t find the phrase “from the archive” anywhere which is annoying…as well as the fact that no one in the forums seems to know where it is eh I stopped looking for it a long time ago…although I’d really like to know.

    Thread Starter Paul Ille

    (@tunnleram)

    Omg, I feel like a moron. I just stumbled onto the answer to my issue. I had the plugin called Archivist activated.

    Fixed lol

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘“From the Archive:” and stopping it’ is closed to new replies.