Translation makes upload button not working

  • In Progress
    Posted in: Fundingpress  
  • Member
    esysoft92
    April 1, 2016 at 9:39 am #79661

    Hello,

    When translating funding press theme, upload button on translated page of “launch a project” is not working, on functions.php line 476, you coded like this :

    if(is_page(get_ID_by_slug('launch-project'))

    but when you translate this page the slug may change and all scripts like “fileupload.js” and “jcrop.js” not loaded.

    I can put another condition to this line but how if i have many translation ? i should change this line each time, and above all i found others conditions, could you tell me how to fix this without changing code when adding translation please ?

    Thanks

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.