Exemplo n.º 1
0
                <div class="td-404-sub-title">
                    <?php 
_etd('Sorry, but the page you are looking for doesn_t exist.', TD_THEME_NAME);
?>
                </div>

                <div class="td-404-sub-sub-title">
                    <?php 
_etd('You can go to the', '');
?>
                    <a href="<?php 
echo esc_url(home_url('/'));
?>
"><?php 
_etd('HOMEPAGE', TD_THEME_NAME);
?>
</a>

                </div>


                <h4 class="block-title"><span><?php 
echo __td('OUR LATEST POSTS', TD_THEME_NAME);
?>
</span></h4>

                <?php 
$args = array('post_type' => 'post', 'showposts' => 6);
query_posts($args);
$td_loop_block_module = td_util::get_option('tds_404_page_layout');
Exemplo n.º 2
0
<form role="search" method="get" class="td-search-form-widget" action="<?php 
echo home_url('/');
?>
">
    <div>
        <input class="td-widget-search-input" type="text" value="<?php 
echo get_search_query();
?>
" name="s" id="s" /><input class="wpb_button wpb_btn-inverse btn" type="submit" id="searchsubmit" value="<?php 
_etd('Search');
?>
" />
    </div>
</form>
Exemplo n.º 3
0
<h1 class="entry-title td-page-title">
    <span class="td-search-query"><?php 
echo get_search_query();
?>
</span> - <span> <?php 
echo __td('search results', TD_THEME_NAME);
?>
</span>
</h1>

<div class="search-page-search-wrap">
    <form role="search" method="get" class="td-search-form-widget" action="<?php 
echo esc_url(home_url('/'));
?>
">
        <div>
            <input class="td-widget-search-input" type="text" value="<?php 
echo get_search_query();
?>
" name="s" id="s" /><input class="wpb_button wpb_btn-inverse btn" type="submit" id="searchsubmit" value="<?php 
_etd('Search', TD_THEME_NAME);
?>
" />
        </div>
    </form>
    <div class="td_search_subtitle">
        <?php 
_etd('If you_re not happy with the results, please do another search', TD_THEME_NAME);
?>
    </div>
</div>
Exemplo n.º 4
0
                <div><?php 
do_action('wpml_add_language_selector');
?>
</div>
                <!--<div style="display:inline-block;"><a id="td-header-search-button" href="#" role="button" class="dropdown-toggle " data-toggle="dropdown"><i class="td-icon-search"></i></a></div>-->
            </div>
        </div>
    </div>
</div>

<div class="header-search-wrap">
	<div class="dropdown header-search">
		<div class="td-drop-down-search" aria-labelledby="td-header-search-button">
			<form role="search" method="get" class="td-search-form" action="<?php 
echo esc_url(home_url('/'));
?>
">
				<div class="td-head-form-search-wrap">
					<input id="td-header-search" type="text" value="<?php 
echo get_search_query();
?>
" name="s" autocomplete="off" /><input class="wpb_button wpb_btn-inverse btn" type="submit" id="td-header-search-top" value="<?php 
_etd('Search', TD_THEME_NAME);
?>
" />
				</div>
			</form>
			<div id="td-aj-search"></div>
		</div>
	</div>
