Perth FP: fact widget

am using “Perth FP: fact widget” …there are just 4 fact text available … i need additional one to be 5 facts …is there any way to make that ??

Hello there,

In order to achieve that objective, could you please try to do the following?

  1. Install and activate the Header and Footer Scripts plugin. Go to Settings > Header and Footer Scripts.

  2. Paste the following to the “Scripts in header:” box

@media only screen and (min-width:992px){
    width: 19%;

  1. Paste the following code into the provided “Scripts in footer:” box


  if ( $( '.facts-area' ).length ) {

    var factIcon = 'fa-home';
    var factValue = '999';
    var factName  = 'My fact name';
    var newFactHTML = '<div class="fact"><div class="fact-icon"><i class="fa '+factIcon+'"></i></div><div class="fact-value" data-to="'+factValue+'">'+factValue+'</div><div class="fact-name">'+factName+'</div></div>';

    $( '.facts-area' ).append(newFactHTML );


Adjust the following variables’ values:

var factIcon = 'fa-home';
var factValue = '999';
var factName  = 'My fact name';

  1. Save settings

Clear your web browser’s cache before reloading your site.


its woooooorrrk :))

than you for your support :slight_smile: