warcher88
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] taxonomies wont display on some pagesHey Michael, it didn’t work unfortunately. I tried all of the below.
<?php get_the_terms( $post->ID, ‘advertisements’ ); ?>
<?php get_the_terms( $post->ID, ‘brands’ ); ?>
<?php get_the_term_list( $post->ID, ‘brands’, ‘Brand: ‘, ‘, ‘, ‘ ‘ ); ?>
<?php get_the_term_list( get_the_ID(), ‘brands’, ‘Brand: ‘, ‘, ‘, ‘ ‘ ); ?><?php the_terms( get_the_ID(), ‘brands’, ‘Brand: ‘, ‘, ‘, ‘ ‘ ); ?>
<?php the_terms( $post->ID, ‘brands’, ‘Brand: ‘, ‘, ‘, ‘ ‘ ); ?>`Forum: Plugins
In reply to: [Custom Post Type UI] taxonomies wont display on some pagesThanks for the quick response Michael,
I know that the postslider.php file is the correct one since it displays the html that i add. I have pasted some code below, its not the whole file since its huge and its hard to tell where the functions begin and end, but you can see where i added the above code and also added “<p>brand goes here</p>” which works.
$markup = avia_markup_helper( array( ‘context’ =>
‘entry_content’, ‘echo’ => false, ‘id’ => $the_id, ‘custom_markup’ => $custom_markup
) );
$excerpt = apply_filters(
‘avf_post_slider_entry_excerpt’, $excerpt, $prepare_excerpt, $permalink, $entry );
$output .= ! empty( $excerpt ) ? “<div class=’slide-
entry-excerpt entry-content’ {$markup}><p>brand goes here
<?php the_terms( $post->ID, ‘brands’, ‘Brand: ‘, ‘, ‘, ‘ ‘ ); ?>
</p>{$excerpt}</div>” : ”;
$output .= ‘</div>’;
$output .= ‘<footer class=”entry-footer”>’;
if( ! empty( $meta ) )
{
$output .= $meta;
}
$output .= ‘</footer>’;$output .= av_blog_entry_markup_helper( $the_id );
$output .= ‘</article>’;
Forum: Plugins
In reply to: [Post My CF7 Form] taxonomies not working for custom post typeI think i answered part of my own question. The fields weren’t being populated properly because the select dropdown list i had in the CF7 had options in it. Make sure you remove them and let it auto populate from the taxonomies.