This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: 

qtranslate friendly

  • Creator
    Topic
  • #12542
    menardmam
    Participant

    I NEED to use qtraslate on site with your template… on the slideshow, the qtranslate shortcode (filter) to get the proper language dont work on the caption (you call it headline)…. so i thing you have to filter the headline BEFORE outputing it, and it will play fine with qtranslate…. tell me in witch file i need to add that, and maybe add this to the next update…

    $filtered_string = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($raw_string);
    http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=4&t=294

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #12556
    Jason Bobich
    Keymaster

    I just updated the sliders plugin to have some filters you can utilize for this if you want:

    • themeblvd_sliders_headline_text
    • themeblvd_sliders_desc_text
    • themeblvd_sliders_button_text

    It’ll be v1.1.5:

    http://wordpress.org/plugins/theme-blvd-sliders/changelog/

    #12557
    menardmam
    Participant

    apply_filters() work too !… thanks … if interested to look at what become you theme, style to my needs ! : http://alter-ego.ca/Fibro_new/

    #12558
    menardmam
    Participant

    Sorry, it’s dont work !… maybe with applyfilter you will have more success !
    look at first slide ! from home page, yes the update to 1.1.5 have been done (plugin)

    #12559
    menardmam
    Participant

    this is the post on the forum on qtraslate i have made : http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=2041

    #12560
    Jason Bobich
    Keymaster

    I’ve never used qtranslate, but it sounds like from their post they’re just saying to do something like this:

    function my_sliders_headline_text( $text ) {
    	return qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($text);
    }
    add_filter('themeblvd_sliders_headline_text', 'my_sliders_headline_text');
    #12565
    menardmam
    Participant

    Last solution work as expected.. thanks !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The forum ‘Barely Corporate Responsive WordPress Theme’ is closed to new topics and replies.