Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sapidou

    (@sapidou)

    Hello,

    Thank u very much for your quick answer.
    I will have a look at your link and see whether I can manage with that.

    But I still have this question : what are the “attached files” in wordpress ?

    In the Codex ( https://codex.www.ads-software.com/Using_Image_and_File_Attachments) we can read that :

    If a media file is uploaded within the edit screen, it will automatically be attached to the current post being edited. If it is uploaded via the Media Add New SubPanel or Media Library SubPanel it will be unattached, but may become attached to a post when it is inserted into post. There also is an option on the Media Library SubPanel to attach unattached media items.

    thanks and have a nice day !

    Thread Starter sapidou

    (@sapidou)

    Yes sure !

    this is what I add in transposh.php

    //readmorereadright plugin
    if ( isset($_POST[‘wt-rmrh-redirect’]) && $_POST[‘wt-rmrh-redirect’] == ‘1’ && isset($_POST[‘itemid’]) ) {
    $this->target_language = transposh_utils::get_language_from_url($_SERVER[‘HTTP_REFERER’], $this->home_url);
    $this->attempt_json = true;
    }

    But make sure you are using the readmorereadright.
    Because the test is made on this plugin variables.

    I hope it will work for you !

    Sapidou

    Thread Starter sapidou

    (@sapidou)

    Hi again,

    I finally managed to solve the problem following the advice given :
    I updated the on_init() function in transposh.php, adding a special case for my plugin.
    I didn’t used $_POST[“action”] as it contains a null value but another $_POST variable specific to my plugin.

    I would have to make this modification after each new transposh release
    but it works perfectly !

    Thanks again to transposh support !

    Thread Starter sapidou

    (@sapidou)

    Thank you very much for your help !

    Hi Carolina,

    First, I would like to thank you for your work !

    I am using your theme music as a base for mine, and I really like it.

    I have 1 remark :
    I try to validate the website with W3C
    and it returns the errors bellow :

    Line 134, Column 7: End tag for body seen, but there were unclosed elements.

    </body>

    ?
    Error Line 55, Column 21: Unclosed element div.

    <div class=”wrapper”>

    ?
    Error Line 61, Column 74: The aria-controls attribute must point to an element in the same document.

    I don’t know if it is due to my modifications or not.
    Could you please have a look ?
    Thank you in advance four your answer !

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