• Hi Roland.

    Thank you for creating an awesome plugin.

    I have two questions, that I was hoping you could help me with:

    1.) The listing of the participants are not responsive and so the table is off the screen with no scrollbars to move right/left on smaller screens like phones. I have tried using “template=responsive” but then I lose the nice table/grid on bigger screens. Can you help..?? Is there any way to display the regular template for big screens and then the responsive template for small screens…??

    2.) When using a link-text for a web-address field, is it possible to have it open in a new window…???

    Thanks in advance.

    https://wordpress.org/plugins/participants-database/

Viewing 1 replies (of 1 total)
  • Plugin Author Roland Barker

    (@xnau)

    If you need the list to be responsive, I suggest you try the “responsive” template. You select the template in the shortcode like this: [pdb_list template=responsive]

    To make links open in another window or tab, you need to use a custom template so you can alter the field’s anchor tag to include the target attribute. You’ll need to be familiar with PHP to do this, take a look at this page for the general instructions for setting up a custom template: Using Particiapnts Database Custom Templates

    You’ll be adding the the target value to the “attributes” property of the field like this:

    $this->field->sttributes['target' => '_blank']

Viewing 1 replies (of 1 total)

The topic ‘Responsiveness open link-text in new window..??’ is closed to new replies.