shortcode method — extra tags

Forums › Forums › Search & Filter Pro › shortcode method — extra tags

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #258076

    Started using the shortcode method and customized the template according to this tutorial:

    https://searchandfilter.com/documentation/search-results/using-a-shortcode/

    Strange thing is that there are extra <p> tags showing up which is making it difficult to style. Have tried disabling all other plugins and switched to the WP 2020 theme, but neither helped. Any ideas?

    https://my-store.love/2020/my-store-experiences-2/

    Example:

    <div class="blogbox">
    			<img src="https://my-store.love/2020/wp-content/uploads/sites/2/2020/04/Screen-Shot-2020-04-17-at-10.51.56-525x525.png" class="attachment-blogbox size-blogbox wp-post-image" alt="" loading="lazy" width="525" height="525">			<h3><a href="https://my-store.love/2020/blog/2020/04/17/a-store-team-a-creative-community/">A store team? A creative community!</a></h3>
    			<p></p><p>We caught up with H&M store manager Doreen as well as Alina and Sam from her team in Geldern, Germany. They shared how a simple WhatsApp group is holding together a full store team and what creativity emerges when they meet on social networks.</p>
    <p></p>
    		</div>
    Anonymous
    #258077

    Nevermind! Just discovered that if I removed the <p> tag around the_excerpt then it fixed the problem!

    Trevor
    #258094

    Thanks for letting me know. I will close this thread for now.

Viewing 3 posts – 1 through 3 (of 3 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.