This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 3 posts - 18,406 through 18,408 (of 18,408 total)
  • Author
    Posts
  • in reply to: Question in context with qTranslate #395
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!
    So I guess you only need to add the proper filter for the link and the description. The title is working, because it’s using the get_the_title($pageposts[$k]->id); function, and I guess qtranslate already applies a filter on the get_the_title funtion.
    What you need, is to find the proper qtranslate filter for the content and the url. What I have found out from the qtranslate source code, is this:

    • qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage -> content filter
    • qtrans_convertURL -> url filter

    Okay, now all you need to do is add these filters to the search source code:

    • Open up the ajax-search-pro/search.php
    • go to line 269 and make a new line
    • add the following lines:
      `apply_filters(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’, $_content);
      apply_filters(‘qtrans_convertURL’, $pageposts[$k]->link);`

    If the permalink is still not good, then try to modify the second line to: apply_filters(‘the_permalink’, $pageposts[$k]->link);
    Let me know how it goes!

    in reply to: Plugin conflict with Scripts to Footer #379
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Can you please provide me the password to see the site? You can edit the topic and add it to the private details if you want it to remain private.

    in reply to: No images are shown #363
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Thank you for using this support form, you are the first one! 🙂
    I have great news, I have found the source of the problem and fixed it. The issue was, that the
    http://www.sedaro.de/wp-content/plugins/wpshopgermany/views/global.css
    file had the following declaration:

    .image {
      display: none;
    }

    I used the same class selector in the search, so it did not display. I have added an extra line to the search css file:
    wp-content\plugins\ajax-search-pro\css\style.css.php
    line 197: display: block !important;

    Thank you for the detailed information, it should work fine now 🙂

Viewing 3 posts - 18,406 through 18,408 (of 18,408 total)