(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "**** Rating: 3.9 - 629 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "**** Rating: 3.9 - 629 Reviews - " + existingDesc); }; var timestamp = document.createElement("meta"); timestamp.setAttribute("name", "ts-timestamp"); timestamp.setAttribute("content", new Date().toLocaleString()); document.head.appendChild(timestamp); var businessKey = "h4c5m0o8"; var locationKey = "x3se3i17"; var tenantKey = ""; var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6Ingzc2UzaTE3IiwiZXhwIjoxNzQzNDE3OTc2LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.wd3vD3gd26qMNtBbPqI-wSArz4NWcDFySDM99h-UTcs"; function start(f) { /in/.test(document.readyState) ? setTimeout(start, 5, f) : f(); } tsAddCssTag("https://fonts.googleapis.com/css2?family=Poppins&display=swap");; tsAddCssTag("https://widgetassets.trustist.com/css/cleanslate.css"); tsAddCssTag("https://widgetassets.trustist.com/css/sidebar.css"); w.trustist ??= {}; w.trustist.sidebar = { draw: function () { if (d.getElementById("ts-json") === null) { var filter = Array.prototype.filter; var els = d.querySelectorAll('h1,title,h2'); var productName = "The Woolpack Leicester"; var field = filter.call(els, function (node) { return node.innerText != ""; })[0]; if (typeof field !== "undefined") { productName = field.innerText; } var json = "[{\"@type\":\"Product\",\"@id\":\"{{url}}#trustist\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\",\"image\":[\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\"],\"name\":\"{{productName}}\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"{{url}}\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":[\"https://www.trustist.com/local-reviews/Review-the-woolpack-leicester-Reviews-40699.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\",\"image\":[\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\"],\"name\":\"The Woolpack\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":null,\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":3.9,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":629},\"review\":{\"@type\":\"Review\",\"url\":\"https://www.trustist.com/local-reviews/Review-the-woolpack-leicester-Reviews-40699.html\",\"author\":{\"@type\":\"Person\",\"name\":\"Shilesh Patel\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":null,\"addressLocality\":null,\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null}},\"datePublished\":\"2025-03-30T18:18:11.000Z\",\"headline\":\"\",\"isBasedOn\":null,\"reviewBody\":\"Lovely food\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":5,\"bestRating\":5,\"worstRating\":1},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Trustist\",\"sameAs\":\"https://www.trustist.com\"},\"reply\":null,\"replyDate\":null,\"subject\":null},\"mpn\":\"{{url}}\",\"sku\":\"{{url}}\"},{\"@type\":\"LocalBusiness\",\"@id\":\"https://www.trustist.com/local-reviews/Review-the-woolpack-leicester-Reviews-40699.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\",\"image\":[\"https://content.trustist.com/brandlogos/ebc03af5-948b-44cb-b0e3-bcfc369a1412.png\"],\"name\":\"The Woolpack\",\"alternateName\":\"The Woolpack Leicester\",\"hasMap\":\"https://maps.google.com/maps?cid=15826997899972593238\",\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"\",\"longitude\":\"\"},\"telephone\":\"\",\"url\":null,\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\",\"addressLocality\":\"\",\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"The Woolpack\",\"sameAs\":null},\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"22:30:00\",\"dayOfWeek\":\"http://schema.org/Sunday\",\"opens\":\"11:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"23:00:00\",\"dayOfWeek\":\"http://schema.org/Monday\",\"opens\":\"16:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"23:00:00\",\"dayOfWeek\":\"http://schema.org/Tuesday\",\"opens\":\"16:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"23:00:00\",\"dayOfWeek\":\"http://schema.org/Wednesday\",\"opens\":\"16:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"23:00:00\",\"dayOfWeek\":\"http://schema.org/Thursday\",\"opens\":\"16:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"23:00:00\",\"dayOfWeek\":\"http://schema.org/Friday\",\"opens\":\"16:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"24:00:00\",\"dayOfWeek\":\"http://schema.org/Saturday\",\"opens\":\"11:00:00\"}],\"sameAs\":[\"https://www.facebook.com/571970546468090\",\"https://maps.google.com/maps?cid=15826997899972593238\",\"https://www.tripadvisor.co.uk/Restaurant_Review-g186334-d7342037-Reviews-The_Woolpack_Inn-Leicester_Leicestershire_England.html\"],\"@context\":\"http://schema.org\",\"aggregateRating\":null,\"review\":null,\"paymentAccepted\":null,\"makesOffer\":null}]"; var a = d; var c = a.createElement("script"); c.type = 'application/ld+json'; c.id = 'ts-json'; c.innerText = json .replace(new RegExp("{{url}}", 'g'), w.location.href) .replace("{{productName}}", productName) .replace("\"{{productDesc}}\"", JSON.stringify((d.body.innerText || d.body.textContent).replace(/[^ -~]+/g, "").substring(0, 200) + "...")); a = a.getElementsByTagName("head")[0]; a.appendChild(c); } // iterate over all widgets on the page and render var div = document.querySelector("[ts-sidebarWidget],div.ts-sidebarWidget"); if (!div) { div = d.createElement('div'); div.setAttribute('ts-sidebarWidget', ''); d.body.appendChild(div); } if (div) { tsDisplayWidget(div, businessKey, locationKey, tenantKey); } else { } } }; start(w.trustist.sidebar.draw); function tsDisplayWidget(target) { // get options before cleanslate var options = tsReadAttributes(target); // draw the main template var template = '