• Hello,

    Beginner in programming, I need advice to change the theme of my page template.

    Currently when the cursor over different inserts (https://alpine-lodges.fr/2016/developments/) only the title and categories are displayed and I would like to add text below, to enable rapid present the program .

    Here is my portofolio-filter.php file

    <div class = "edgtf-portfolio-filter-holder <?php echo esc_attr($masonry_filter)?>">
        <div class = "edgtf-portfolio-filter-holder-inner">
            <?php
            $rand_number = rand();
            if(is_array($filter_categories) && count($filter_categories)){ ?>
            <ul>
                <?php if($type == 'masonry' || $type == 'pinterest' || $type == 'masonry-with-space'){ ?>
                    <li class="filter" data-filter="*"><span><?php  print esc_html__('Show All', 'edgt_core')?></span></li>
                <?php } else{ ?>
                    <li data-class="filter_<?php print $rand_number ?>" class="filter_<?php print $rand_number ?>" data-filter="all"><span><?php  print esc_html__('Show All', 'edgt_core')?></span></li>
                <?php } ?>
                <?php foreach($filter_categories as $cat){
                    if($type == 'masonry' || $type == 'pinterest' || $type == 'masonry-with-space'){?>
                        <li data-class="filter"  class="filter" data-filter = ".portfolio_category_<?php print $cat->term_id  ?>">
                            <span data-lang="en" class="edgtf-shuffle"><?php print $cat->name ?></span>
                        </li>
                    <?php }else{ ?>
                        <li data-class="filter_<?php print $rand_number ?>" class="filter_<?php print $rand_number ?>" data-filter = ".portfolio_category_<?php print $cat->term_id  ?>">
                        <span data-lang="en" class="edgtf-shuffle"><?php print $cat->name ?></span>
                    </li>
                <?php }} ?>
            </ul>
            <?php }?>
            <?php if((($type == 'standard' || $type == 'gallery' || $type == 'showcase')) && ($change_layout == 'yes') &&($filter == 'yes')) { ?>
                <span class="edgtf-layout-changer">
                    <span class="edgtf-layout-changer-inner">
                        <span class="edgtf-original-layout">
                            <a href="javascript:void(0)"></a>
                            <span class="edgtf-cube edgtf-cube-1 active"></span>
                            <span class="edgtf-cube edgtf-cube-2 active"></span>
                            <span class="edgtf-cube edgtf-cube-3 active"></span>
                            <span class="edgtf-cube edgtf-cube-4 edgtf-cube-bottom active"></span>
                            <span class="edgtf-cube edgtf-cube-5 edgtf-cube-bottom active"></span>
                            <span class="edgtf-cube edgtf-cube-6 edgtf-cube-bottom active"></span>
                        </span>
                        <span class="edgtf-two-columns">
                            <a href="javascript:void(0)"></a>
                            <span class="edgtf-cube edgtf-cube-1"></span>
                            <span class="edgtf-cube edgtf-cube-2"></span>
                            <span class="edgtf-cube edgtf-cube-3 edgtf-cube-bottom"></span>
                            <span class="edgtf-cube edgtf-cube-4 edgtf-cube-bottom"></span>
                        </span>
                    </span>
                </span>
            <?php } ?>
        </div>
    </div>

    What div should I include? (I thought the edgtf-portfolio-content div), but after I do not know how to run and make … So I do not know how to do it!

    thank you in advance for your help

Viewing 1 replies (of 1 total)
  • Thread Starter Justine13

    (@justine13)

    I think I was wrong file, here’s one that should match

    <?php // This line is needed for mixItUp gutter ?>
    
    <article class="edgtf-portfolio-item mix <?php echo esc_attr($categories)?>">
    	<div class = "edgtf-item-image-holder">
    		<div class="edgtf-icons-holder">
    			<?php echo $icon_html ?>
    		</div>
    		<a href="<?php echo esc_url($item_link); ?>">
    			<?php
    				echo get_the_post_thumbnail(get_the_ID(),$thumb_size);
    			?>
    		</a>
    	</div>
    	<div class="edgtf-item-text-holder">
    		<<?php echo esc_attr($title_tag)?> class="edgtf-item-title" <?php echo conall_edge_get_inline_style($title_style) ?>>
    			<a href="<?php echo esc_url($item_link); ?>">
    				<?php echo esc_attr(get_the_title()); ?>
    
    			</a>
    		</<?php echo esc_attr($title_tag)?>>
    		<?php
    		echo $category_html;
    		?>
    	</div>
    </article>
    
    <?php // This line is needed for mixItUp gutter ?>

    do I add a div? or <? php echo?

    I don’t know at all what to do, thank you for your help !

Viewing 1 replies (of 1 total)
  • The topic ‘Adding text box overview – change page template’ is closed to new replies.