Footer links in new window

  • metalroo

    #2191

    Is there an easy way to get the links in the footer

    to open in a new window without changing the footer.php?

    So something in the child theme’s function.php?

    I tried it in css but that CSS3 target-new property isn’t supported yet 🙂

    Josh

    #19270

    Which links are you referring to?

    Gendji

    #19271

    Creative Commons, WordPress and Graphene Theme links.

    Josh

    #19272

    The only way I know of would be to open the footer file, and add target="_blank" to each of the links. But you would need to do this on each graphene update.

    Gendji

    #19273

    Indeed, that’s why i am looking for something that goes in the child functions.php but my knowledge of php doesn’t go that far 🙂

    Josh

    #19274

    I mean, you can copy the entire footer.php file into your child theme; make the adjustments in your child theme footer; and it will use that one instead of the original.

    I’m not sure if the footer.php file gets many adjustments during theme updates (I could be wrong, though).

    With that being said, I use a modified footer.php file in my child theme.

    Gendji

    #19275

    I thought that only style.css and functions.php worked in the child theme,

    didn’t know about this, so i learned something and you fixed my problem 🙂

    Thank you Josh.

    Josh

    #19276

    You’re welcome.

    Take a look here at other files you can use in your child theme. Just remember, you need to stay aware of what updates are going on with Graphene to make sure these files don’t include important updates.

    http://codex.wordpress.org/Theme_Development#Template_Files

    Gendji

    #19277

    Ah ok, thanks again.

    Admin

    Syahir Hakim

    #19278

    You can also read more about using a child theme at the theme’s wiki:

    http://wiki.khairul-syahir.com/graphene-theme/wiki/Customisation_using_a_child_theme

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.