Trip Advisor shortcode allows for easy insertion of Tripadvisor review feed if your accommodation or travel website is using WordPress.
Go to the settings page and fill in the required information: 1. TripAdvisor url excluding the main domain part ie exclude http://tripadvisor.co.uk/ 2. Add you business name. 3. Add your TripAdvisor business id number - displayed in the url and starting with the letter d.
Add the shortcode [tripadvisorsc] where you want the 10 reviews to be displayed.
You can make your theme shortcode friendly in widget text boxes by adding the following to your theme functions file: add_filter( 'widget_text', 'shortcode_unautop'); add_filter( 'widget_text', 'do_shortcode');
Use the shortcode attribute name, url and id to add a feed. Any attribute not filled in will be taken from the main settings page. An example shortcode for the Half Moon Inn in Abergavenny would be:
[tripadvisorsc name="Half Moon Inn" url="Hotel_Review-g186433-d297243-Reviews-Half_Moon_Inn-Abergavenny_Monmouthshire_Southern_Wales_Wales.html" id="297243"]
The name is what you want to be places at Reviews for: , the url is the tripadvosr page url excluding the relevent triadvisor domain such as tripadvisor.com/ , the id is the property id number less the d (you can find it in the url as dxxxx).
Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 2012-9-8
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?