WordPress.org

Support

Support » How-To and Troubleshooting » Adding a second section of Links

Adding a second section of Links

  • stonegatherer
    Member

    @stonegatherer

    I created a new db table called “Galleries” and I want to have a sidebar section called “Galleries” that lists the
    galleries links just like the “Links” heading does.

    But I am getting an error:

    Fatal error: Call to undefined function: get_galleries_list() in /home/content/t/a/a/taagdotnet/html/wp-content/themes/adsense_ready/sidebar.php on line 57

    What else do I need to do to request data from a new db
    table?

    Does this make sense?

Viewing 1 replies (of 1 total)
  • cheesemasterdan
    Member

    @cheesemasterdan

    You might want to start here for information about the wpdb Class…
    I’m not sure how this would work with custom tables but it’s worth a read anyway… Alternatively you would need to use PHPs SQL functions…

Viewing 1 replies (of 1 total)
  • The topic ‘Adding a second section of Links’ is closed to new replies.