Support

Account

Home Forums Front-end Issues Repeater & Image Upload Failing Reply To: Repeater & Image Upload Failing

  • On further investigation, this issue does NOT have to do with the Theme My Login plugin.

    My code for the template is below. Could there be something wrong with it?

    <?php
    /**
     * Template Name: Profile Downloads
     * ==============================================
     * This template is responsible for managing the
     * each user's downloads.  Let's see how this goes
     *
     * @author		carvache
     * @date		8/30/2014
     */
    
    // Preprocessing Logic
    if ( !is_user_logged_in() )
    	exit('You must login to see this page');
    
    acf_form_head();
    
    get_header();
    	?>
    	<div class="content-wrapper">
    		<div class="page-wrapper">
    			<div class="gdl-page-float-left">
    				<div class="gdl-page-item">
    					<div class="sixteen columns mt 30">
    						<h1 class="gdl-page-title gdl-divider gdl-title title-color"><?php the_title() ?></h1>
    						<?php
    
    						acf_form(array(
    							'post_id' => 'user_' . get_current_user_id(),
    							'field_groups' => array(600), // the ID of the field group
    							'updated_message' => '', // default updated message. Can be false to show no message
    							'form' => true
    						));
    
    						?>
    					</div>	
    				</div>
    			</div>
    		</div>
    	</div>
    	<?php
    get_footer();