WordPress.org

Ready to get started?Download WordPress

Forums

How to add a button which navigates to another wordpress site? (3 posts)

  1. Xilef33
    Member
    Posted 1 year ago #

    Hi there,

    I want to add a button to my wordpress site. When you click the button, it should navigate you to excactly the same site but with another language. I know there are some language plugins, but I want to translate it by myself.

    The button should be every time "on top", like the "Social Networks" section seen on this page on the right: http://www.felixbarbarino.de/wordpress/

    It would be the best, if the button consists of a picture (e.g. the german or british flag)

    I hope you can help me!

  2. Eric Hoanshelt
    Member
    Posted 1 year ago #

    Hey Xlief33,

    You may want to look into this for translating your pages.

    http://codex.wordpress.org/I18n_for_WordPress_Developers

    Other then that, if you have a site that is in a different language and you would like to put it in the sidebar, this is how you would do it.

    • Create the image
    • Upload image to WordPress site
    • Add a text widget to your sidebar by going to Appearance > Widget on your dashboard
    • Add this code to your text widget <a href="URL TO TRANSLATED SITE"><img src="URL TO YOUR IMAGE YOU UPLOADS IN STEP 2" /></a>

    That should be about it.

  3. Xilef33
    Member
    Posted 1 year ago #

    The picture code works perfect! Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.