-
AuthorPosts
-
January 8, 2016 at 10:30 am #561872
Please see http://www.psweb-design.com/our-website-design-work/ please go to “selection of work” heading underneath these are a number of websites that use the portfolio widget these have each portfolio item has a defined custom link to the website i.e http://qatarcardio.org but I want this link to open in a new page I have tried adding “_blank” in the Link portfolio item to external URL field but this does not work, can you help please.
January 9, 2016 at 1:24 am #562253Hi condonpb!
Somehow i do not see the _blank getting applied in the links when i view the source.
<a href="http://example.com/" target="_blank">Hello, world!</a>
Please ref tot he below link for more details.
http://stackoverflow.com/questions/4425198/markdown-target-blank
Cheers!
VinayJanuary 9, 2016 at 3:38 pm #562440Vinay,
Yes I agree, normally this should work, in normal circutsamces. However that is the point I am a making. The custom link in the portfolio items specifies for you to put in the link and prompts you …….with http://….. to allow you to enter int the http://www.yourdomain@.co.uk .
I have tried all sorts but cant get the custom link to open in a new page. See http://www.psweb-design.com/our-website-design-work/. Here the custom links needs to be defined against any of the thumbnails against the section marked “A Selection of Our Work”. so when a user click onto the thumbnail it opens up a new page onto the associated website. I just can get or understand what I should enter here to get it to work and open in a new page as the normal protocol does not work.
I have enclosed wp logon details
- This reply was modified 8 years, 11 months ago by condonpb.
January 9, 2016 at 9:35 pm #562513Hey!
If I understand right, working with some JQuery would help you fix that issue?
Opening a link, to a new window, when have a certain CSS class?
Best regards,
BasilisJanuary 11, 2016 at 5:13 pm #563342Basillis,
Sorry I am not very familiar with jquery where should I put this code. Could you please be very specific as I have little experience in this area.Many Thanks
Pete
January 13, 2016 at 10:20 am #564472Hi!
I think you can put your custom jquery code inside here: http://screencast.com/t/4X7FSZ7ipS
If you need help to build your custom code you would need to hire a freelance developer for this job.Cheers!
AndyJanuary 13, 2016 at 12:12 pm #564571Hey!
This requires adding jQuery code in functions.php if you are not comfortable the easier way would be to simply us a plugin like https://wordpress.org/plugins/open-external-links-in-a-new-window/
Best regards,
Vinay -
AuthorPosts
- You must be logged in to reply to this topic.