Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter warcher88

    (@warcher88)

    Hey 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: ‘, ‘, ‘, ‘ ‘ ); ?>`

    Thread Starter warcher88

    (@warcher88)

    Thanks 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>’;

    Thread Starter warcher88

    (@warcher88)

    I 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.

Viewing 3 replies - 16 through 18 (of 18 total)