WP Manifestindependent plugin directory
manifest / integrations / wp-avvo-reviews

WP AVVO Reviews

Plugin that will help with retrieving lawyer reviews from the AVVO API.

by Eric Binnion · github.com/ebinnion/wp-avvo-reviews · website

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ebinnion/wp-avvo-reviews/archive/refs/heads/master.zip

This plugin acts as a wrapper to simplify connecting to the AVVO API for WordPress developers.

Below is a basic use case I recently implemented for a client.

<?php
    $lawyer_id = get_post_meta( $post->ID, 'avvo_lawyer_id', true );

    if( ! empty( $lawyer_id ) ) {
        $avvo_api = new AVVO_Reviews( 'email@gmail.com', 'password' );
        echo $avvo_api->get_reviews_markup( $lawyer_id, true );
    }
?>

Future Updates

As of now, this plugin is mostly useful for developers, but it can be expanded to be more useful for end users by adding shortcodes and more.