Title: Show content from database
Last modified: December 5, 2018

---

# Show content from database

 *  [rustyingles](https://wordpress.org/support/users/rustyingles/)
 * (@rustyingles)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/show-content-from-database/)
 * Hi,
 * This is my first post, so please be gentle!
 * I’ve been working with WordPress for some time but more as a front-end developer
   and not too much back end dev. I have a background working in Joomla (don’t hold
   that against me…)
 * I am working on a current project, where an API is injecting data into a database,
   which the WordPress site has access to (it’s not been decided whether it is the
   WordPress database or an external database yet. The data is based around art 
   works, so various data is associated with each piece of art and there will also
   require a search/filter option to look through the various data within the db.
 * My question is how can I get the data to show in the frontend of the site and
   use filtering/search and so on? Is there a plugin that I can use to look at the
   database and build pages for each category and then each piece of art? Or would
   something need to be built, if so, where do I start from a backend point of view?
 * Thanks for any help in advance!

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

 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/show-content-from-database/#post-10949953)
 * This is more of a “Developing with WordPress” question than a support issue.
 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/show-content-from-database/#post-10949963)
 * It sounds like a complicated process – if it’s not tied into WordPress in any
   way then you’ll need to build the pages and filtering manually. You could create
   [Page Templates](https://developer.wordpress.org/themes/template-files-section/page-template-files/)
   or [Custom Endpoints](https://return-true.com/creating-a-custom-page-with-wordpress-endpoints/)
   that load specific templates.
 * You would then need to [use the `global $wpdb`](https://codex.wordpress.org/Class_Reference/wpdb)
   or create a new WPDB if it’s an different database. This would allow you to write
   the SQL to pull from the database and display this information.

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

The topic ‘Show content from database’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [frontend](https://wordpress.org/support/topic-tag/frontend/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/show-content-from-database/#post-10949963)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
