• Resolved Beel

    (@beel)


    I am trying to wrap my head around the new is_paged() and need a little help. I had this:
    <?php if (is_archive()) : // Only show excerpts on archive pages
    the_excerpt();
    else :
    the_content(‘Continue reading “‘ . get_the_title() . ‘”…’);
    endif; ?>
    But now scrolling through the “next page” links just shows the excerpts. If I add !is_paged() that works here, but messes up the next page in the archives. What to do, what to do? 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • See this thread on the hackers list. I guess the question is, should pages off of home be considered archives? Opinions?

    Instead, why don’t you give us a function setAsArchive( boolean $isArchive )? 😛 Just kidding.

    hello all,
    hmm, i’m very keen to know the answer of your query Beel because i wanted to do or have that function too on my blog.
    michiko

    Thread Starter Beel

    (@beel)

    I am not spending too much time on it at the moment as is_paged() is a WIP and may or may not be around long as is, if at all.
    Sounds like some feedback is in order – should pages be considered archives?

    Nop

    Pages should not be considered archives, but they should be as fully editable as any other post (i.e. category, timestamp, etc.).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Incorporating the new is_paged()’ is closed to new replies.