Forums Forums Search & Filter Pro Custom taxonomy shortcode doesn't display initially on search page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #48951

    Hi,

    I am using wp-types and have the shortcode for displaying taxonomy on the page:
    [wpv-post-taxonomy type='product-groep' format='name']

    Which produces text ouput like: category-custom1

    When loading the search page (using S&F shortcode for resultas and filter – AJAX) the taxonomy isn’t shows initially. But when i filter the results the taxonomy suddenly displays in the result.

    Why doesn’t this display initially on first page load? Can something be done here to correct this?

    Thanks in advance!
    Marcellino

    Trevor
    #48961

    Hi

    It is late here, but it might depend on the display results type. Generally, the filter is not applied until you have made a selection.

    Anonymous
    #48972

    Trevor,

    No problem! Sometime tomorrow is fine 🙂

    Here is the URL of the page (using shortcode to display results – ajax enabled).

    http://durinck.wwwconcept.nl/downloads/

    On page load the taxonomy doesn’t show beneath the download button, but when you apply filter on ‘Productgroep’, it filters the results and also displays the taxonomy at this time.

    I am using the search-filter/search.php file without modifications.

    The while loop is:

    `<?php
    while ($query->have_posts())
    {
    $query->the_post();

    ?>

    <li><span><?php echo the_content(); ?>
    <?php echo get_the_term_list( $post->ID, ‘product-groep’, ‘Groep: ‘, ‘, ‘ ); ?>
    </span></li><?php
    }
    ?>`

    Why doesn’t the taxonomy display on initial page load?

    Thanks
    Marcellino

    Trevor
    #48973

    Hi

    Are you using EDD?

    What shortcodes do you have on the downloads page in WP Admin?

    Anonymous
    #48983

    Trevor,

    It looks the shortcode from the download plugin causes the taxonomy not to show.

    I am using plugin ‘Download Monitor’.

    The shortcode is [download id="xxx"].

    When removing the shortcode from a page it shows the taxonomy on page load (see sample url).

    Marcellino

    Trevor
    #48985

    So, if I understand what you are saying, you have a free plugin called wp-types and that shows the Taxonomy of the page from a shortcode.

    But, when it is on a page that is populated by another free plugin, called Download Monitor, the types shortcode does not work? Or it does work as long as S&F isn’t on the page also?

    When you add our plugin, the Types shortcode still does not work on page load, but does work after a filter has been run?

Viewing 6 posts - 1 through 6 (of 6 total)