Title: fers's Replies | WordPress.org

---

# fers

  [  ](https://wordpress.org/support/users/fers/)

 *   [Profile](https://wordpress.org/support/users/fers/)
 *   [Topics Started](https://wordpress.org/support/users/fers/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fers/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fers/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fers/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fers/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fers/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Spectra Gutenberg Blocks – Website Builder for the Block Editor] After 1.25 post excerpt output is now broken](https://wordpress.org/support/topic/after-1-25-post-excerpt-output-is-now-broken/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [5 years ago](https://wordpress.org/support/topic/after-1-25-post-excerpt-output-is-now-broken/#post-14542094)
 * Hi thanks for your immediate response. Unfortunately, the issue is still there.
   I installed latest update, but had to revert to 1.22.5 again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] cache output and qtranlaste-x](https://wordpress.org/support/topic/cache-output-and-qtranlaste-x/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cache-output-and-qtranlaste-x/#post-6537364)
 * Hi, Yes I know. All translations are stored under the same (only one) post ID
   as the original language version, separated by tags that denote where each language
   starts and ends.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] Empty DIV Box](https://wordpress.org/support/topic/empty-div-box/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years ago](https://wordpress.org/support/topic/empty-div-box/#post-3893199)
 * Forgot to mention that in crp’s “output settings” I have chosen the “blank output”
   option, instead of displaying “no related posts found”. And still outputs a DIV.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/page/2/#post-3799940)
 * Perfect. Tried it and it works this way!
    Much more elegant and useful.
 * Now the question is, will you apply this modification in your next release so
   that I don’t have to patch the plugin everytime you upgrade?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799915)
 * No, it did not. The trick was somewhere else.
    At Line 98, I tried the following
   and yes, this cures the bug!
 * if(!$is_widget) {
 * if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’)) 
   $title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($crp_settings[‘
   title’]);
    $output .= (stripslashes($title)); }
 * My question now is, do you plan to insert this in a future update? Otherwise 
   each time your plugin has a new version, the problem would reappear.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799904)
 * Ajay, disregard my last email please. The code you told me to insert is the one
   in the previous email, if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’))….
 * So, added it after line 79, and still the title of the lest’s call it “CRP Box”
   shows the multilingual string.
 * Fers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799903)
 * Hi Ajay, I’m REALLY sorry for the misleading info. 🙁
 * Look, the line of code you just told me to add after line 79 is already there(
   in line 79!).
    Maybe you pasted line 79 itself in your last reply?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799894)
 * Update. As I said before, I am not using the widget mode, but instead the option
   that injects CRP at the end of post content, and in this scenario, the bug exists.
   However, just for testing I also added CRP as a widget from the widgets menu 
   in WP, and in this case it works flawlessly. The title of the widget displays
   only the correct language.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799877)
 * Done. No effect unfortunately. Still getting
 * [:en]Title[:es]Titulo
 * as the output.
 *  🙁
 * By the way… Is it a “widget” properly speaking? Because CRP in fact inserts its
   output below the post content in my case. Not using it as a “widget” from the“
   widgets” menu in the WPtheme.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799744)
 * Standard “Recent posts” plugin in twenty Ten gets its widgets title translated
   through qTranslate, for instance.
    Maybe this helps? [http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294](http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799708)
 * No idea honestly, I will investigate a bit so that maybe we can sort this out.
   But it’s got to be a trivial matter I hope 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] CRP & QTRANSLATE](https://wordpress.org/support/topic/crp-qtranslate/)
 *  Thread Starter [fers](https://wordpress.org/support/users/fers/)
 * (@fers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/crp-qtranslate/#post-3799694)
 * What Qtranslate does is to store each post’s title and contents within wp’s database
   in multiple languages, but under the same post id. Each text block is preceeded
   by a shortcode that “marks” the start and end of the translated string/text, 
   then at the time of displaying the post in, let’s say English, it filters the
   content leaving just the desired language visible. And all this works perfect
   with CRP. CRP shows the post titles in the correct language in the widget.
 * It’s only the widget TITLE the one that does not play well and does not get translated(
   instead it shows the full multilanguage string along with qtranslate’s shortcodes).
   Weird!

Viewing 12 replies - 1 through 12 (of 12 total)