WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
duplicate form (3 posts)

  1. roneyrogerio92
    Member
    Posted 1 year ago #

    The form is duplicated, I use functions.php theme to insert the tags, the error has occurred after the last update, sample page
    function.php

    function add_post_content($content) {
    	if(!is_feed() && !is_home() && !is_page()) {
    		$content .= '<br>[wzslider lightbox="true"]<br>[fu-upload-form title="Envie sua foto desta receita"]
    [input type="file" name="photo" id="ug_photo" description="Envie foto apenas de sua autoria.<br>Tamanho m&aacute;ximo do arquivo: 150KB.<br>Envie e aguarde a pagina recarregar."]
    [input type="submit" value="Enviar"] [/fu-upload-form]';
    	}
    	return $content;
    }
    add_filter('the_content', 'add_post_content');

    http://wordpress.org/extend/plugins/frontend-uploader/

  2. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Hey, this is not a bug, I just changed the way form works. Default fields are always there now because some folks modified form and removed them, breaking the plugin. So just get rid of all inner content of shortcode and that should do.

  3. roneyrogerio92
    Member
    Posted 1 year ago #

    not have more like not putting the title and description?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.