Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6594

    Hi,

    I would like to add 2 toggles via shortcode below the contact form. Howto? :)

    Further, I would like to have the option to change the target of the twitter / FB links to “blank”. I know it can be done in the code (where?), but can you add this to the options menu?

    Thanks.

    #54773

    Hi,

    you can edit your contact page and use the “magic wand” to insert the toggle shortcode.

    To change your links to target blank open up your sidebar.php and find

    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."'>Facebook</a></li>";
    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."'>Twitter</a></li>";

    replace it by

    if($facebook = avia_get_option('facebook')) echo "<li class='facebook'><a href='".$facebook."' target='_blank'>Facebook</a></li>";
    if($twitter = avia_get_option('twitter')) echo "<li class='twitter'><a href='http://twitter.com/".$twitter."' target='_blank'>Twitter</a></li>";

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

The topic ‘Content below Contact form / Target for Social links’ is closed to new replies.