akemx (April 6th, 2013), archersoftech (May 10th, 2013), danielpwms (May 25th, 2013), gonesmith (April 5th, 2013), sistiri (April 21st, 2013), tbase (August 22nd, 2013), tcarter (April 5th, 2013)
if ( function_exists('register_sidebar') ) {
register_sidebar(array(
'name' => 'Create Listing Sidebar',
'id' => 'listing-sidebar',
'description' => 'Appears as the sidebar on the add listing page',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<div class="section-head"><h3>',
'after_title' => '</h3></div>',
));
}
<?php
/**
* Template Name: Create Listing
*/
?>
<?php
the_post();
appthemes_load_template( 'form-listing.php', array(
'title' => get_the_title(),
'listing' => va_get_default_listing_to_edit(),
'action' => __( 'Next Step', APP_TD ),
'form_action' => va_get_listing_create_url(),
) ); ?>
<div id="sidebar" class="threecol last">
<?php get_sidebar('listing'); ?>
</div>
<?php
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('listing-sidebar') ) :
endif;
?>
akemx (April 6th, 2013), archersoftech (May 10th, 2013), danielpwms (May 25th, 2013), gonesmith (April 5th, 2013), sistiri (April 21st, 2013), tbase (August 22nd, 2013), tcarter (April 5th, 2013)
danyz (June 10th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)