LOVE ART? CLICK TO SAVE 10%

 

Blog

A blog by - Blog For Interior Designers 119

Get our newsletter for exciting, new artwork, to meet the artists, and find home decor ideas.

jQuery(document).ready(function(){ jQuery('a.page-numbers').each(function(index) { var oldUrl = jQuery(this).attr('href'); // alert("test: "+oldUrl); var patt = /\/[0-9]\//; var result = oldUrl.match(patt); var result2 = '/page' +result; url = oldUrl.replace(result, result2); jQuery(this).attr('href', url); }); });