• Resolved eman3mad

    (@eman3mad)


    Hi,
    i’m using force download plugin to force download image.
    it works okay, i’m using the short code and insert it in the post, but it doesn’t matter where i add the code, the button always appears on the top left side, i want to use it to force download other images not the featured one, so i need it to appear where i insert the code, also, there’s a gray box with this inside “</>” appears where i insert the code. is there any solution for that? or is there any other plugin can do the job? please help,
    thanks in advance.
    https://ww.wp.xz.cn/plugins/wp-force-images-download/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nazakat Ali

    (@nazakatali32)

    Hi eman3mad;
    Thanks for using this plugin..
    I will check what’s wrong?and then i will tell you?
    please give me your page link?

    Paste this code in wp_fid.php from line 160 to 171. Echoing the shortcode result can cause some issues, is better to concatenate the result in a variable an then return it.

    $ret_value = '<table id="wpfid-table" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    	<td align="center">
    		<form id="wpfid-form" method="post" action="'.plugins_url("fd.php",__FILE__).'">
    			<input name="pic_url" type="hidden" value="'.$filelink.'" />
    			<input name="new_name" type="hidden" value="'.$new_name_opt.'" />'.'<button '.$btn_style.' id="wpfid_button" type="submit" title="'. $title.'" ><span '.$style.' class="wpfid_title">'.$title.'</span>'.$image_size.'</button>
    		</form>
    	</td>
    </tr>
    </table>';
    
    return $ret_value;

    hai,..i need your help ? im use wp-force images download.. but why when click button download not working but the code appear. here’s the code :

    Strict Standards: Only variables should be passed by reference in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 19

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 49

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 50

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 51

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 52

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 53

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 54

    Warning: Cannot modify header information – headers already sent by (output started at /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php:19) in /home/adhe321/public_html/wp-content/plugins/wp-force-images-download/fd.php on line 55
    ÿØÿàJFIFÿÛC ÿÛC ÿÀà(“ÿÄ ÿĵ}!1AQa”q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq”2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ?ýnÒ<5×ý¶,üöÌßWIggag‘djÕz®­ú!r\ÁÒ<ö<ßÔ³²ujЉJå…QREÛ?â U^­7ù

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

The topic ‘force download button’ is closed to new replies.