Example #1
0
// $ezLaTeX = new EzLaTeX();
load_theme_textdomain('Ripsa', get_stylesheet_directory() . '/languages');
?>
	<div id="content">
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
		<section class="content-search">
			<div class="padding15-25">
				<?php 
        if (function_exists('bcn_display')) {
            bcn_display();
        } else {
            echo create_bread_crumb(get_the_title());
        }
        ?>
			</div>
		</section>
		<div class="padding15-25">
			<div class="single-content print-only">
				<span class="single-tit-cat">
					<?php 
        global $post;
        // load all 'category' terms for the post
        $terms = get_the_terms($post->ID, 'category');
        // we will use the first term to load ACF data from
        if (!empty($terms)) {
            $term = array_pop($terms);
            $custom_field = get_field('grupo', 'category_' . $term->term_id);
Example #2
0
<main>
    <div class="submenu">
        <div class="row">
            
            <ul class="breadcrumbs">
                <?php 
if (!empty($curent_cat)) {
    ?>
                    <?php 
    echo create_bread_crumb($curent_cat['parent'], $lng, $catalog_pages['url']);
    ?>
  
                    <li class="current"><a href="#"><?php 
    echo $curent_cat['name_' . $lng];
    ?>
</a></li>
                <?php 
} else {
    ?>
                    <li class="current"><a href="#"><?php 
    echo $catalog_pages['name_' . $lng];
    ?>
</a></li>
                <?php 
}
?>
            </ul>
            
        </div>
    </div>
    <?php 
Example #3
0
 */
?>
	<?php 
global $ct_nm;
$ct_nm = $category_name;
query_posts($query_string . '&post_type=search_strategy');
get_header();
?>

	<section id="primary" class="site-content">
		<div class="single1column" role="main">
			<div id="content" role="main">
				<?php 
$search_title = __('Results for the category: ', 'refnet');
$search_title .= '<span>' . extract_text_by_language_markup(single_cat_title('', false)) . '</span>';
echo create_bread_crumb($search_title);
?>
				<?php 
if (have_posts()) {
    ?>

					<?php 
    //twentytwelve_content_nav( 'nav-above' );
    ?>

					<?php 
    /* Start the Loop */
    ?>
				<?php 
    while (have_posts()) {
        the_post();
Example #4
0
<main>
    <div class="submenu">
        <div class="row">
            <ul class="breadcrumbs">
                <?php 
echo create_bread_crumb($produs['parent'], $lng, $catalog_pages['url']);
?>
                <li class="current"><a href="#"><?php 
echo $produs['name_' . $lng];
?>
</a></li>
            </ul>
        </div>
    </div>
    <div class="first_page_content clearfix">
        <div class="row">
            <aside>
                <div class="promotion"> <strong class="up_section catalog_icon red">CAtalog Produse</strong>

                    <div class="menu_left">
                        <section id="demo" data-accordion-group>
                             <?php 
foreach ($categorii as $categorie) {
    ?>
                            <section data-accordion>
                                    <button data-control  class="first_level"><i></i><?php 
    echo $categorie['name_' . $lng];
    ?>
</button>
                                    <div data-content>
                                        <?php