Wordpress Ajax football web magazine alterations
I have a site called www.sokkaa.com which is a football news site for African fans with news and reports in a variety of languages spoken across East Africa.
I built it myself in wordpress using a template and am happy with the site, other than a few things below. I need the amendments made below by this weekend.
What I need doing:
1, We aim to create every piece of news / match reports in 4 languages (English, French, Swahili and Kinyarwanda) by my team of reporters. English is the main Language, with the others secondary, so to limit repetition I want the home page to only show posts written in English.
When a reader clicks on an article, at the top of the article page I want "choose your language" followed by buttons with the languages available (buttons will only be shown if that language has been written in) (buttons to look like the share buttons @ http://www.givemesport.com)
All content will be written in English, but not always in the other languages, so unfortunately we can't have a simple multilingual site.
All comments need to be consolidated on the original page, so in essence, the only thing that will change when someone requests an article in a different language, is the article text.
2, I want social share buttons at the bottom of all posts as in articles on http://www.givemesport.com
3, I want the "0 comments" to be taken off posts.
4, It is primarily used on basic smartphones in Africa on a 2G network so any speed improvements would be great.
I have attached a jpg showing amendments to an average post - the area hatched in blue is the article / news and this is the only area that needs to change from post to post.
1, The majority of readers use English, so the front page will only show English articles.
2, a user will click an article and see the buttons along the top (as jpg)
3, if they choose they can click the language of their choice (this will then become the highlighted button) and the area in blue will change to the requested language.
4, the comments will be the same in all languages, so if someone comments in the English article, it will also be visible in French, etc. At the moment each set of comments are separate so if someone comments on a French article, and someone else on the English article, the comments are on different posts I want them in the same place.
5, I have hidden the tags at the top of the post - I think this looks better.
Can we have subcategories that dictate the language? perhaps they can be 'ticked' in the backend but not visible to the public?
A FRIEND WHO CONSULTED ON THE WEBSITE SAID THIS BELOW:
If you only want the blue bit to refresh the page has to be refreshed using AJAX (dynamic loading). I'll explain what needs to be done maybe there is someone else that can help?
To get the dynamic loading you'd need an AJAX plugin, something like one of these:
or this one:
There are some more here:
Before you do that though and get that working I think something needs to be changed with the URLs and how the different language articles are setup.
Correct me if I'm wrong but at the moment it looks like when you are on a French article for example, the URL scheme is the same as an English article e.g. www.sokkaa.com/articlename. There doesn't seem to be a French category in the URL of the article. It would make the buttons work much easier, as they could just prefix /french /swahili etc to the article URL.
Are comments not linked across all languages of each article then?
I'd suggest taking a look at the URLs thing first.
I hope the information above makes sense please ask any questions! I need the site updating (mainly the language part) ASAP as I need to train reporters next week.