</div>
Exemplo n.º 5
0
                </ol>
                <div class="comment-pagination">
                    <?php 
            previous_comments_link();
            ?>
                    <?php 
            next_comments_link();
            ?>
                </div>

            <?php 
        }
        if (!comments_open() and get_comments_number() > 0) {
            ?>
	            <p class="td-pb-padding-side"><?php 
            _etd('Comments are closed.', TD_THEME_NAME);
            ?>
</p>
	        <?php 
        }
        $commenter = wp_get_current_commenter();
        if (empty($aria_req)) {
            $aria_req = '';
        }
        $fields = array('author' => '<p class="comment-form-input-wrap">
			            <span class="comment-req-wrap">
			            	<input class="" id="author" name="author" placeholder="' . __td('Name:', TD_THEME_NAME) . '" type="text" value="' . esc_attr($commenter['comment_author']) . '" size="30"' . $aria_req . ' />' . ($req ? '</span>' : '') . '</p>', 'email' => '<p class="comment-form-input-wrap">
			            <span class="comment-req-wrap"><input class="" id="email" name="email" placeholder="' . __td('Email:', TD_THEME_NAME) . '" type="text" value="' . esc_attr($commenter['comment_author_email']) . '" size="30"' . $aria_req . ' />' . ($req ? '</span>' : '') . '</p>', 'url' => '<p class="comment-form-input-wrap">
			            <input class="" id="url" name="url" placeholder="' . __td('Website:', TD_THEME_NAME) . '" type="text" value="' . esc_attr($commenter['comment_author_url']) . '" size="30" />' . '</p>');
        $defaults = array('fields' => apply_filters('comment_form_default_fields', $fields));
        $defaults['comment_field'] = '<div class="clearfix"></div>
Exemplo n.º 6
0
<?php

/*  ----------------------------------------------------------------------------
    This is the mobile off canvas menu
 */
?>
<div id="td-mobile-nav">
    <!-- mobile menu close -->
    <div class="td-mobile-close">
        <a href="#"><?php 
_etd('CLOSE', TD_THEME_NAME);
?>
</a>
        <div class="td-nav-triangle"></div>
    </div>

    <div class="td-mobile-content">
        <?php 
wp_nav_menu(array('theme_location' => 'header-menu', 'menu_class' => '', 'fallback_cb' => 'td_wp_no_mobile_menu'));
//if no menu
function td_wp_no_mobile_menu()
{
    //this is the default menu
    echo '<ul class="">';
    echo '<li class="menu-item-first"><a href="' . esc_url(home_url('/')) . 'wp-admin/nav-menus.php">Click here - to use the wp menu builder</a></li>';
    echo '</ul>';
}
?>
    </div>
</div>
Exemplo n.º 7
0
echo get_search_query();
?>
</span> - <span> <?php 
echo __td('search results');
?>
</span>
</h1>

<div class="search-page-search-wrap">

    <form role="search" method="get" class="td-search-form-widget" action="<?php 
echo home_url('/');
?>
">
        <div>
            <input class="td-widget-search-input" type="text" value="<?php 
echo get_search_query();
?>
" name="s" id="s" /><input class="wpb_button wpb_btn-inverse btn" type="submit" id="searchsubmit" value="<?php 
_etd('Search');
?>
" />
        </div>
    </form>
</div>

<div class="td_search_subtitle">
    <?php 
_etd("If you_re not happy with the results, please do another search");
?>
</div>
Exemplo n.º 8
0
<?php

/*  ----------------------------------------------------------------------------
    This is the mobile off canvas menu
 */
?>
<div id="td-mobile-nav">
    <!-- mobile menu close -->
    <div class="td-mobile-close">
        <a href="#"><?php 
_etd('CLOSE');
?>
</a>
        <div class="td-nav-triangle"></div>
    </div>

    <div class="td-mobile-content">
        <?php 
wp_nav_menu(array('theme_location' => 'header-menu', 'menu_class' => '', 'fallback_cb' => 'td_wp_no_mobile_menu'));
//if no menu
function td_wp_no_mobile_menu()
{
    //this is the default menu
    echo '<ul class="">';
    echo '<li class="menu-item-first"><a href="' . home_url() . '/wp-admin/nav-menus.php">Click here - to use the wp menu builder</a></li>';
    echo '</ul>';
}
?>
    </div>
</div>
Exemplo n.º 9
0
        <div class="td-404-sub-title">
            <?php 
_etd("We_re sorry, but the page you are looking for doesn_t exist.");
?>
        </div>

        <div class="td-404-sub-sub-title">
            <?php 
_etd('You can go to the', '');
?>
            <a href="<?php 
echo get_home_url();
?>
"><?php 
_etd('homepage', '');
?>
</a>

        </div>


        <h4 class="block-title"><span><?php 
echo __td('OUR LATEST POSTS');
?>
</span></h4>

        <?php 
$args = array('post_type' => 'post', 'showposts' => 6);
query_posts($args);
$td_loop_block_module = td_util::get_option('tds_404_page_layout');