Archive

Posts Tagged ‘plugin’

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

How to Overcome The Missing Posts/Pages After Upgrading to WPML plugin version 1.8.0 of WordPress

July 25th, 2010 Masino Sinaga 2 comments

For those of you who encountered the missing posts/pages after upgrading your WPML plugin to 1.8.0 version, then this following solutin might be help you. Since WPML changed the element_type value of post and page in the icl_translations table, ie each into post_post and post_page, then you have to adjust this value at the element_type field. After doing comparison to several version of WMPL, I found out that this changes happened since WPML version above 1.7.7. In version 1.7.7, this field was still using post and page instead of post_post and post_page. Actually, when you upgrade your WPML to 1.8.0, this value will be automatically adjusted to the new value. But, in some cases, there are some websites that do not automatically turn to the new value, especially if they deactivate and activate the plugin manually (because they upgrade by replacing the files manually, and not using the auto-update feature). Read more…

  • Share/Bookmark

How to Display Pods Data Properly Using Atahualpa Theme of WordPress

July 23rd, 2010 Masino Sinaga 1 comment

If you use Pods CMS plugin with Atahualpa theme for your WordPress-based site, then this following modification is for you, indeed. It will show you how to display the Pods data properly by using Atahualpa theme in WordPress site. Atahualpa is one of the best WordPress theme that I have been using for this last one year. It is a very powerful theme. However, for some beginners, this theme looks too complicated, especially if you want to hard-code the source in order to put your own content into its sidebar. For example, in this case that we are talking about, when you add your own Pods data into the middle-area of your site, the sidebars are messed-up. Then, after for several hours exploring this theme, I found the trick how you can add your Pods data easily by modifying one of the theme’s files, afterwards adding your own template files and put them inside the Atahualpa theme directory. Yay! That’s so simple, huh? Read more…

  • Share/Bookmark

How to Add Your Own Translation Link to Language Switcher by Using WPML Plugin of WordPress

July 14th, 2010 Masino Sinaga No comments

WPML is a plugin which has the ability to turn your WordPress site into complete multilingual content management systems. Unfortunately, until now I meant, at least until the time before I found this following solution, WPML only supports for the translation of the WordPress original content, such as: posts, pages, categories, tags, and menus (since WordPress version 3.0). I can understand about this, since there are so many possibilities about the content you may have in Pods CMS! That is why WPML has not supported for Pods CMS plugin, yet, whereas this feature I have been looking for that could be implemented in WPML too. I have been waiting for such long time, and… today… God bless the day I found this following solution, indeed! Although the following modification I made sounds like a little tricky or hackish into the WPML’s code, but it works very fine at mine. So, if you are using Pods CMS and WPML for your WordPress site, and you want to add your own translation link that came from your own content in Pods CMS into the language switcher that belongs to WPML, then you came to the right place, because this modification is only for you! Read more…

  • Share/Bookmark

How to Replicate the Footer Language Switcher Menu In Order to Display It Also at The Very Top of Site by Using WPML Plugin of WordPress

July 11th, 2010 Masino Sinaga No comments

I saw one of the interesting discussion topic on the WPML Forum about the same thing with the title of this article. By accidentally, I have just modified the custom footer language switcher for one of my websites that using multilingual feature, and also wrote the similar article about it a few days ago on this my blog. Thanks for the topic on the forum, so I can do some exploration in order to implement the solution for the question that has been asked on the forum. So here is the solution I made for it. Read more…

  • Share/Bookmark

How to Make MicroKids Related Posts version 2.5 Plugin Support for Multi Language

May 6th, 2010 Masino Sinaga No comments

Yesterday, I successfully modified the MicroKid Related Posts version 2.5 plugin became support for multi language. I edited the strings that still did not use the gettext function, added the sub directory named “languages”, and then added the .mo file into it. I have created the Indonesian translation file into that sub directory. So, there is one .mo file at the moment. I have implemented this multi language version into one of my sites that support for multi language. I hope the author of this plugin will add this multi language feature into the next release. Read more…

  • Share/Bookmark

How To Make Breadcrumb NavXT Plugin Support for Multi Language

April 25th, 2010 Masino Sinaga No comments

Today I realized that when I tried to use the Breadcrumb NavXT plugin for one of my websites, it has not supported for the multi language feature a hundred percent, even there are already available the .mo files for multi-language inside the languages sub-folder. I don’t know why there are no complaint about this so far? I thought that everyone that use this plugin only using one language; English. So, in order to support multi language, then I modified the breadcrumb_navxt_class.php file. Please note that this modification applied to Breadcrumb NavXT version 3.4.1. I hope this modification will be implemented in the next version by the author of this plugin. Read more…

  • Share/Bookmark

How to Remove Unordered List Bullet in Output of Custom Field Template Plugin of WordPress

January 30th, 2010 Masino Sinaga No comments

A few days ago, I used Custom Field Template plugin in my another website that I created by using WordPress. This plugin is useful if you want to define the custom field in your posts or pages, especially if you want to use the frequently templates which have the fixed data field entry. Unfortunately, when the related template is being displayed, you will see the unordered list bullet in the leftside of each item inside the html table. So I made modification in order to remove this unordered list bullet. Also, this modification will add the ability for user to move to the next field while entering data in edit/add mode by using Tab from the keyboard. Read more…

  • Share/Bookmark

How to Navigate Posts Only in The Current Category using Smarter Navigation Plugin and Atahualpa Theme of WordPress

January 16th, 2010 Masino Sinaga 2 comments

If you want to change the existing navigation in Atahualpa Theme of your WordPress website that navigate all post based on the order of the general Post ID no matter which category you choose, become the smarter technique which will navigate based on the current category that selected by user, then this following modification is for you! As we know, Atahualpa theme has provided the previous/next link when we display the certain post in the top of the post page. Unfortunately, by default, when we choose the certain category, then we navigate through that navigation post link, it will avoid the selected category. Now, after you implement this following modification, you will be able to navigate only through the posts that located in the certain category that you have choosen. Isn’t smarter, huh? Read more…

  • Share/Bookmark