• I have a pdb_single shortcode with three Link Fields. Two of them are getting mysteriously duplicated, so two links appear side by side with no space between them. Any thoughts about what might cause this or how I might cure it? When I do a View Source in the browser, this is the code for those portions of the file:

    <p><span style="font-size: 14px; font-weight: bold">
        Website or Blog: &nbsp;
        </span>
        <span style="font-size: 14px";>
        <a href="https://www.smith.com" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.Smith.com', 'Smith.com');" >Smith.com</a><a href=""></a>    </span></p>
    
        <p><span style="font-size: 14px; font-weight: bold">
        Social Media: &nbsp;
        </span>
        <span style="font-size: 14px";>
        <a href="https://www.facebook.com/michael.smith" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.facebook.com/michael.smith', 'fb');" >fb</a><a href="https://www.facebook.com/michael.smith" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.facebook.com/michael.smith', 'fb');" >fb</a><a href=""></a>    </span></p>
    
        <p><span style="font-size: 14px; font-weight: bold">
        Additional Website, Blog or Social Media: &nbsp;
        </span>
        <span style="font-size: 14px";>
        <a href="https://www.connectionpracticecoach.com" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.connectionpracticecoach.com', 'coaching site');" >coaching site</a><a href="https://www.connectionpracticecoach.com" onclick="__gaTracker('send', 'event', 'outbound-article', 'https://www.connectionpracticecoach.com', 'coaching site');" >coaching site</a><a href=""></a>    </span></p>

    The first link is not appearing as doubled, the next two are. It’s also interesting that there are “empty” links inserted for reasons I don’t understand: <a href=""></a>

    The shortcode looks like this:

    [pdb_single fields="first_name, last_name, certification, city, state, country, email, website, social_media, additional_website_blog_or_social_media, phone, photo, more_information"]

    The ones being duplicated are social_media and additional_website_blog_or_social_media

    https://www.ads-software.com/plugins/participants-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    This would make a lot more sense to me if I could see what you’re talking about…can you share a link?

    The HTML you posted does not look like the standard output of the plugin, so I’m wondering if something (maybe a plugin or your theme?) is modifying the HTML.

    Thread Starter mhurwicz

    (@mhurwicz)

    Plugin Author xnau webdesign

    (@xnau)

    OK, I suspect your theme is doing that. The plugin’s output has been modified by something, that is not standard output for the plugin single default template, and since you’re not using a custom template, something outside of the plugin is changing the HTML.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some Link Fields duplicated in pdb_single’ is closed to new replies.