Title: Integration to WordPress Login
Last modified: August 21, 2016

---

# Integration to WordPress Login

 *  Resolved [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/)
 * I understand that Participants Database isn’t integrated into the WordPress login
   schema however since (via php), details such as the login ID are identifiable,
   assuming the same ID data is placed in a field of a Participants Database record,
   is it possible to ‘query’ the Participants Database and therefore be able to 
   make a connection via code in this fashion? It would provide my users a significantly
   more elegant solution than to have to remember or re-email their PID encoded 
   link. Thanks!
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712591)
 * I wrote an article discussing some ways of using the plugin with WP users: [Using Participants Database with WordPress Users](http://xnau.com/using-participants-database-with-wordpress-users/)
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712615)
 * My friend, it’s not without reason that people consider you a genius. PERFECT!
   You saved me hours! Thank you for getting back to me SO fast and right on the
   money.
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712647)
 * I’ve added your code to a new template.php and it works well. However how do 
   I get it to take on the default site styling including the titles vs the fields?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712657)
 * The way to do this is to inspect the HTML on some other part of the site that
   has the layout you want. Then it’s a matter of editing your custom plugin template
   that outputs similar HTML.
 * If it’s a table-less design you’re looking for, I suggest you look at the “bootstrap”
   template to see another way of laying out the form.
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712660)
 * Got it thanks.
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712663)
 * Sorry, I think I;m still missing something. When I place the code [pdb_record]
   into a page, it inherits the styles of the current theme and formats it correctly.[
   pdb_record] includes headings (Participant Info, Personal Info etc) in addition
   to text.
 * When I build the ‘[pdb_record]’ with its parameters using php in the template,
   this seems to occur in such a way as it ignores the styles when it builds. If
   I add a ‘class=’ with style parameter with the [pdb_record] line, it applies 
   this style to the whole [pdb_record] block including headings and text. In other
   words, I don’t seem to be able to ‘break in’ to [pdb_record] to format each of
   its lines.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712672)
 * You may need to do this in a custom template so you can add classes to individual
   elements if you want. The plugin attempts to let the theme style it’s output,
   but that doesn’t always work. Either way, you will need to create some custom
   CSS rules to get things looking the way you want.
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712681)
 * No issue with doing that but my question is more that the plugin is accessed 
   from the template page (just like from a WordPress page) via a single one-liner.
   Yet within the plugin’s returned results, multiple different styles need to be
   applied. That’s the bit I’m not clear about. I somehow need to not use the plugin
   tag but need to call various components of the plugin as I need to apply each
   different style to different components that the plug-in is returning. Does that
   make sense?
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712684)
 * If I can have the plugin strip out the headings, and just return the results,
   that would be the biggest help to that end.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712714)
 * The “template” I’m talking about is the one that structures the output of the
   shortcode, so it does exactly what you want.
 * Read this article. it explains it in full: [How to Create Custom Templates](http://xnau.com/work-2/wordpress-plugins/participants-database/pdb-templates/)
 *  Thread Starter [gld](https://wordpress.org/support/users/gld/)
 * (@gld)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712719)
 * xnau. Ah got it. It all makes sense now. Thank you for your patience. This is
   exactly what I was looking for.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Integration to WordPress Login’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [integration](https://wordpress.org/support/topic-tag/integration/)

 * 11 replies
 * 2 participants
 * Last reply from: [gld](https://wordpress.org/support/users/gld/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/integration-to-wordpress-login/#post-4712719)
 * Status: resolved