- Mar 22, 2013
- 9,146
- 10,489
Hey everyone, I have a "Noob" issue... Because I'm sort of new to wordpress.org...
I realized just now that links posted in comments - and the clickable names of people who comment - open in the Same tab, but I'd prefer All comment links open in a new tab...
p.s I do NOT want ALL external links to open in a new tab, ONLY ALL Comment links... I thought I'd mention it to avoid getting comments that advise me to do that...
Ok, so I found this article that has the solution here:
http://www.tricksbag.com/open-comment-links-new-tab/
And it says (The Solution I find perfect):
Now, for some weird reason I cannot copy the code from the website and paste it here, but it doesn't matter, I'll get it by viewing the source code, but first I need to now that I can implement the code...
Basically, I have no idea how/where exactly to create a new folder in WP-content -> Plugins... Is that done through wordpress or through hostgator dashboard/cpanel?
When I get that figured out, then I guess my next question would be, how do you create a new PHP file in it?
I hope someone can help me, anyone with even medium wordpress experience can help me with this, surely... I can return the favor for blogger blogs, because they just have HTML and CSS, which is awesome
But PHP, Plugins, creating folders in my site's structure or whatever, that's out of my league at the moment...
So lend a helping hand and expand a little on how exactly to implement the solution, please...
p.s If there's a better way to make ALL comment links to open in new tabs I am all ears... But note, I don't want to use plugins for things which can be installed in the website by me using code...
Thanks yall..
I realized just now that links posted in comments - and the clickable names of people who comment - open in the Same tab, but I'd prefer All comment links open in a new tab...
p.s I do NOT want ALL external links to open in a new tab, ONLY ALL Comment links... I thought I'd mention it to avoid getting comments that advise me to do that...
Ok, so I found this article that has the solution here:
http://www.tricksbag.com/open-comment-links-new-tab/
And it says (The Solution I find perfect):
To create a plugin, first create a new folder in WP-content -> plugins. Let?s name it ?comment-links-in-new-tab?. Then create a new PHP file in it ? say, ?comment-links-in-new-tab.php?.
(You can give any name to the folder and the file. Just make sure it?s unique.)
Then add the following code to the PHP file :-
Now, for some weird reason I cannot copy the code from the website and paste it here, but it doesn't matter, I'll get it by viewing the source code, but first I need to now that I can implement the code...
Basically, I have no idea how/where exactly to create a new folder in WP-content -> Plugins... Is that done through wordpress or through hostgator dashboard/cpanel?
When I get that figured out, then I guess my next question would be, how do you create a new PHP file in it?
I hope someone can help me, anyone with even medium wordpress experience can help me with this, surely... I can return the favor for blogger blogs, because they just have HTML and CSS, which is awesome
But PHP, Plugins, creating folders in my site's structure or whatever, that's out of my league at the moment...
So lend a helping hand and expand a little on how exactly to implement the solution, please...
p.s If there's a better way to make ALL comment links to open in new tabs I am all ears... But note, I don't want to use plugins for things which can be installed in the website by me using code...
Thanks yall..