<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPML &#187; Webdesign tips</title>
	<atom:link href="http://wpml.org/category/webdesign-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpml.org</link>
	<description>The Plugin for Building Multilingual WordPress Sites</description>
	<lastBuildDate>Tue, 22 May 2012 15:59:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WPML usability review</title>
		<link>http://wpml.org/2009/05/wpml-usability-review/</link>
		<comments>http://wpml.org/2009/05/wpml-usability-review/#comments</comments>
		<pubDate>Fri, 15 May 2009 13:33:26 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://wpml.org/?p=1029</guid>
		<description><![CDATA[This post is a real treat. Joen Asmussen is a usability testing expert. Normally, he writes reviews for companies such as LEGO. To help out with WPML, he donated a review for our plugin as well. This review goes through all of WPML&#8217;s options (current to version 0.98), tears them apart and gives constructive criticism [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post is a real treat. <a href="http://noscope.com/">Joen Asmussen</a> is a usability testing expert. Normally, he writes reviews for companies such as LEGO. To help out with WPML, he donated a review for our plugin as well.</em></p>
<p>This review goes through all of WPML&#8217;s options (current to version 0.98), tears them apart and gives constructive criticism about how they can be improved.</p>
<p>It&#8217;s an excellent lesson in design and usability. Anyone who&#8217;s doing any sort of design work will get something from reading it. The review talks about WPML, but it can be applied to anything that you can design and build.</p>
<p>The review itself goes into great depth and detail. It&#8217;s difficult to read all at once. I decided to keep it as a single post, although it can easily make up a nice mini-series. This way, you can choose your own pace and keep it bookmarked for later review.</p>
<p>In some places I added my comments to the review. My comments always appear in <em>italic</em> and begin with &#8216;<em>Comment</em>&#8216;.</p>
<h3>WPML usability review (written for WPML version 0.98)</h3>
<p>WPML (WordPress Multi Language) is a plugin that add much soughtafter translation features to WordPress. With the plugin installed and set up, you&#8217;ll be able to provide users with several language versions of all your pages and posts.</p>
<div id="attachment_485" class="wp-caption alignnone" style="width: 310px"><a href="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/02/language_setup.jpg"><img class="size-medium wp-image-485" title="Language setup" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/02/language_setup-300x156.jpg" alt="WPML Language setup" width="300" height="156" /></a><p class="wp-caption-text">WPML Language setup</p></div>
<p>The plugin does this almost perfectly. Unlike previous attempts at building multi language capabililties into WordPress, WPML is:</p>
<ul>
<li>stable</li>
<li>compatible with most webservers and most other plugins</li>
<li>simple to setup</li>
</ul>
<p>WPML is not perfect, however. There are a few tweaks still to be made and some usability issues to overcome. In this article I&#8217;ll go through a number of them, and give suggestions to improvements. First of all, here&#8217;s a brief description of the workflow of adding multilanguage capabilities to your WordPress website.</p>
<h3>Setup</h3>
<p>The first thing you&#8217;ll notice in your WordPress backend, upon activation of the WPML plugin, is a new main menu called, aptly, WPML.</p>
<div id="attachment_849" class="wp-caption alignnone" style="width: 162px"><img class="size-full wp-image-849" title="WPML Menu" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/wpml-menu.jpg" alt="WPML Menu" width="152" height="167" /><p class="wp-caption-text">WPML Menu</p></div>
<p>Many plugins add options pages to WordPress, but most of them add their pages as children of the Settings menu. Normally, adding your own main section is considered bad karma by the WordPress interface design guidelines, as it divides configuration across several sections simply confusing end users. I would argue, however, that in the case of WPML, the features added are so massive that it deserves its own section.</p>
<p>Adding languages is a simple matter of selecting from lists, and you can now proceed to translate your posts and pages. This takes place, logically, in both the page and post overview sections, as well as on &#8220;add new page&#8221; or &#8220;add new post&#8221; sections.</p>
<div id="attachment_1033" class="wp-caption alignnone" style="width: 651px"><img class="size-full wp-image-1033" title="Edit posts screen with multiple languages" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/edit_posts.png" alt="Edit posts screen with multiple languages" width="641" height="138" /><p class="wp-caption-text">Edit posts screen with multiple languages</p></div>
<p><em>Notice the extra menu that lists your added languages.</em></p>
<div id="attachment_1034" class="wp-caption alignnone" style="width: 526px"><img class="size-full wp-image-1034" title="Add new post" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/add_new_post.png" alt="Add new post" width="516" height="506" /><p class="wp-caption-text">Add new post</p></div>
<p><em>Notice the &#8220;Language options&#8221; box right at the bottom.</em></p>
<p>When you&#8217;ve set up WPML and added a few posts in each language, your backend work is effectively done. The rest of your work is in your WordPress templates, adding new template tags to show language selectors, tweaked menus, and whatever else you&#8217;d want. This brings me to where WPML needs a little bit of work to fullfill its potential.</p>
<h3>1. Remove the need for theme tags</h3>
<p><img class="alignnone size-full wp-image-1035" title="language switcher with flags" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/language_switcher_with_flags.png" alt="language switcher with flags" width="149" height="61" /></p>
<p>The main purpose of translating your website is to give your readers content in their own language, or at least, their choice of language. So without a language selector, your multilanguage features are, at best, auto-detected. As such, you&#8217;ll definitely want to add the language selector, should you use WPML.</p>
<p>So why isn&#8217;t the language switcher added automatically upon plugin activation?</p>
<div id="attachment_1036" class="wp-caption alignnone" style="width: 600px"><img class="size-full wp-image-1036" title="Language switcher options" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/language_switcher_options.png" alt="Language switcher options" width="590" height="123" /><p class="wp-caption-text">Language switcher options</p></div>
<p>When other plugins &#8220;start working&#8221; as soon as they&#8217;re activated, there&#8217;s a good chance you won&#8217;t even notice that something is missing in WPML until you start digging. While there&#8217;s good sense in allowing developers full control of the plugin innards, there&#8217;s no reason WPML shouldn&#8217;t be able to do both.</p>
<h4>Suggestions for improving the language selection setup</h4>
<ol>
<li>WPML should automatically add all its features to your Wordpres theme, using plugin hooks. That means language selectors and special WPML page menus should be active as soon as the plugin is activated.</li>
<li>There should be a &#8220;Template Options&#8221; section in WPML, which would allow you to tweak these features, or turn them on or off, individually.</li>
<li>If a theme developer so chose, he or she should be free to add the various template functions themselves in the current fashion, simply overriding any plugin hooks.</li>
</ol>
<p>The default behavior, with these tweaks added, would be a &#8220;activate and you&#8217;re done&#8221; version of WPML, which is likely to be sufficient for the bulk of its userbase.</p>
<h3>2. Page and Post options</h3>
<div id="attachment_1038" class="wp-caption alignnone" style="width: 568px"><img class="size-full wp-image-1038" title="Add new page" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/add_new_page.png" alt="Add new page" width="558" height="581" /><p class="wp-caption-text">Add new page</p></div>
<p>While WPML offers up translation features, it also comes bundled with a few Content Management System (CMS) features. As shown above, an extra box called &#8220;CMS Navigation&#8221; appears beneath your translation box.</p>
<p>There&#8217;s nothing wrong with adding those features. If you&#8217;ve installed WPML in the first place, chances are you&#8217;re using WordPress as a CMS &#8212; I doubt many people translate their blogs to several languages. The problem is that there are two boxes. The more boxes, the more confusion.</p>
<p>Behind the scenes, the reality is that &#8220;CMS Navigation&#8221; is a separate plugin, that is bundled with WPML. No matter, the features are good and there&#8217;s good sense in having them be part of WPML. So why aren&#8217;t they really part of WPML?</p>
<p><em>Comment: &#8220;CMS Navigation&#8221; started as an independent plugin, but it&#8217;s now fully integrated into WPML. We found out that in order to properly support the navigational elements, in a multilingual environment, these functions must interact. The suggestion about making it a single box is still very valid.</em></p>
<h4>Suggestions for improvements:</h4>
<ol>
<li>Add the features from &#8220;CMS Navigation&#8221; into WPML, and combine the two boxes.</li>
</ol>
<h3>3. Tweak The Wording</h3>
<p>While multi language features constitute a quite advanced feature, WPML has already demonstrated that it can be simplified enough to be accessible in WordPress. But there&#8217;s a ways to go to make all the features easily understood.</p>
<p>For instance, what does &#8220;Mini home&#8221; mean? What does a &#8220;language specific home page&#8221; mean?</p>
<div id="attachment_1040" class="wp-caption alignnone" style="width: 566px"><img class="size-full wp-image-1040" title="CMS navigation options" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/cms-navigation-options.png" alt="CMS navigation options" width="556" height="92" /><p class="wp-caption-text">CMS navigation options</p></div>
<p>Both &#8220;Mini home&#8221; and &#8220;Section&#8221; features are related to navigation grouping.</p>
<div id="attachment_1041" class="wp-caption alignnone" style="width: 604px"><img class="size-full wp-image-1041" title="language switcher full details" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/language_switcher_full_details.png" alt="language switcher full details" width="594" height="412" /><p class="wp-caption-text">Options for language switcher</p></div>
<p>&#8220;Link to home of language for missing translations&#8221; simply means that if you&#8217;re reading a post in one language, switches to another language to read it in that, and it&#8217;s not yet translated, you&#8217;ll be taken to the home page instead of shown a 404 page.</p>
<div id="attachment_1043" class="wp-caption alignnone" style="width: 699px"><img class="size-full wp-image-1043" title="CMS navigation setup" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/cms-navigation-setup.jpg" alt="CMS navigation setup" width="689" height="205" /><p class="wp-caption-text">CMS navigation setup</p></div>
<p>&#8220;Sidebar pages menu&#8221; is simply the text you can write before and after the widget heading, if you&#8217;re using the Site Navigation widget that comes bundled with WPML.</p>
<p>As is evident in these screenshots, a number of WPML options can comfortably be tweaked to your liking. Very nice. Unfortunately, understanding what each feature does, can be quite tricky, mostly due to the wording.</p>
<h3><a name="suggestions"></a>Suggestions:</h3>
<p>1. <strong>Rename &#8220;Exclude from the top navigation&#8221; to &#8220;Hide this page from page menus&#8221;</strong>. Not all page menus are at the top, and not all of them are distinctly &#8220;navigation&#8221;.</p>
<p>2. <strong>Consider rethinking the &#8220;Mini home&#8221; feature</strong>. As a feature for very large websites, the idea is that you can create entire microsites with very complex structures.</p>
<p>For instance, you could make a a company party invitation that doesn&#8217;t show up in the main navigation of the corporate website. This subpage, could then include a number of subpages that should not show up in any menus, perhaps because you editorially would want to add the links yourself. You could, for instance, have a &#8220;Map&#8221; subpage, which you link to inside your body text; &#8220;peruse our map to find out where the party is&#8221;.</p>
<p>While this is a useful feature when you need it, it is also a very complex feature. Should this even be bundled with WPML?</p>
<p>If so, consider renaming &#8220;Mini home (don&#8217;t list child pages for this page)&#8221; to simply &#8220;Hide child pages for this page&#8221;. People may not immediately understand why they would want to<br />
do this, but when they need the feature, it&#8217;ll be right there waiting for them.</p>
<p><em>Comment: To generalize, I think that we all should avoid inventing names for our features. If there&#8217;s already a standard name for something then we should use it. For instance, the little text that goes at the top of every browser window is called a &#8216;Title&#8217; &#8211; we don&#8217;t need to explain what that is. However, when we invent names, like &#8216;mini home page&#8217;, we just confuse our users. Instead of inventing names, we should just say what it does. Thanks for raising an excellent point!<br />
</em></p>
<p>3. <strong>The &#8220;Section&#8221; feature is equally useful and confusing</strong>. What it does is, it allows you to group a chunk of pages visually, without a hierarchy. This is useful if you have a plethora of pages and no subpages and want to visually separate groups of these pages in to neat chunks.</p>
<p>For instance, let&#8217;s imagine you have these six pages:</p>
<ul>
<li>Work samples</li>
<li>Case stories</li>
<li>Pricing</li>
<li>Contact Information</li>
<li>Company Vision</li>
<li>Employees</li>
</ul>
<p>Using the section feature, you could group them with text headings:</p>
<p><strong>Our Work</strong></p>
<ul>
<li>Work Samples</li>
<li>Case Stories</li>
<li>Pricing</li>
</ul>
<p><strong>Company</strong></p>
<ul>
<li>Contact Information</li>
<li>Company Vision</li>
<li>Employees</li>
</ul>
<p>See? Useful! So how do you go about making this simple to do in WordPress, with only a plugin? Yes, it&#8217;s difficult. Currently, using the &#8220;Section&#8221; box, you do this:</p>
<blockquote>
<ol>
<li>Enter a heading in the &#8220;Section&#8221; textbox, under which the first page you&#8217;re editing should be grouped.Edit another page, now choose a section in the textbox which has now become a dropdown menu, or, add a new heading. Suggestion: For starters, simply describe what&#8217;s going on.</li>
<li>Rename &#8220;Section&#8221; to &#8220;Group this page under the following headline:&#8221;, and consider adding an italicised description below the textbox that says <em>&#8220;This will group your page menu into neat chunks&#8221;</em>.</li>
</ol>
</blockquote>
<p><em>Comment: I find this difficult to use too, and I&#8217;m pretty familiar with how WPML works. In fact, I would be surprised if there are more than 10 people have managed to use this feature without giving up. I think that any rewording we do will not be enough to make it usable enough. Instead, we&#8217;re going to add a new page management facility to WPML which would allow controlling all page management from single screen. This would include the standard WordPress page order (which isn&#8217;t the most friendly thing in the world), page parents, our sections, and our &#8220;mini-homes&#8221;. This entire thing will be done using a drag and drop interface and will look at all the pages together rather than one by one. Look out for this feature in WPML 1.1.<br />
</em></p>
<p>4. <strong>Rename &#8220;Skip language&#8221; to &#8220;Show &#8216;Not Found&#8217; error page&#8221;, and rename &#8220;Link to home of language for missing translations&#8221; to &#8220;Redirect to the home page&#8221;</strong>.</p>
<p>5. <strong>Remove &#8220;Sidebar pages menu&#8221; from the WPML Navigation page altogether, and add it instead as a widget option</strong>. This is a widget option, and if the other widgets can have options, so can this.</p>
<p><em>Comment: the sidebar menu can be inserted as a widget, but these options also control other things. We&#8217;ll add a link to this management screen from the widget setup.</em></p>
<h3>5. Trim The WPML Default Behaviour, Look And Feel</h3>
<p>Using a vanilla WPML installation and the page menu template tag necessary to utilize the CMS features, you get the whole package. You get a bundled WPML page menu look, pull-down menus and everything.</p>
<p>While this is nice, it&#8217;s certainly not for everyone. And if we imagine that a future version of WPML automatically adds the page menu template tag, it&#8217;s certainly an elaborate set of defaults.</p>
<div id="attachment_837" class="wp-caption alignnone" style="width: 400px"><img class="size-full wp-image-837" title="Top navigation" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/top-navigation1.jpg" alt="Top navigation" width="390" height="288" /><p class="wp-caption-text">Top navigation</p></div>
<p>If you want the CMS features, the drop down menu is not optional.</p>
<p>Drop-down menus are inherently un-userfriendly. There are a number of reasons for this, mainly that it hides content and that mousing over dropdown menus requires finesse.</p>
<p>Additionally, because the drop-down feature is enabled by default, that means WPML&#8217;s template tag outputs every page and every subpage at once.</p>
<h4>Suggestions:</h4>
<p>1. The bundled CSS and drop-down menu should be optional, and disabled by default.</p>
<p>2. The default behavior should be to output subpages only when the main page has been<br />
visited first.</p>
<p>3. Optionally, you should be able to output all subpages. This is also useful for some designs:</p>
<div id="attachment_1045" class="wp-caption alignnone" style="width: 499px"><img class="size-full wp-image-1045" title="Top menu with all child pages shown" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/all-child-pages-shown.png" alt="Top menu with all child pages shown" width="489" height="85" /><p class="wp-caption-text">Top menu with all child pages shown</p></div>
<p>4. Whether you want to use an unstyled menu that shows all pages, subpages of the active page only, or the fully styled dropdown menu, this should be an option in the WPML Navigation options page:</p>
<div id="attachment_1046" class="wp-caption alignnone" style="width: 587px"><img class="size-full wp-image-1046" title="Additional navigation options" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/additional-navigation-options.jpg" alt="Additional navigation options" width="577" height="109" /><p class="wp-caption-text">Additional navigation options</p></div>
<h3>6. More Options</h3>
<p>If we imagine a future WPML where template functions are automatically activated along with the main plugin, there&#8217;s no reason it shouldn&#8217;t look exactly like a vanilla WPML-free WordPress installation does &#8211; except with a number of new and advanced features available.</p>
<p>Should the user then wish to enable some of the hard-core WPML features, dropdown menus, navigation grouping, category navigation and so on, these should all be comfortably available in the WPML Navigation options page.</p>
<div id="attachment_1048" class="wp-caption alignnone" style="width: 687px"><img class="size-full wp-image-1048" title="Even more navigation options" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/05/more-navigatio-options.jpg" alt="Even more navigation options" width="677" height="541" /><p class="wp-caption-text">Even more navigation options</p></div>
<h3>Summary</h3>
<p>WPML is the best multi-language plugin for WordPress yet. On top of that it adds a plethora of useful features that makes WordPress into a full-fledged CMS.</p>
<p>To reach full maturity, there are only a few hedges to cross. Some involve tweaking titles and<br />
descriptions, others are structural.</p>
<p>The changes that would make the most difference to WPML, would be if &#8212; upon activation of the plugin &#8212; all relevant WPML features would be enabled in the frontend via plugin hooks with no need to change any templates at all. If, in addition to this, these features could be enabled, disabled and tweaked via an options page, WPML would become instantly accessible to the vast majority of the WordPress crowd.</p>
<h3>About the author</h3>
<p><a href="http://noscope.com/">Joen</a><strong> </strong>is a a <strong>webdesigner</strong> located in Copenhagen, Denmark. He&#8217;s educated in print design and has more than 8 years of industry experience in web-, interface- and usability-design. Among other clients, <strong>Joen</strong> has worked as a usability advisor for <strong>LEGO</strong> on the <strong>Mindstorms software</strong>.</p>
<p>Today, <strong>Joen</strong>&#8216;s one-man enterprise provides pretty, web-standards compliant and highly user friendly websites. In addition to this, he provides clients with usability reviews of their current websites, detailing usability issues and suggesting improvements. Because the advice is based on an archive of experience, it&#8217;s both cheaper and more accessible than actual usability testing.</p>
<p><strong>Joen</strong> blogs about webdesign, usability and movies on his personal website, <a href="http://noscope.com/">http://noscope.com/</a>. Work samples are available in the &#8220;<a href="http://noscope.com/work">work</a>&#8221; section.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2009/05/wpml-usability-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling WPML navigational elements</title>
		<link>http://wpml.org/2009/04/styling-sitepress-navigational-elements/</link>
		<comments>http://wpml.org/2009/04/styling-sitepress-navigational-elements/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:10:16 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://sitepress.org/?p=694</guid>
		<description><![CDATA[WPML creates top navigation with drop down menus, a breadcrumbs trail and sidebar navigation. In this post, I&#8217;ll talk a bit about how to use and style them. We&#8217;ll use our own theme (used for WPML.org) as an example. Styling WPML navigation To apply your styling to the navigational elements, you need to override the [...]]]></description>
			<content:encoded><![CDATA[<p>WPML creates top navigation with drop down menus, a breadcrumbs trail and sidebar navigation. In this post, I&#8217;ll talk a bit about how to use and style them. We&#8217;ll use our own theme (used for WPML.org) as an example.</p>
<h3>Styling WPML navigation</h3>
<p>To apply your styling to the navigational elements, you need to override the CSS statements found in <em>cms-navigation.css</em> (a CSS file that comes with WPML).</p>
<p>Grab this file from <em>wp-content/plugins/sitepress/modules/cms-navigation/css/</em> and add it to your theme&#8217;s directory. Then, load it in your theme. Make sure it&#8217;s done after the standard WordPress headers are loaded, so that your version of the CSS is loaded last and determines the styling.</p>
<p>Now, start editing it, to match your theme.</p>
<p>The CSS file is pretty well documented. For example, this part determines the 2nd level links formatting:</p>
<pre>/* style the second level links */
#menu-wrap ul ul a, #menu-wrap ul ul a:visited {
color:#000; height:auto; line-height:15px; padding:5px 10px; width:150px;
}</pre>
<p>To change the font color from black, just change the value in the <em>color</em> attribute.</p>
<p>I find it particularly helpful to use the great <a href="http://getfirebug.com/">Firebug</a> Firefox extension to edit CSS in themes. Once you&#8217;ve installed it, you can open Firebug, point to any element in the screen and see its CSS. Firebug will tell you which CSS statements control the visual display of each element.</p>
<h3>Firebug crash course</h3>
<ul>
<li>Install Firebug as a Firefox add-on.</li>
<li>Click on the little Firebug icon to open its console.</li>
<li>Click on &#8216;<em>Inspect</em>&#8216; and then on the element in the screen you want to check.</li>
</ul>
<p>Here is a screenshot of Firebug showing the WPML.org&#8217;s main page debugged with Firebug. It shows the top navigation&#8217;s styling.</p>
<div id="attachment_698" class="wp-caption aligncenter" style="width: 310px"><a href="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/04/debug-with-firebug.png"><img class="size-medium wp-image-698" title="WPML debugged with Firebug" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/04/debug-with-firebug-300x192.png" alt="WPML debugged with Firebug" width="300" height="192" /></a><p class="wp-caption-text">WPML debugged with Firebug (click to zoom)</p></div>
<p>Firebug also lets you edit the CSS inline. This means that you can test various changes without modifying the CSS file itself and see your changes immediately.</p>
<h3>Inserting WPML navigation to your theme</h3>
<p>For technical instructions on what to add to the theme, have a look at the <a href="http://wpml.org/documentation/getting-started-guide/site-navigation/">getting started guide</a>. You&#8217;re probably still wondering where exactly it would be best to add the different navigational elements.</p>
<p>For WPML.org, this is what we implemented:</p>
<ul>
<li>Top navigation: Added <em>&lt;?php do_action(&#8216;icl_navigation_menu&#8217;); ?&gt;</em> just before the end of header.php (before the closing tag for <span class="nodeLabelBox repTarget"><em>&lt;<span class="nodeTag">div</span><span class="nodeAttr editGroup"> <span class="nodeName editable">id</span>=&#8221;<span class="nodeValue editable">header</span>&#8220;</span></em><span class="nodeBracket editable insertBefore"><em>&gt;</em>. This inserts the top tab DIV with all its contents.</span></span></li>
<li><span class="nodeLabelBox repTarget"><span class="nodeBracket editable insertBefore">Breadcrumbs trail: Added <em>&lt;?php do_action(&#8216;icl_navigation_breadcrumb&#8217;); ?&gt;</em> to <em>index.php</em>, <em>archive.php</em>, <em>page.php</em>, <em>single.php</em> and <em>search.php</em>. </span></span></li>
<li><span class="nodeLabelBox repTarget"><span class="nodeBracket editable insertBefore">Sidebar navigation: We didn&#8217;t add that to the theme at all. We&#8217;re using it as a widget, added from the admin panel.</span></span></li>
</ul>
<h3><span class="nodeLabelBox repTarget"><span class="nodeBracket editable insertBefore">Need more info?</span></span></h3>
<p><span class="nodeLabelBox repTarget"><span class="nodeBracket editable insertBefore">We&#8217;re adding WPML navigation to a few popular open themes from WordPress.org. Once this is done, we&#8217;ll write a how-to post, explaining what we did for each.</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2009/04/styling-sitepress-navigational-elements/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>WordPress Migration in 5 Minutes</title>
		<link>http://wpml.org/2009/03/wordpress-migration-in-5-minutes/</link>
		<comments>http://wpml.org/2009/03/wordpress-migration-in-5-minutes/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 14:27:36 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://sitepress.org/?p=417</guid>
		<description><![CDATA[I just had the pleasure of migrating this website from one WordPress install to the other. At first, I searched for advice on how to do this, leading me in weird directions (mostly revolving around mysql dumps). It turns out this procedure can be much simpler than anticipated, given you&#8217;re doing things in their correct [...]]]></description>
			<content:encoded><![CDATA[<p>I just had the pleasure of migrating this website from one WordPress install to the other. At first, I searched for advice on how to do this, leading me in weird directions (mostly revolving around mysql dumps).</p>
<p>It turns out this procedure can be much simpler than anticipated, given you&#8217;re doing things in their correct order. Here is what I did&#8230;</p>
<h3>Some Background</h3>
<p>I moved my site from <strong>WordPressMU</strong> to <strong>WordPress</strong> leaving the domain name intact.</p>
<p>This move was necessary. I was using WPMU for reasons that have long expired and the restrictions that it kept imposing were impossible for me. In addition, some plugins that I must use don&#8217;t work on WPMU.</p>
<p>Both sites run on the same server. Also, the domain name didn&#8217;t change. These two facts don&#8217;t matter much. I&#8217;ll explain the more general case where the move can be across servers and the site&#8217;s address can change.</p>
<h3>Export from the current WordPress site</h3>
<p><a href="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/export.jpg"><img class="alignright size-medium wp-image-418" title="Export tool" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/export-300x138.jpg" alt="Export tool" width="300" height="138" /></a>I went to the admin panel, clicked on <strong>Tools </strong>and used the <strong>Export </strong>feature.</p>
<p>This tool doesn&#8217;t need much in order to work. You can restrict the data to be exported according to the author (which I didn&#8217;t use). Then, you save the exported file locally.</p>
<p>The file you get is an XML file. Save it somewhere handy as you&#8217;re going to have to open it in a minute.</p>
<h3>Create backup for all the uploaded files and download it locally</h3>
<p>The <em>export</em> process will include all the texts in your website (posts, pages, comments, categories, etc.).</p>
<p>To include uploaded files, such as images, movies and audio, I suggest that you download them all as one big TAR file. My original site was a WPMU site so the files were located in:</p>
<pre>wp-content/blogs.dir/BLOG_ID/files</pre>
<p>Open a shell window (SSH), go to that directory and grab it all by typing:</p>
<pre>zip -r wp_files.zip *</pre>
<p>Now, you&#8217;ll have one pretty large file called wp_files.zip. Use an FTP program to download it locally.</p>
<p>While you&#8217;re at it, do the same for your theme(s). Go to your themes directory and create an archive of your theme(s).</p>
<pre>zip -r themes.zip theme1 theme2...</pre>
<h3>Create the new WordPress site</h3>
<p>Next, comes the standard WordPress install for the new site (where we&#8217;re going to transfer to).</p>
<p>Web server admin panels normally come with handy utilities that allow you to create this all in one click. I created the MySQL database manually, edited wp-config.php and adjusted the Apache configuration file to point to the new site.</p>
<p>If you&#8217;re also moving boxes, this would also be the time to update the Domain Name Server (DNS) entry for that site. Don&#8217;t wait until the DNS entry propegates all the way down to your PC. Instead, open the <strong>hosts</strong> file in your PC (in Windows c:\Windows\System32\drivers\etc\hosts) and add an entry for your new site with the new IP address. Remember to delete this entry in a couple of days.</p>
<h3>Add the uploaded files and theme</h3>
<p>Once the new WordPress site has been installed you can add back all the uploaded data and your theme.</p>
<p>Store that wp_files.zip file in:</p>
<pre>/wp-contents/uploads</pre>
<p>Unzip it there by opening a shell window and typing:</p>
<pre>unzip wp_files.zip</pre>
<p>There you go! All your uploaded files have been moved at once and will appear in your new blog.</p>
<p>Do the same for the themes. Copy to /wp-contents/themes and unzip there.</p>
<h3>Patch up the exported file</h3>
<p>This is the most critical part of this whole migration, so pay attention and handle with care.</p>
<p>Open that <strong>Export</strong> file you saved before. You can use any text editor, but don&#8217;t use a program that&#8217;s going to change the format (e.g. Word). <strong>Notepad</strong> would be just fine for this purpose (Start-&gt;Accessories-&gt;Notepad).</p>
<p>There are two things that need to be replaced:</p>
<ol>
<li>Uploaded files (if they need to be moved)</li>
<li>Domain name (if that has changed)</li>
</ol>
<p>I moved all the existing uploaded files from /files/ to /wp-contents/. This was a required step as I migrated from WPMU to WordPress. You don&#8217;t need to change anything if you&#8217;re moving from and to the same WordPress type.</p>
<p>If you&#8217;re changing the domain name, do a global replace and change from the old one to the new one. There should be lots of places where this appears &#8211; change them all.</p>
<p>Save the file to a different name, so that you have both the original and your edits. You&#8217;ll want to have the original in case your edits cause it to be broken. XML files cannot be loaded if their formatting is damaged.</p>
<h3>Import the data</h3>
<p><a href="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/import1.jpg"><img class="alignright size-medium wp-image-422" title="Import tool" src="http://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/03/import1-300x124.jpg" alt="Import tool" width="300" height="124" /></a>It&#8217;s time to use that data back to your blog, making all your contents available again.</p>
<p>Click on <strong>Tools</strong>-&gt;<strong>Import</strong>-&gt;<strong>WordPress</strong>.</p>
<p>Select the file we patched before and click on &#8216;Upload file and import&#8217;.</p>
<p>WordPress will offer you to download files. <strong>Don&#8217;t select this option</strong>. We&#8217;ve already transfered all the uploaded files from your new blog to this one. We&#8217;ve done it in one go instead of doing this individually.</p>
<p>At this point, WordPress will also offer you to assign posts to users. It&#8217;s a good time to recreate the old authors now.</p>
<h3>Configure your new site</h3>
<p>Go to your new site and follow the WordPress install wizard (just one step). Then, before jumping in to anything, go through the <strong>Settings</strong> section and adjust everything that needs changing. I had to change:</p>
<ol>
<li>Settings: Changed the blog&#8217;s tagline</li>
<li>Reading: Changed the default home and blog page.</li>
<li>Permlinks: Changed from the default permlinks structure to year and month.</li>
<li>Discussion: Enabled threaded comments</li>
</ol>
<p>Of course, your adjustments would probable be different. The point is that you should really go through all the pages under Settings and make sure that they&#8217;re right for you.</p>
<h3>Add plugins</h3>
<p>I could have also zipped the plugins directory and included that in the move, but I didn&#8217;t. As long as I&#8217;m already refreshing things, I thought it might be a good idea to redownload all my plugins from the WP plugins repository (you know, get the fresh versions of everything).</p>
<p>The improved (fixed) search facility available as of WP2.7.1 makes it much easier. Click on <strong>Plugins</strong>-&gt;<strong>Add</strong>, search for each plugin, download and activate. Took less than a minute for all my plugins.</p>
<h3>Enable your theme</h3>
<p>Once everything is back in place, it&#8217;s time to enable your theme (which might rely on plugins to work correctly).</p>
<p>Go to <strong>Appearance</strong>-&gt;<strong>Themes</strong> and select your.</p>
<p>You&#8217;re all done!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2009/03/wordpress-migration-in-5-minutes/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Website Navigation Design</title>
		<link>http://wpml.org/2009/01/website-navigation-design/</link>
		<comments>http://wpml.org/2009/01/website-navigation-design/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 19:14:59 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://design.icanlocalize.com/2009/01/website-navigation-design/</guid>
		<description><![CDATA[When thinking about setting up a website using WordPress and the CMS an important point to consider is how you want visitors to find their way around the site’s content. When setting up a writing a blog the navigation part is usually quite simple: You have your posts in chronological order on the home/main page [...]]]></description>
			<content:encoded><![CDATA[<p>When thinking about setting up a website using WordPress and the CMS an important point to consider is how you want visitors to find their way around the site’s content. When setting up a writing a blog the navigation part is usually quite simple: You have your posts in chronological order on the home/main page and set up a couple of other pages for static content. Blog navigation tends to use categories and/or tags to find the content the reader wants. Internal links are also popular in blogs to get readers to access more of the content.</p>
<p>The first item of business is to think of what content is going to be on your site and how you want it organized. One of the easiest and most basic tools for website navigation is a <a href="http://en.wikipedia.org/wiki/Site_map" target="_blank">site map</a>. Grab a blank piece of paper and draw a site map of how your new site will be organized. If your site map looks like a tree with many branches, your site needs a ‘hierarchical’ navigation structure. If your site map ends up with groups of content your navigation will be ‘global’.</p>
<p>Hierarchical navigation allows your readers to drill down into the website to find the information they need. Navigation aids should allow them to go from page to page further into more detailed information. A <a href="http://en.wikipedia.org/wiki/Breadcrumb_(navigation)" target="_blank">bread-crumb trail</a> would be nice so they can go back some levels and take another branch.</p>
<p>With global navigation your site visitors will be looking for a destination of content. It is like leaving town. There are towns in several directions but the visitor is only interested in travelling to one and will navigate in that direction. </p>
<p>After you get an idea how your content lays out, visit some websites that are in the same business or category as your new site. Take a close look on how their navigation scheme works. Take some notes on ideas you like and the things that confuse or annoy you. These notes will help you set up better navigation for your own site.</p>
<p>There are several ways to add navigation to your website. We have already discussed two:</p>
<ol>
<li><em><strong>Site map</strong></em>. I have found myself using the site map of several websites recently to find the content I was really interested in. </li>
<li><em><strong>Bread-crumb trail</strong></em>. This form of nav only works if your visitor starts at the home page then drills down for content. It can be helpful if your site has type of organization.</li>
<li><em><strong>Side bar menu</strong></em>. The most common in website design, especially on the left as we read left to right. Care must be taken to not get the sidebar too wide.</li>
<li><em><strong>Top menu</strong></em>. Works if you do not have too many menu items. With pull-down options makes site navigation pretty quick. The top menu is also a good place for the Home, Contact and Site Map links even if you have a more involved side bar menu.</li>
<li><em><strong>Imbedded links</strong></em>. Do not forget this old blogging standby. Imbedded links help you spread large amounts of related content over several pages or too give your visitors quick access to additional information.</li>
</ol>
<p>I have a couple of final notes. If you are setting up a do-it-yourself WordPress website (i.e. not a designer or programmer) take a close look at how the themes you are interested in handle navigation. I once had too discard several themes I really liked because the top bar menu would not hold the names of all the links I wanted. Also, we offer a nifty <a href="http://wpml.org/documentation/other-wordpress-plugins/cms-navigation-plugin/">CMS Navigation plugin</a> that will allow you have easily have bread-crumb, pull down and side bar menus with related content.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2009/01/website-navigation-design/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Basic Steps for WordPress as CMS</title>
		<link>http://wpml.org/2008/12/basic-steps-for-wordpress-as-cms/</link>
		<comments>http://wpml.org/2008/12/basic-steps-for-wordpress-as-cms/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 19:18:38 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://design.icanlocalize.com/?p=180</guid>
		<description><![CDATA[WordPress is a blogging tool. The default setting of WordPress puts the blog posts on the home page. When you are using WordPress as a CMS you probably do not want your home page to be blog posts. Fortunately it is easy to have some other page act as the home page. Here are the [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress is a blogging tool. The default setting of WordPress puts the blog posts on the home page. When you are using WordPress as a CMS you probably do not want your home page to be blog posts. Fortunately it is easy to have some other page act as the home page. Here are the basic steps you need to take:</p>
<ul>
<li><strong>Step 1</strong>: You need a home page. From your <span style="text-decoration: underline">Dashboard</span> you want to <span style="text-decoration: underline">Add New</span> under <span style="text-decoration: underline">Pages</span>. This page will hold the content for your home page. Remember, the title for the page will become the main heading for your home page, so a title like &#8220;Home&#8221; will not cut it. The page needs to be published before you can select it as the home page for your site.</li>
<li><strong>Step 2</strong>: You will set your new Home page as the Home page for your website. From your <span style="text-decoration: underline">Dashboard</span> find the <span style="text-decoration: underline">Reading</span> page under <span style="text-decoration: underline">Settings</span>. On the page you will see this (click for larger view):<a href="http://wpml.org/wp-content/imported/2008/12/setting-home-page.jpg"><img class="aligncenter size-medium wp-image-184" src="http://wpml.org/wp-content/imported/imported/2008/12/setting-home-page-300x208.jpg" alt="setting-home-page" /></a></li>
</ul>
<ul>
<li>Just change the <span style="text-decoration: underline">Front Page displays</span> to <span style="text-decoration: underline">A static page</span>. Then use the pull-down menu next to <span style="text-decoration: underline">Front page</span> to select the page you set up in Step 1 to be your home page. If you want your website to include a blog, you need to have a <span style="text-decoration: underline">Post page</span> also. You may first need to repeat Step 1 with a new page cleverly named Blog or News. If you do not select a <span style="text-decoration: underline">Posts page</span>, your site will not have a blog.</li>
<li><strong>Step 3</strong>: Change your permalinks. Under <span style="text-decoration: underline">Settings</span> go to <span style="text-decoration: underline">Permalinks</span>. For a CMS application a simple custom setting of your_url + /%postname%/ should work fine and be best for SEO (search engine optimization).</li>
<li><strong>Step 4</strong>: Check your home page. Your main site url should now show the page you set up as your home page. You now have a website based on WordPress rather than a blog.</li>
</ul>
<p>As you can see it is pretty simple to make WordPress act like a CMS. The challenges are making it look the way we want (themes), perform the functions we need (plugins) and attract viewers to the site (SEO). I hope to be providing some good information in these areas in future posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2008/12/basic-steps-for-wordpress-as-cms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>5 Reasons to Use WordPress as a CMS</title>
		<link>http://wpml.org/2008/12/5-reasons-to-use-wordpress-as-a-cms/</link>
		<comments>http://wpml.org/2008/12/5-reasons-to-use-wordpress-as-a-cms/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 20:27:41 +0000</pubDate>
		<dc:creator>Amir</dc:creator>
				<category><![CDATA[Webdesign tips]]></category>

		<guid isPermaLink="false">http://design.icanlocalize.com/?p=59</guid>
		<description><![CDATA[On this site, the designers and developers site of ICanLocalize, we want to develop a resource library for those who want to use WordPress as a Content Management System (CMS). Using WordPress as a CMS organizes the content as a conventional website rather than as a blogging platform. With the growth of WordPress and the [...]]]></description>
			<content:encoded><![CDATA[<p>On this site, the designers and developers site of <a href="http://www.icanlocalize.com">ICanLocalize</a>, we want to develop a resource library for those who want to use WordPress as a <a href="http://en.wikipedia.org/wiki/Content_management_system" target="_blank">Content Management System</a> (CMS). Using WordPress as a CMS organizes the content as a conventional website rather than as a blogging platform. With the growth of WordPress and the many people writing themes and plugins, the platform is becoming a very viable alternative in the CMS arena. Here are 5 reasons why I think considering WordPress for your CMS makes sense:</p>
<ol>
<li><strong>Cost.</strong> When you get down to the bottom line it is always about the money. That is why it is called the bottom line. If you have the knowledge you can get a $100/year hosting service, spend $10 for a domain name, install WordPress, find some free themes, add some free plugins for the features you need and you are in business. Conversely, if you want a professional looking website and do not have the skills, you can hire a designer to just do the design work and not have the high nuts and bolts cost of having a built from scratch website.</li>
<li><strong>Ease of Use. </strong>Once the WordPress based website is set up, the admin section is very easy to use to add or change content. Anyone who is familiar with word processing can write and publish a new page or post. A website owner can manage many of the functions of his site without having to call/e-mail the designer for every little change.</li>
<li><strong>Great, creative Themes.</strong> If you take a look at websites that use some of the other open source CMS platforms, you start to see a sameness to their look. WordPress theme writers have made thousands of themes available for free or a premium and I am constantly amazed at the creativity. Your website definitely <em>does not</em> have to look like a blog.</li>
<li><strong>Plugins, plugins, plugins!</strong> WordPress plugins can make your website do just about whatever you want. I often see something cool on another site, google that feature+wordpress=plugin and find the right tool to add that feature to one of my sites. Just upload to my hosting service and activate in wp-admin. I have done everything from change languages to live stock market quotes with plugins. Statistics, advertising, social media, custom menus, photos, videos, the list is almost endless.</li>
<li><strong>Online help and support.</strong> With the growing use of WordPress there has developed a tremendous Internet database of knowledge on all aspects of using WordPress. I personally have no background in programming and was able to learn and set up several WordPress blogs and websites. For the more knowledgible than I, there are blogs and forums where the solution to any troubling issue can be found.</li>
<li><strong>Bonus feature: WordPress comes with a blog attached.</strong> If you want a CMS for a website you probably want to include a blog. If you want your website to include a blog for your latest news and ideas it is easy to set up. If no blog is desired, that is quite easily done also.</li>
</ol>
<p>As I stated in the opening, we want to become a resource here for those who are considering or already using WordPress as a CMS. We will be discussing some difference between website and blog design and would like to highlight some sites, developers and designers who are using WordPress as their CMS. ICanLocalize currently has <a href="http://wpml.org">several plugins</a> available to enhance CMS usability. If you are using WordPress in CMS applications we would like <a href="">to hear</a> from you about your experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpml.org/2008/12/5-reasons-to-use-wordpress-as-a-cms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (Requested URI is rejected)
Content Delivery Network via Amazon Web Services: CloudFront: d2salfytceyqoe.cloudfront.net

Served from: wpml.org @ 2012-05-22 16:09:46 -->
