WordPress.org

Ready to get started?Download WordPress

Forums

How to add links programatically? (1 post)

  1. termserv
    Member
    Posted 4 years ago #

    I have a function that is hooked to WordPress' scheduled cron jobs, that goes through some RSS feeds and adds links.

    I can't seem to find a function that will add the links for me, so I have to write them myself using $wpdb. The only problem then is that wp_list_bookmarks() won't recognize them because I don't have a relationship between the link and the link category (which I've understand that has something to do with the wp_term_relationships and wp_term_taxonomy tables to do.

    But I can't figure out how to make this work, anyone else knows how to programatically add links?

Topic Closed

This topic has been closed to new replies.

About this Topic