WordPress.org

Forums

WP-PageNavi
Remove css from (3 posts)

  1. jamiebisson
    Member
    Posted 2 years ago #

    How do i remove the following lines form my <head> as I cannot find the lines in header or custom header:

    <style type="text/css">.broken_link, a.broken_link {
    text-decoration: line-through;
    }</style>

    Do I just add the following lines to functions.php:

    <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentyten' ) ); ?></div>
    <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentyten' ) ); ?></div>

    Thanks

    Jamie

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. jamiebisson
    Member
    Posted 2 years ago #

    sorry, that was supposed to read....

    should I replace:

    <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div>
    <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div>

    with:

    <?php wp_pagenavi(); ?>

    in functions.php

    thanks guys sorry for the mixup

    Jamie

  3. jamiebisson
    Member
    Posted 2 years ago #

    Oh, I am tired and not making sense.... let's try this for one last time. I am using the twentytwelve theme.

    I have 2 issues:

    1st issue) How do I remove the following script from my <head>, as I want to add it to my style.css:

    <style type="text/css">.broken_link, a.broken_link {
    text-decoration: line-through;
    }</style>

    2nd issue) should I replace:

    <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div>
    <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div>

    with:

    <?php wp_pagenavi(); ?>

    in functions.php

    Thanks.... that's better....

    I hope you can help

    Jamie

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic