• Resolved CodeRichard

    (@coderichard)


    I’m using BWS Portfolio in my project and I wish to be able to list all technologies.

    How can I do this without having to make a database query?

    I looked through the plugin’s code, which didn’t reveal anything useful and editing the template to hopefully extract something didn’t work either.

Viewing 1 replies (of 1 total)
  • Thread Starter CodeRichard

    (@coderichard)

    I figured it out.

    I had to use a query, which I laid out to be in a HEREDOC string:

    $technology_query = <<<SQL
    SELECT name, slug FROM {$wpdb->prefix}terms
    INNER JOIN {$wpdb->prefix}term_taxonomy ON {$wpdb->prefix}terms.term_id = {$wpdb->prefix}term_taxonomy.term_id
    WHERE {$wpdb->prefix}term_taxonomy.taxonomy = 'portfolio_technologies';
    SQL;
Viewing 1 replies (of 1 total)
  • The topic ‘[BWS Portfolio] How to get technologies?’ is closed to new replies.