Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lester Chan

    (@gamerz)

    1. I am using bootstrap http://getbootstrap.com/css/#responsive-utilities, so I am using visible-lg class on the navi, so it will hide anything smaller.
    2. Nope.

    uebas

    (@uebas)

    Put example here Lester

    Plugin Author Lester Chan

    (@gamerz)

    This is the exact code I am using for https://lesterchan.net

    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi('<nav class="pagination visible-lg">', '</nav>'); } ?>
    	<nav class="hidden-lg">
    		<ul class="pager">
    			<li class="previous"><?php previous_posts_link('&larr; Previous'); ?></li>
    			<li class="next"><?php next_posts_link('Next &rarr;'); ?></li>
    		</ul>
    	</nav>
    Thread Starter hoboken411

    (@hoboken411)

    How can you find out if your theme uses Bootstrap? Are there alternate ways if I don’t have it?

    Plugin Author Lester Chan

    (@gamerz)

    Sorry I don’t have alternative ways. If you don’t know if your theme use bootstrap, contact your theme author.

    Hi, where exactly should I place the code above (assuming our theme uses Bootstrap)?

    Plugin Author Lester Chan

    (@gamerz)

    Depends on how your theme is coded, i place it in index.php, archive.php, tags.php and category.php

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘hide on mobile / responsive?’ is closed to new replies.