krisdavant
Forum Replies Created
-
Forum: Plugins
In reply to: [Groups] Add group function via php to a modal popuplike where do i put the code? The group is called “agents”
<?php
wp_reset_query();
global $user_ID, $post;
?>
<!– MODAL BIG –>
<div class=”modal fade” id=”modal_bid”>
<div class=”modal-dialog”>
<div class=”modal-content”>
<div class=”modal-header”>
<button type=”button” class=”close” data-dismiss=”modal”>
<i class=”fa fa-times”></i>
</button>
<?php if( !(ae_get_option(‘invited_to_bid’) && !fre_check_invited($user_ID, $post->ID)) ) { ?>
<h4 class=”modal-title”><?php _e(‘Set your bids:’,ET_DOMAIN);?></h4>
<?php } ?>
</div><div class=”modal-body”>
<?php
if( ae_get_option(‘invited_to_bid’) && !fre_check_invited($user_ID, $post->ID) ) {
echo ‘<p class=”lead warning”>’;
_e(“Oops, You must be invited to bid this project”, ET_DOMAIN);
echo ‘</p>’;
}else{ ?>
<div>
<form role=”form” id=”bid_form” class=”bid-form validateNumVal”>
<div class=”form-group”>
<label for=”bid_budget”><?php _e(‘Commission (in %)’,ET_DOMAIN);?></label>
<input name=”bid_budget” id=”bid_budget” class=”form-control required number numberVal” min=”0″ />
</div><div class=”clearfix”></div>
<div class=”form-group row-bid-slider”>
<label class=”estimate-pricing”>
<?php _e(‘Agents estimated pricing’, ET_DOMAIN);?>
</label>
<p>
<?php
$est_min = ‘50000’;
$est_max = ‘10000000’;
?>
<input type=”text” id=”estimate_pricing” value=”” name=”estimate_pricing” />
<input type=”hidden” name=”estimate_pricing_from” id=”estimate_pricing_from” value= “<?php echo $est_min;?>” />
<input type=”hidden” name=”estimate_pricing_to” id=”estimate_pricing_to” value= “<?php echo $est_max;?>” />
<input type=”hidden” name=”user_available” id=”user_available” value= “yes” />
</p></div>
<div class=”clearfix”></div><div class=”form-group”>
<label for=”bid_budget”><?php _e(‘Sale method’,ET_DOMAIN);?></label>
<input placeholder =”How do you plan to sell the property” name=”sale_method” id=”sale_method” class=”form-control” /></div>
<div class=”form-group”>
<p><label for=”bid_budget”><?php _e(‘Support attach docs’,ET_DOMAIN);?></label></p>
<div class=”edit-gallery-image col-md-8 col-sm-12″ id=”gallery_container”>
<ul class=”gallery-image carousel-list” id=”image-list”>
<li id=”bid_file”>-
<div class=”plupload_buttons” id=”carousel_container” style=”position: relative;”>
<span class=”img-gallery” id=”carousel_browse_button” style=”position: relative; z-index: 1;”>
Attach file <i class=”fa fa-plus”></i>
</span>
</div>
<span class=”et_ajaxnonce” id=”<?php echo wp_create_nonce( ‘ad_carousels_et_uploader’ ); ?>”></span>
</div>
</div>
<div class=”clearfix”></div><div class=”form-group”>
<label for=”post_content”><?php _e(‘Notes’,ET_DOMAIN); ?></label>
<textarea id=”bid_content” name=”bid_content”></textarea>
</div><div class=”clearfix”></div>
<input type=”hidden” name=”post_parent” value=”<?php the_ID(); ?>” />
<input type=”hidden” name=”method” value=”create” />
<input type=”hidden” name=”action” value=”ae-sync-bid” /><?php do_action(‘after_bid_form’); ?>
<button type=”submit” class=”btn-submit btn-sumary btn-sub-create”>
<?php _e(‘Submit’, ET_DOMAIN) ?>
</button>
</form>
</div>
<?php } ?>
</div>
</div><!– /.modal-content –>
</div><!– /.modal-dialog –>
</div><!– /.modal –>Forum: Plugins
In reply to: [Groups] Add group function via php to a modal popupThe button is a little more complicated then that.
How do I use this function with a template file.
I have tried the <?php echo do_shortcode(“[shortcode]”); ?> and even the one with the closed tags
echo do_shortcode( ‘[iscorrect]’ . $text_to_be_wrapped_in_shortcode . ‘[/iscorrect]’ );still not working.
Also do I need to first get the group the user is in for this to work?
Forum: Plugins
In reply to: [WP Display Header] Adding to Category PagesThe answer is yes. Just tested it. Thanks
Forum: Plugins
In reply to: [WP Display Header] Adding to Category PagesKonstantin,
I know I can edit category pages but will your plugin allow me the option select a header for category pages?
Kris
-
<div class=”plupload_buttons” id=”carousel_container” style=”position: relative;”>