?>


					<div class="shadowblock_out">

						<div class="shadowblock">

							<a id="cpro_cat_btn" class="cpro_cat_btn" href="#"></a>

							<h2 class="dotted"><?php 
    _e('States', APP_TD);
    ?>
</h2>

							<div id="directory" class="directory <?php 
    cp_display_style('dir_cols');
    ?>
">

								<?php 
    echo cp_create_categories_list('dir');
    ?>

								<div class="clr"></div>

							</div><!--/directory-->

						</div><!-- /shadowblock -->

					</div><!-- /shadowblock_out -->
">

			<div class="post-block">

				<div class="post-left">

					<?php 
        if ($cp_options->ad_images) {
            cp_ad_loop_thumbnail();
        }
        ?>

				</div>

				<div class="<?php 
        cp_display_style(array('ad_images', 'ad_class'));
        ?>
">

					<?php 
        appthemes_before_post_title();
        ?>

					<h3><a href="<?php 
        the_permalink();
        ?>
"><?php 
        if (mb_strlen(get_the_title()) >= 75) {
            echo mb_substr(get_the_title(), 0, 75) . '...';
        } else {
            the_title();
Exemple #3
0
	<div id="search-bar">

		<div class="searchblock_out">

			<div class="searchblock">

				<form action="<?php 
    echo home_url('/');
    ?>
" method="get" id="searchform" class="form_search">

					<div class="searchfield">

						<input name="s" type="text" id="s" tabindex="1" class="editbox_search" style="<?php 
    cp_display_style('search_field_width');
    ?>
" value="<?php 
    the_search_query();
    ?>
" placeholder="<?php 
    esc_attr_e('What are you looking for?', APP_TD);
    ?>
" />

					</div>

					<div class="searchbutcat">

						<button class="dashicons-before btn-topsearch" type="submit" tabindex="3" title="<?php 
    esc_attr_e('Search Ads', APP_TD);
										</div>

										<div id="thumbs-pic">

											<?php 
            cp_get_image_url_single($post->ID, 'thumbnail', $post->post_title, -1);
            ?>

											<div class="clr"></div>

										</div>

									</div><!-- /bigleft -->
                                    
                                    <div class="bigright <?php 
            cp_display_style('ad_single_images');
            ?>
">

									<ul>

									<?php 
            // grab the category id for the functions below
            $cat_id = appthemes_get_custom_taxonomy($post->ID, APP_TAX_CAT, 'term_id');
            if (get_post_meta($post->ID, 'cp_ad_sold', true) == 'yes') {
                ?>
                                    		
											<li id="cp_sold"><span><?php 
                _e('This Horse has been sold', APP_TD);
                ?>
</span></li>