Hi,
@ejcabquina asked me to open a topic for this problem here.
I am using the WP Show Posts plugin together with Generatepress Premium. I followed all the directions and hooked a piece of code in the footer section of my website:
<?php
jQuery( document ).ready( function( $ ) {
#( '#wpsp-555 article' ).on( 'click', function( e ) {
var _this = $( this ),
url = _this.find( 'a' ).attr( 'href' );
if ( url ) {
window.location.href = url;
}
} );
} );
?>
This somehow does not work. A sample site is wirodakwerken.nl. When I click on posttexts on the homepage nothing happens.
What am I doing wrong?
Regards,
Stef