Forum Replies Created
-
AuthorPosts
-
March 24, 2017 at 1:11 pm in reply to: Custom Post Type Template in theme include directory not taken into account #766117
hi,
It works , thank you
I have this custom terms:
<div class=”custom-item”>Source : <?php
$terms = wp_get_object_terms($post->ID, ‘type-source’);
if(!empty($terms)){
if(!is_wp_error( $terms )){foreach($terms as $term){
echo ‘slug, ‘type-source’).'”>’.$term->name.’ ‘;
}}
}
?> </div>For add this custom category in via magazine i tried change line 583 for this code:
$output .= “<div class=’av-magazine-content-wrap’>”;
$output .= “<header class=’entry-content-header’>”;
$output .= “<time class=’av-magazine-time updated’ {$markupTime}>”.$time.”</time>”;
$output .= $separator.$author_output;
$output .= “<{$titleTag} class=’av-magazine-title entry-title’ {$markupTitle}>{$title}</{$titleTag}>”;
$output .= “</header>”;
if($excerpt)$output .= “<div class=’av-magazine-content entry-content’ {$markupContent}>{$excerpt}</div>”;
$output .= “</div>”;
$output .= “<footer class=’entry-footer’></footer>”;
$output .= “</article>”;return $output;
}
}
}It’s not good!
Best regards,
Thanks!!
Best regard
Hello,
The link of the site: http://www.clafg.ch/contact/
I want to change the phrase of capchka…
Pour prouver que vous êtes un humain, donnez le résultat de cette simple opération
Best regards
atelierssud
-
AuthorPosts