I'm building my own theme in WordPress, and the website will be in multiple languages.
All I need is to find a way to assign a language to each page, and this language should be added to the URL as well. (I'm guessing adding a taxonomy, but I'm not sure how to add this to the URL)
I will create a different template page per individual page. Most plugins try to translate each page, this I don't need.
Lastly, of course, I will create a separate menu per language, but these links should link to the correct page URL (with the ../language/..)?
Is there a way/ plugin that can help me do this?
Thanks a lot to all who can help me with this!
Related
I am trying to turn a single language WP website into a multi language site, without using a plugin.
In practice I would like to manually add the language code to the page URL:
domain.com/company/ should become domain.com/en/company/
That should be applied to posts, pages, products and custom post types URLs.
So far I have tried some solutions, found here and elsewhere, without success.
Could anyone give me some hints, please?
Thank you, Paola
I just wondering whether http://www.shoutmeloud.com/videos is a subdomain under subdirectory?
I am just curious to know how we can do that.
I have a website called http://quantumbuddy.com/ and I want to share spirtual video the same way here shoutmeloud did.
Can anyone let me know how they did?
The website Shoutmeloud is a very popular website of a very popular Indian blogger Harsh Agarwal. The website is WordPress built as told by him many times. Regarding your question - the http://www.shoutmeloud.com/videos is not a directory because if it had been a WordPress directly there would be a login url - http://www.shoutmeloud.com/videos/wp-login.php, but it is not there.
Seeing the design of http://www.shoutmeloud.com/videos i think it is a post category (videos) which shows the post contained in it(here videos).
In wordpress this comes by default, all you have to do is to create a post category and add post in it. Then in these post add youtube videos embed code.
You can easily achieve that by going to your wordpress dashboard then add a new page and name it like videos then insert some video files there whether it's a link or from your uploaded videos then save it.
To check the page, Add it to your main menu for example then save it.
The url would be like http://quantumbuddy.com/videos.
so basically the videos is the name of the page.
I checked your site and it only contain one link in the menu. Add a page and add it to your menu bar and it would display next to the Blog link.
The website you are referring to is using Genesis Theme. You can find it here
.
So I am trying to do this and I don't know how. I have a wordpress powered website with a plugin called "frontier-post" in it. This plugin makes a new front-end post submission. The way to use it is to put the shortcode "[frontier-post]" in any post in my wordpress page and that page turns into this.
I want to make a custom page for myself, where I can have the content created by this plugin there too. So I do not want it to be a post in my wordpress, but lets say at a corner in the custom page. I have searched and found these but the suggestions there would not work. I am able to include the wordpress so that the custom page has access to posts, etc. but even using this
echo do_shortcode('[frontier-post]');
would not help me. (even if header is included)
These are the similar things i found:
Wordpress/PHP - How to use plugins outside wordpress-powered pages?
Need Help for my Custom Page Template
I would really appreciate it if you could help me with this.
If you are creating a PHP page that isn't going to be rendered inside WordPress, you can't use a Plugin of the WordPress engine to accomplish what you are wanting to build. (As the accepted answer to one of the pages you link to indicates).
Instead, you might be able to use the json-api plugin and have your custom page query it for the data. While it won't render the shortcode, it will give you the raw data to work with.
http://wordpress.org/plugins/json-api/
Edit:
Based on a comment, your do_shortcode should work...just try it without the square brackets.
I created a blog using wordpress in January.
Though, I use a custom template for one of my page to display custom dynamic pages. (exemple here)
Now, I use the wordpress plugin XML-Sitemap to automatically generate sitemaps.
Unsurprisingly, this plugin does not crawl the page using a custom template, and the many links within.
However, I thought that the crawlers of the major search engines would do so. But they didn’t. My custom pages are still not indexed anywhere.
So here is my question:
I have found a tool that can comprehensively crawl my website and generate a sitemap. If I use it, do I have to de-activate my wordpress pluging?
Thanks a lot!!
first of all, i'm not experienced in Word Press, but I came out with two ideas about your problem, so, if they could be useful, here are:
1) I don't think the plugin crawls the template. Instead I think the plugin generates the sitemap starting from the sitemap saved in the wordpress configuration (in drupal the sitemap and url aliases are saved in the database for example, and the sitemap plugin starts from there)
2) If your plugin generates a sitemap file (I think it does!), so you have to disable it first of use an other tool
Hope it helps!
I'm developing a WordPress theme and I need to have a custom URL for some kind of content.
For example, I need to have a page to show some article details. Now, i've created a page template called "Article", and so i've to create a new page and give it the page template "Article"
(I get the url http://mydomain.com/article?id=123)
It works fine, but now i'm having dozens of this pages, and it's a mess to create them all on every installation of this theme, so i want to do it in my theme code.
I saw something near that on BuddyPress, where you can use /member/ and it redirects to a member page. I just wanna know how to do so.
Thanks!
If you are running wordpress 3.0 I would recommend making a custom post type for your articles. That would allow you to control the URL in the way that you want and also allow you to use more sophisticated full text urls if you wanted to.
Here are some links to some tutorials about how to make a custom post type to get you started:
http://kovshenin.com/archives/custom-post-types-in-wordpress-3-0
http://kovshenin.com/archives/extending-custom-post-types-in-wordpress-3-0/
The second one has an example file that you can download and edit to help you get started.
Cheers,
Paul