Support » Plugin: WP-PageNavi » wp-pagenavi css is used when no page navigation is displayed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author scribu

    (@scribu)

    Yeah, the problem is that there’s no way of knowing beforehand, especially when query_posts() comes into play.

    Plugin Author scribu

    (@scribu)

    The two possible solutions both involve loading the stylesheet after the call to wp_pagenavi():

    a) use javascript to insert the stylesheet in the head (ugly).

    b) output the stylesheet directly in the body (doesn’t work for older browsers).

    I got it, thanks for the answer.
    Then it’s better to include page navigation styling to main stylesheet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-pagenavi css is used when no page navigation is displayed’ is closed to new replies.