Hi Hector,
Thanks for responding so quickly.
That is great, it was a far simpler change than I thought it would be.
Getting even more specific, is it possible to apply this rule to only one of the places I place the wpp plugin?
For example, I use wpp on a page to showcase some of my popular content, where I would like the links to be target blanks.
But I also use wpp in a sidebar, where I would prefer the links to not be target blanks.
Can you specify this rule to each individual use of the plugin?
Getting picky I know! Thanks for your ongoing help.
Dave
You mentioned that you’re using WPP on a page so I’m assuming you’re talking about the [wpp] shortcode. Try this:
- Go back to Settings > WordPress Popular Posts > Tools and set Open links in to Current window.
- Now, let’s have links on your WPP page open in a new window / tab by using the post_html parameter to modify the HTML output. Here’s an example:
[wpp range='all' post_html='<li>{thumb} <a href="{url}" target="blank">{text_title}</a></li>'] (see Settings > WordPress Popular Posts > Parameters for more.)
This also works with the wpp_get_mostpopular() template tag, just in case you’re wondering 🙂