massive
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Auto target=”_blank” ??Beel!
Thanks for that help. I like it, its a good solution but I was really in love with the idea of not having to drop in any inline attributes for 2 reasons. 1: I often have non- web savvy friends posting to my site. I’d prefer not to have to tell them to alter the code whether they can handle it or not. 2: I have 4 months or so of archived posts to deal with as well.
I read that there was an auto insert tool that I could use but I’ve just taken a full time job and yadda yadda Im so busy…
I think I’ll just bite the bullet and grab that new- what is it- extension? The one that’ll include the rel=external attribute in all links? Unless I can figure out the js…
anyway – thanks- seriously.
this is me: https://massivemoth.com/massivenet/
happy halloween
Forum: Fixing WordPress
In reply to: Auto target=”_blank” ??I could use some help with the supplied js posted earlier in the thread:
ffunction setTarget(target)
{
l = document.links
for(a = 0; a < l.length; a++)
{
lnk = l[a]
ln = lnk.hostname + ':' + lnk.port
lo = document.location.hostname + ':' + (document.location.port?location.port:80)if(ln != lo) {
// link is external. set the target
lnk.target = target;
} else {
// link is local. Don't need to do anything. But if you want
// special handling for local links, here's where to put it.
}
}
}setTarget('ext_link_window');
this solution is perfect for me- I cant get it to work- some help for a js nub?
Forum: Fixing WordPress
In reply to: Use WordPress background for an external php-pageAnyone?
Im curious about the same thing. Im still trolling forums for an answer. I’d like to include a post via php from OUTSIDE the wp file structure and can’t get it to work.