nataliette
Forum Replies Created
-
Forum: Plugins
In reply to: [qTranslate] HOME menu link resets selected language back to defalutHi guys,
I am having the same problem but it is the other menu items that reverts back to default language instead of Home. Any help, or can Tschan modify the code such that it works for my other links generated from the WordPress Menu?
Thanks in advance.
Forum: Plugins
In reply to: [qTranslate] [Plugin: qTranslate] Back to default language. Why?Awesome!
@ville.andreas Yup it works for my navigation menu for custom post type archives.The only problem is that the code outputs an empty
<a>tag, e.g.<li id="menu-item-76" class="menu-item menu-item-type-post_type_archive menu-item-object-event menu-item-76"> <a href="http://example.com/"></a> <a href="http://example.dev/events/event/?lang=en">Events</a> </li>I’ve been trying to modify the code such that I can remove that empty
<a>tag but not being successful…P/S. here’s a code-friendly version of the hack
// Fix for qTranslate plugin and "Home" menu link reverting back to default language // http://wordpress.org/support/topic/plugin-qtranslate-back-to-default-language-why?replies=4#post-3273387 if (function_exists('qtrans_convertURL')) { function qtrans_in_nav_el($output, $item, $depth, $args) { $attributes = !empty($item->attr_title) ? ' title="' . esc_attr($item->attr_title) . '"' : ''; $attributes .=!empty($item->target) ? ' target="' . esc_attr($item->target) . '"' : ''; $attributes .=!empty($item->xfn) ? ' rel="' . esc_attr($item->xfn) . '"' : ''; // Integration with qTranslate Plugin $attributes .=!empty($item->url) ? ' href="' . esc_attr( qtrans_convertURL($item->url) ) . '"' : ''; $output = $args->before; $output .= '<a' . $attributes . '>'; $output .= $args->link_before . apply_filters('the_title', $item->title, $item->ID) . $args->link_after; $output .= ''; $output .= $args->after; return $output; } add_filter('walker_nav_menu_start_el', 'qtrans_in_nav_el', 10, 4); }Forum: Plugins
In reply to: [Simple Twitter Tweets] Show Twitter Screen Name doesnt workSorry for the consequent postings.
I have noticed that the timestamp is inaccurate. When I posted a tweet just now, it says it was posted 8hours ago. FYI my current timezone is GMT+8, perhaps you could highlight having consistent timezone as WordPress settings, thank you.
Forum: Plugins
In reply to: [Simple Twitter Tweets] Show Twitter Screen Name doesnt workOh also, just wondering if it would be possible to link the timestamp to the exact tweet’s page rather than my twitter userpage.
Forum: Plugins
In reply to: [Simple Twitter Tweets] Show Twitter Screen Name doesnt workHi! Thanks for your reply.
I have the latest version 1.3.1. My username is simply the username without the @ symbol. When I click save, only my tweet shows without username, like this:I had spaghetti for lunch today
3h agoinstead of:
@my_username: I had spaghetti for lunch today
3h agoThank you in advance!
Forum: Plugins
In reply to: [ Plugin: Register Plus Redux ] – Fatal error on activationi didnt solve it, i just changed plugin. as i am sure that its my client’s old php version that’s causing the problem. i am using Simplr User Registration Form Plus: http://wordpress.org/plugins/simplr-registration-form/
Forum: Plugins
In reply to: [ Plugin: Register Plus Redux ] – Fatal error on activationoh no! my client’s server is php 3 only. darnnn. thanks!
Forum: Plugins
In reply to: [ Plugin: Register Plus Redux ] – Fatal error on activationi am also having this problem, help!