Adding a second section of Links (2 posts)

  1. stonegatherer
    Posted 9 years ago #

    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

    Does this make sense?

  2. cheesemasterdan
    Posted 9 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic