WordPress.org

Ready to get started?Download WordPress

Forums

And another blog for your perusal (12 posts)

  1. Palindrome
    Member
    Posted 9 years ago #

    The learning curve was painful, but I have a working blog:

    http://trevorsnyder.info

    Personal blog with a little modification to the default look and feel of WordPress.

  2. Palindrome
    Member
    Posted 9 years ago #

    Made a few changes the the scheme. By the way, how do I make links pop in WordPress? I'm sure it's a stupid question, but I don't know...

  3. Kafkaesqui

    Posted 9 years ago #

    Can you define "pop"?

  4. Palindrome
    Member
    Posted 9 years ago #

    Sorry, I want clicked links to open in a new browser window by default.

  5. Mobius
    Member
    Posted 9 years ago #

  6. Kafkaesqui

    Posted 9 years ago #

    Ah. There's two ways to do it:

    The old-fashioned target method:

    <a target="_blank" href="...

    The _blank is known as a "magic" target attribute. It's also invalid in XHTML, so here's a more modern, javascript-ish way:

    <a onclick="window.open(this.href,"_blank");return false;" href="...

  7. Palindrome
    Member
    Posted 9 years ago #

    Very cool. Thanks.

    Wish I knew how to make a button for that and then change my links tag in the editor.

    This'll do for now :)

  8. Palindrome
    Member
    Posted 9 years ago #

    Kafkaesqui,

    I tried the JavaScriptish way, and it did not open a new browser. But thanks for the effort :)

  9. Palindrome
    Member
    Posted 9 years ago #

    BTW thanks Mobius for your response, which I just know noticed.

  10. mat
    Member
    Posted 9 years ago #

    It is fairly easy to modify the [link] quicktag.

    In wp-admin/quicktags.js find line 355 and add whatever you want the link to do inside the tag.

    mine looks like this:
    edButtons[i].tagStart = '<a onclick="javascript:window.open(this.href,'newwin');
    return false;" href="' + URL +'">';

    in order to get the ' into php use a \ before it
    hope this helps
    keep tweaking!!

  11. knotty
    Member
    Posted 9 years ago #

    Palindrome, I believe if you spaced out the letters a bit more, it would be easier to read.

    knotty

  12. Palindrome
    Member
    Posted 9 years ago #

    Thanks Mat and knotty.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.