qtranslate and Magic Fields custom post menu link issue


When you add a custom post created with magic fields to a custom menu, it will not show up the language url like you want to when your using qtranslate. So how to fix it?

add this line to the qtranslate_hooks.php file in the plugin directory. Should be added at the bottom of the file. where similar hooks are there.

add_filter(‘post_type_link’, ‘qtrans_convertURL’);

Hope this helps.

Advertisements

Let me know what you think .. :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s