Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1324143
    brendanduggan11
    Participant

    Hello is there any way to get the sshort code:

    [recent_posts count=”4″]

    to open in a new window or tab?

    Thank you

    http://www.sunshinesalsatours.com

    #1324197
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    To open posts in a new tab automatically, please add the following JS code in the Appearance > Customize > Custom > Javascript:

    (function($){
      $('.x-recent-posts a').attr('target', '_blank');
    })(jQuery);

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1324143 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>