• While I know this isn’t officially supported with short codes and such, but is it possible to add in codes in a custom template to call specific data field from a table not created by Participant Database?

    I am using the Participants Database to store product components. Each entry is a list of components for one single product. However, I need a different table to store production information, such as how many of each component to order, clients, and delivery date. So, what I want to do make it so the total page will multiply the components of different products by the number of orders placed.

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

    (@xnau)

    This is certainly possible, I can’t be too specific, but if you are familiar with the use of the wpdb class, it is easy to access any table in your WP database. You would probably place the code at the top of the template before the actual printing takes place, then use the resulting values in your template.

    Thread Starter expserv

    (@expserv)

    Thank you for directing me to the necessary resource. This is very helpful.

    If anyone else randomly scrolling though this forum and has done something similar, feel free to add more to this thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Accessing non-Participants tables in custom template?’ is closed to new replies.