WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Annoying tags? (4 posts)

  1. kperovic
    Member
    Posted 1 year ago #

    Using the plugin here: http://www.ygoverdose.com/open-challenge-arena

    There's <p> tags that I can't seem to get rid of: http://i.imgur.com/FjNRzTp.png

    In the last version, these were br tags that I simply hid, but now the content is enclosed in the <p> tags and if I hid them, I hide the text input area.

    I'm not sure why this is happening. Hope you can help though.

    Also, would it somehow be possible have one field link to some URL that was identified in another field? I.e. Have a person's name link to their Facebook profile, as in my case.

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #


  3. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Your first issue is one that crops up when the output of the plugin get put through WordPress' auto paragraphs. It makes a real mess. The easiest solution is to use CSS, as you had before...you're right about the "br" tags, just give them a display:none. For the "p" tags, the trick is to make them display:inline

    Your second question is yes, possible with the use of a custom template and a little code to alter the output of one of the fields. You would start by grabbing the URL from the field value before the fields loop starts. Then, in the loop, look for your field to put the link on...when you find it alter the output value to include your link.

    That's the quick sketch... if you want some more detail, let me know...you will need to know your way around a PHP template.

  4. kperovic
    Member
    Posted 1 year ago #

    You totally solved my first issue. Can't believe it was that simple! Thanks!

    For the second issue, I will definitely require more detail if you're okay with helping me out. I can navigate my way around a PHP template but I definitely can't come up with anything from scratch.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic