Support » Themes and Templates » Stylesheet stripped from page 2 of posts

  • Resolved Yakusoya


    I am using WordPress as a CMS for my portfolio and I’m still in the process of setting up my page templates. I have a custom page template that shows only posts from one specific category. I set it to show only 5 posts per page and then direct the user to page 2. But on page 2, the stylesheets are not being applied at all even though it is using the same page template that worked for all other pages. This happens with both FF3.0.11 and IE6.
    (Scroll to bottom to click to page 2)

    And here is my custom loop which I think is the source of the problem.

    <?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
    while ( have_posts() ) : the_post() ?>
    <?php the_content('', FALSE, ''); ?>
    <?php endwhile; ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • I tested it some more and it seems the problem is my permalink structure. There’s a problem with the pagination if I set it to /%category%/%postname% . I just reverted back to the default and the second page shows up styled now. Does anyone a fix for this?

    I found a solution finally thanks to this post in the forums. For people who might have this problem in the future, make sure your permalinks is not set to just %postname%. But even in this case with both /%category%/%postname% it stripped the stylesheets. So use full URLs to the CSS in your header.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stylesheet stripped from page 2 of posts’ is closed to new replies.