Viewing 2 replies - 1 through 2 (of 2 total)
  • I just started using this plugin, but I don’t see any p tags around my images. If it’s in the CatList.php, I would think it would be affecting me too, but it isn’t.

    Thread Starter djisback

    (@djisback)

    I am ustilizing shortcodes for categories.
    Shortcode
    [catlist id=49 numberposts=10 content=yes thumbnail_size=32,32]

    The main issue here it is out putting what you see below in the snippet, and below that the entire redered block of code.. I would prefer for it to wrap the image in a div tag not a paragraph tag

    Snippet Code in Question

    <p>
                <a href="https://www.domain.com/wp-content/uploads/Thinking.jpg">
                    <img class="aligncenter size-medium wp-image-2273" alt="Thinking" src="https://www.domain.com/wp-content/uploads/example.jpg" width="300" height="266">
                </a>
            </p>

    Entire output code.

    <ul class="lcp_catlist" id="lcp_instance_0">
        <li><a href="https://www.domain.com/link/" title="Title">Example Post Title</a>
            <p>
                <a href="https://www.domain.com/wp-content/uploads/Thinking.jpg">
                    <img class="aligncenter size-medium wp-image-2273" alt="Thinking" src="https://www.domain.com/wp-content/uploads/example.jpg" width="300" height="266">
                </a>
            </p>
            <p>Description text goes in here</p>
            <p>Description text goes in here</p>
            <div class="addtoany_share_save_container">
                <div class="a2a_kit a2a_kit_size_32 a2a_target addtoany_list" id="" style="line-height: 32px;">
                    <a class="a2a_dd addtoany_share_save" href="https://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.domain.com%2F%3Fpage_id%3D2295&title=example&description=">
                        <img src="https://www.domain.com/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share">
                    </a>
                    <script type="text/javascript">
                    <!--
                    wpa2a.script_load();
                     //-->
                    </script>
                </div>
            </div>
        </li>
    </ul>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘images’ is closed to new replies.