creatz
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Developing with WordPress
In reply to: Taxonomy, post by termI think I’ve found the solution!
It seems that the field “Secteur d’activité” is not linked to the category “Secteur”.
Forum: Developing with WordPress
In reply to: Taxonomy, post by termThank you very much for your answers.
But nothing has worked for me, and I can’t come up with any solutions.
I think the problem lies in the configuration of my taxonomy.This is my custom post type configuration (client):
my taxonomy configuration (secteur) :
my custom field (secteur_dactivite) :
Thanks again for your help
Forum: Developing with WordPress
In reply to: Taxonomy, post by termHello,
thank you very much for your response.
Unfortunately, this does not change the display. The titles are displayed but not the articles.<h3>CAT1</h3 <h3>CAT2</h3> <h3>CAT3</h3>If it helps, I can display all the items with the following code :
<?php $posts = get_posts(array( 'numberposts' => -1, 'post_type' => 'client', 'post_status' => 'publish' )); if($posts) { echo '<div class="row all-item">'; foreach($posts as $post) { echo '<div"><a href="'. get_permalink($post->ID) .'"><img src="'.get_field( 'logo' ).'"></a></div>'; } echo '</div>'; } ?>
Viewing 3 replies - 1 through 3 (of 3 total)