jay_BL
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
@tareq Hasan
The problem is caused in the wordpress version 3.5.2 because the plupload scripts are loaded on all pages. Adding error checking to see if the plupload container exits in your wpuf.js should fix the issue…
Temporary fix add this to your footer.php:
<?php $pagename = get_query_var('pagename'); ?> <?php if(strtolower($pagename) != '<strong>post-article</strong>' && strtolower($pagename) != '<strong>edit-article</strong>'): ?> <div id="wpuf-ft-upload-container" style="display: none !important;"> <div id="wpuf-ft-upload-filelist"></div> <a href="#">Upload Image</a> <div id="p17u2jd5ks117i1otj1pei1kge1psd0_html5_container" class="plupload html5" style="position: absolute; background-color: transparent; width: 103px; height: 36px; overflow: hidden; z-index: -1; opacity: 0; top: 0px; left: 137px; background-position: initial initial; background-repeat: initial initial;"><input id="p17u2jd5ks117i1otj1pei1kge1psd0_html5" style="font-size: 999px; position: absolute; width: 100%; height: 100%;" type="file" accept="" multiple="multiple"></div> </div> <?php endif; ?>[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Replace “edit-article” and “post-articles” with your page names..
Viewing 2 replies - 1 through 2 (of 2 total)