Learn exactly how to makeBETTER WEBSITES RIDICULOUSLY FAST

Get exclusive tips that'll help you master WordPress, Beaver Builder and lots more.

Numbered Post Navigation in the Beaver Builder Theme to increase reader usability

The default Post Navigation that comes with the Beaver Builder Theme does what it’s suppose to do.

It allows your readers to navigate through the pages of your blog.

Master Beaver Builder in 30 days!

Enter your email below to join over 900 people just like you and get 1 mind-blowing Beaver Builder tip each day for the next 30 days.

Below is a screenshot of what the default Post Navigation looks like with the Beaver Builder Theme and what we’ll be changing to a numbered Post Navigation through this tutorial.

default-beaver-builder-theme-post-navigation

But there’s a serious downfall in our eyes.

With the default Post Navigation in the Beaver Builder Theme the reader can only navigate between one Post at a time.

This is why we always recommend a numbered Post Navigation for your Blog, similar to the below.

Final outcome of this custom numbered Post Navigation tutorial.

This is the final custom numbered Post Navigation that we have created.

And this is exactly what we’re going to create in this Post.

Step 1: Copy index.php from the Parent Beaver Builder Theme into your Child Theme

NOTE: You should always use a Child Theme when designing your websites, so we will assume for this tutorial that you ARE in fact using a child theme.

Using your FTP client or cPanel, navigate to the Parent Beaver Builder Theme folder located at /wp-content/themes/bb-theme and copy the index.php file from the Parent Beaver Builder Theme and paste it into your child theme.

For example, if you are using our highly popular Electro CHARGE child theme, you would copy the index.php file from the BB Parent Theme folder into /wp-content/themes/electrocharge.

NOTE: If your Beaver Builder Child Theme already contains an index.php file, you may be able to skip directly to step two but it will depend on how your Child Theme is coded.

  • thumb-bewell

    BeWell

    $69.00
    Live PreviewAdd to basket
  • thumb-electrician

    Electro CHARGE

    5 out of 5
    $69.00
    Live PreviewAdd to basket
  • thumb-FemiBlogger

    FemiBlogger

    $69.00
    Live PreviewAdd to basket
  • thumb-fitness-direct-template

    FitnessDirect

    5 out of 5
    $69.00
    Live PreviewAdd to basket

Step 2: Replace the built-in Beaver Builder Post Navigation with the custom numbered Post Navigation

In the index.php file that you just copied into your child theme, look for the line

<?php FLTheme::archive_nav(); ?>

(that appears AFTER the while loop) and replace it with all the code below.

Then, save the index.php file you just edited in your Child Theme.

Step 3: Add some CSS to style the numbered Post Navigation and ensure the navigation sits under the Posts

Edit your Child Theme’s style.css file (or go to wherever you add your CSS in your website) and add the below CSS code.

ABOUT THE ABOVE CSS

  1. We float the navigation left and add a CSS clear on it so that the custom numbered Post Navigation sits under the list of posts on our Blog page.
  2. .odw-pagination * we space out our numbers so they aren’t too close together

And that’s it!

After you’ve added the simple code snippets above, you should have something similar to the below on your blog.

Final outcome of this custom numbered Post Navigation tutorial.

This is what we’ve created as the end result. You can add additional CSS to style the numbers.

Here’s some ready-made CSS styles

We’ve written some CSS to help you quickly style your new numbered Post Navigation. All you have to do is fill out the form below to get the CSS for the different styles below.

BLOCK POST NAVIGATION
post-navigation-blocky

BLOCK ROUNDED POST NAVIGATION
post-navigation-block-circular

ROUNDED SQUARE MINIMAL POST NAVIGATION
post-navigation-rounded-square-minimal

Complete the form below to instantly get the CSS for styling the numbered Post Navigation in the styles shown above

Master Beaver Builder 

Join over 900 people and get 1 mind-blowing Beaver Builder tip each day

x