• Resolved toncet

    (@toncet)


    [wpp thumbnail_width=100 thumbnail_height=75 post_html='<li>{thumb} <a href="{url}">{text_title}</a></li>']

    I put this shortcode in my wordpress page. Worked well with thumbnails and popular posts links appear on the page.

    My problem is I don’t see any href link in the pagesource.

    Please advice.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @toncet,

    Link tags being removed from the HTML output -if I understood correctly what you said- isn’t normal. Something on your end is doing this.

    I tested your shortcode as is with the Twenty-Twenty One theme and I wasn’t able to replicate that behavior. Links are present as expected.

    <ul class="wpp-list">
        <li>
            <a  target="_self">
                <img src="https://wordpress.local/wp-content/uploads/wordpress-popular-posts/1-featured-100x75.avif" srcset="https://wordpress.local/wp-content/uploads/wordpress-popular-posts/1-featured-100x75.avif, https://wordpress.local/wp-content/uploads/wordpress-popular-posts/[email protected] 1.5x, https://wordpress.local/wp-content/uploads/wordpress-popular-posts/[email protected] 2x, https://wordpress.local/wp-content/uploads/wordpress-popular-posts/[email protected] 2.5x, https://wordpress.local/wp-content/uploads/wordpress-popular-posts/[email protected] 3x" width="100" height="75" alt="" class="wpp-thumbnail wpp_featured" decoding="async">
            </a>
            <a >Hello world!</a>
        </li>
    </ul>

    Try following these troubleshooting instructions to see if you can figure out what’s going on and report back.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Marking this topic as resolved due to inactivity.

    OP, if you still need help with this please feel free to leave a comment below.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘post_html parameter but i don’t see any link in pagesource’ is closed to new replies.