OutputBilingualLink not working anymore
-
Built a mutlisite last year and got it working beautifully with Bilingual Linker using this code:
echo OutputBilingualLink( $post->ID, '<div class="english"></div>', '<div class="flag" title="English">', '</div>');
It’s come to reworking the site and I found my links had vanished. Discovered it was a fatal error – undefined function “OutputBilingualLink”.
I’ve been digging around in the forums for 2 hours now and it seems that “echo OutputBilingualLink” has been replaced with “the_bilingual_link”. (note missing “echo”).
So I’ve tried using “the_bilingual_link”, however this now messes with what i had in the parentheses ($post->ID, ‘<div class=”english”></div>’, ‘<div class=”flag” title=”English”>’, ‘</div>’).
What happened? Plugins shouldn’t just break like this without a strong warning from the author on update.
Also, if OutputBilingualLink is truly not valid anymore, why is it still on the installation instructions?
EDIT – OK I see whats going on. The plugin has improved I think. But this has completely messed up my site. I’m going to have to put some time into rewriting my markup and css. It would be at least a bit helpful if the link inserted by “the_bilingual_link” could have a class assigned to it.
- The topic ‘OutputBilingualLink not working anymore’ is closed to new replies.