Support » Plugin: Tripadvisor Shortcode » shortcode placement

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author kevin heath


    Hi can you let me know what version of wordpress you are using and what theme.

    If possible could you give a link as well to take a look at what is happening.

    I’ve not tested the plugin in the latest couple of version of wordpress but I’ll take a look over the weekend and try and replicate the issue.


    Here’s the link to the page,

    Here’s the code so you can where the shortcode was placed:

    <h3>Join us in our Tasting Room!</h3>
    <img class="size-medium wp-image-4096 alignleft" style="border: 1px solid black;" alt="Reininger Tasting Room" src="" width="300" height="225" />
    <strong>Visit our winery daily: 10 am to 6 pm</strong>
    Holiday Hours:
    Thanksgiving Day:  Closed
    Christmas Eve:  10 am to 2 pm
    Christmas Day:  Closed
    New Years Eve:  10 am to 2 pm
    New Years Day:  Closed
    July 4: Closed
    [map width="250" height="250" zoom="13" type="ROADMAP" style="border: 1px solid black;]
    [marker address="5858 Old Highway 12 Walla Walla, WA 99362"]Reininger Winery[/marker]
    5858 Old Highway 12
    Walla Walla, WA 99362
    Phone 509 522-1994
    FAX 509 522-3530
    <a href=""></a>
    REININGER Tasting Room  <a title="New Highway 12 and W Highway 12 (Vintage Loop) Map for West End Wineries" href="">Map</a>
    Six miles west of Walla Walla on Highway 12 - Exit onto Spalding Road - right onto the Old Highway 12 - first building on the right.
    [caption id="attachment_4113" align="alignright" width="300"]<a href=""><img class="size-medium wp-image-4113" alt="Reininger Winery Tasting Room" src="" width="300" height="200" /></a> courtesy of[/caption]
    <a href="">Wine Trails NW</a> says of our Tasting Room, "The Reiningers’ tasting room is more of a tasting pavilion, featuring a fusion of basalt harvested from the Snake River in northern Walla Walla County; reclaimed potato-shed wood; zinc-covered countertops, and finely crafted cabinetry. One particularly aesthetic touch are the vines intertwined around the perimeter of the tasting bar. This is a grand tasting room that invites all who trek here to linger longer and enjoy the stellar line-up of wines."
    <iframe src="//" height="225" width="300" allowfullscreen="" frameborder="0"></iframe>
    <a href=""><img class="alignright size-medium wp-image-4094" style="border: 1px solid black;" alt="Reininger Tasting Room" src="" width="225" height="300" /></a>
    <a title="Wine Bar creation" href="">Chuck Reininger speaks about the creation of the unique Tasting Bar.</a>
    TripAdvisor -
    <div class="TA_selfserveprop" id="TA_selfserveprop383">
    <ul class="TA_links wQQTfPO" id="FTsTxNZx51T8">
    	<li class="ddo2QBWYAPd" id="0gBdJKkDC">15 reviews of <a href="">Reininger Winery</a> in Walla Walla
    Yelp Reviews - <a href=""></a>
    <div style="width: 480px; background-color: #ffffff;"><form style="margin-bottom: 3;" action="" method="post"><strong> Don't miss any exciting news. Join the REININGER email list.</strong><input style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 12px; border: 1px solid #999999;" type="text" name="ea" size="31" value="email" /> <input class="submit" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px;" type="submit" name="go" value="GO" /></form><form style="margin-bottom: 3;" action="" method="post"></form><form style="margin-bottom: 3;" action="" method="post">We will not sell, rent or trade your personal information and you can unsubscribe at any time quickly and easily.</form></div>
    Join REININGER Winery at many festive events around the Pacific Northwest and beyond! <a href="">View events</a>

    [Please use the code buttons – as is, your code may have been corrupted by the forum’s parser]


    Plugin Author kevin heath



    thanks for that.

    it looks like thee may be a conflict with another plugin somewhere.

    could you tell me which one the [/one_half] plugin is to.

    I’ll take a look over the weekend when I have time to try and solve it.


    There are quite a few column shortcode themes/plugins. Here’s the one I use,


    Plugin Author kevin heath


    Hi Kathy

    thanks for that. I’m not going to be able to do much apart from give you a guess I’m afraid as it’s a paid for theme that I don’t have.

    The best option will be to try and defer the shortcode from taking effect until after the page has completed rendering. We can do that through the use of a php buffer.

    Not sure how much your are into hacking code but you can try this.

    Open up tripadvisorsc.php in something like notepad++ (to help with line numbers)

    On line 97 add

    and on line 121 add
    return ob_get_clean();

    so your code should look some thing like:

    ), $atts ) ); 
    <script  src="


      return ob_get_clean();

    that should slow the shortcode operation down to after all the page has completed downloading and should stop it rendering at the top of the page.

    It’s totally untested though as I don’t have access to the theme. But there should be a good probability of it working.

    If you don’t feel comfortable hacking the code send me an email at kevin @ and I’ll send you an updated plugin zip over the weekend for you to install and try.

    let me know how you get on

    Thanks Kevin, I’ll give it a try. I really like the way your plugin shows bits of all the reviews and not just one link to all of them. I’ll let you know how it turns out.


    Hi Kevin,

    I’m having much the same problem. I’m using the Blue Diamond purchased theme but I can’t see any conflictiion.
    Here’s the URL for the page under construction.
    Thanks a lot

    Plugin Author kevin heath


    Hi Pont

    have you tried using the solution I posted above.

    Unfortunately I am not able to provide any help with premium themes.

    I am slowly going through all my plugins as some I have to checked for a while.

    I may look at including the above tweak to help in this situation but I’ll not be able to test in your or any paid themes.


    Salut Kevin,

    Tried your tweak. Work perfectly. Thanks.

    Plugin Author kevin heath


    Hi Pont

    thanks for the update.


    When is this going to be added to the code?
    I should not have to edit the plugin every time there is an update.

    Ignore this

    I just found the buffering option



Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘shortcode placement’ is closed to new replies.