Buy me a coffee

(Blog Page – Filter Plugin) Make Blog post open in New Tab

#1. First, add this line to the top of the Universal Filter Plugin code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>

Something like this:

Blog Page Filter Plugin Make Blog Post Open In New Tab 01

#2. Next, find this code (bottom of Universal Filter Plugin code). Each site will has a bit different.

Blog Page Filter Plugin Make Blog Post Open In New Tab 02

and change it to this:

search: {
                enabled: true,// if false, no Search input will be showed
                text: 'Search By Name',
              	searchFunc: 'title',
                }, 
                hooks: {
                onFilter: function(){$('[class*="blog-"] article.blog-item a').attr("target","_blank");},
            }
        }
    }]
};

Blog Page Filter Plugin Make Blog Post Open In New Tab 03