WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need some help (6 posts)

  1. taniaL
    Member
    Posted 6 months ago #

    Hello, i just need a help with one thing. I have two wordpress sites, one in english language and one in greek. I want to connect them (with little flags) but my client doesn't want to use a plugin...

    How can i connect them with just a link on the pictures?

    p.s. I want to link every page i have, i mean when someone visit a page and press the flag it has to go to the other languages same page.

    Thank you very much
    Tania

  2. silvioitalo
    Member
    Posted 6 months ago #

    Hello,

    You can put arround the flags a tag <a> and put the atributte href with the name of your two sites like this:

    <a href="index_eua.php" target="self_"><img src="image/flag1.png" /></a>
    <a href="index_greek.php" target="self_"><img src="image/flag2.png" /></a>

    In my website i did almost it in the footer with the flags of my social midias, but i used the target="_blank" because i wanted to open a new tab,like this:

    <a href="http://www.sitepor500.com.br" target="_blank"><img src="image/facebook.png" /></a>

  3. taniaL
    Member
    Posted 6 months ago #

    Thank you very much for your answer, i did this...i just want to know if i can link each page of my greek site with the same page of the english site. I think it can't be, but i want to know if someone make it.

  4. silvioitalo
    Member
    Posted 6 months ago #

    Hello!
    You are welcome!

    So, one alternative could be to put in the some place of the text of each page you put the link of the respective page in the other language maybe, like this example:

    "To read this in english click here"
    "To read this in greeck click here"

    But do it automatilly i really dont have no ideia instead of using a javascritp or php algoritms

  5. taniaL
    Member
    Posted 6 months ago #

    Ok, that what i had in my mind.... I'm trying a week now to find something that works. Probably i do it with your way... Thank you very much again...

  6. silvioitalo
    Member
    Posted 6 months ago #

    you are welcome!

    If you or i had another idea lets talk!

Reply

You must log in to post.

About this Topic