Archive

Posts Tagged ‘beranda’

How to Remove a Trailing Slash from Home’s URL in Atahualpa 3.5.3 Theme of WordPress

August 10th, 2010 Masino Sinaga No comments

Believe it or not, if you are running a multilingual site using Atahualpa theme and WPML plugin, you will find that there is a double trailing slash in the Home’s URL that generated by WPML, especially for Home’s URL belongs to the languages other than the default one and you are using the “directory per language” setting in WPML. This can be happened since Atahualpa add a trailing slash in every Home’s URL when the home page is being displayed, whereas WPML also added another trailing slash after the language code in the URL. So, this will make a double trailing slash in the Home’s URL. In order to remove one of these trailing slash, you can use this following modification. As time goes by, this modification being applied into Atahualpa version 3.5.3 (the last version while I was writing this article) and WordPress version 3.0.1. I am not sure whether this modification can be applied into the older versions. Read more…

  • Share/Bookmark

How to Adjust Home URL Properly in Breadcrumb NavXT Plugin If You Are Running Multilingual Site

July 28th, 2010 Masino Sinaga No comments

The modification I made in the article with titled: How To Make Breadcrumb NavXT Plugin Support for Multi Language will make that plugin will support for multilingual site. Unfortunately, the Home link in the breadcrumb (if you display it in the breadcrumb) will give you a result always pointing to the default URL’s home, and not to the home of the selected language. For example, you have a multilingual site which English as default language and Indonesian as the second language. So, the default of URL’s home in English is http://www.example.com, and unfortunately the URL’s home in Indonesian does not change, and still using: http://www.example.com instead of http://www.example.com/id/. In order to overcome this little issue but still annoying me, then this following modification will help you by replacing only two lines of code in the breadcrumb_navxt_class.php file belongs to Breadcrumb NavXT plugin. Read more…

  • Share/Bookmark