• Resolved joand

    (@joand)


    When I add listings via shortcode with taxonomy (e.g. [listings taxonomy=”locations” term=”mylocation” limit=”3″ columns=”3″]it adds
    <pre><code>
    wrapping the listings which is messing with my styling (and my head as I couldn’t figure out what the heck was causing it to go wrong!). If I add the shortcode without taxonomy (e.g. [listings columns=”3″]) it does not add the
    <pre><code>.
    Where is that coming from? And is it possible to get rid of it? It is not in the shortcode file (I have copied the shortcode to my functions.php to create my_listings shortcode).

    https://www.ads-software.com/plugins/wp-listings/

Viewing 1 replies (of 1 total)
  • Thread Starter joand

    (@joand)

    Okay, after investigating this problem further, it seems that may be the tiny-mce editor that is for some reason adding the <pre><code> although why it doesn’t do it when I don’t add taxonomy I don’t know. Anyways, by adding the shortcode in a code module rather than the text editor I can get it to work properly.

Viewing 1 replies (of 1 total)
  • The topic ‘Listings Shortcode’ is closed to new replies.