
{"id":524,"date":"2017-05-25T19:43:21","date_gmt":"2017-05-25T12:43:21","guid":{"rendered":"https:\/\/blog.travelpayouts.com\/en\/?p=524"},"modified":"2021-10-02T20:51:48","modified_gmt":"2021-10-02T17:51:48","slug":"travelpayouts-wordpress-plugin-new-beta-v-0-7","status":"publish","type":"post","link":"https:\/\/www.travelpayouts.com\/blog\/travelpayouts-wordpress-plugin-new-beta-v-0-7\/","title":{"rendered":"Travelpayouts WordPress Plugin New Beta (v 0.7)"},"content":{"rendered":"<h2>Why haven\u2019t we released an update for so long?<\/h2>\nWe wanted to create a lot of tables for hotels. We\u2019ve almost done it but we realized that in the current format of the hotels data API, it would be very difficult in terms of speed of operation on weak hosting serves (most of them are weak by the way) \u2013 too much data would have to be downloaded and processed. As a result, we had to partially rework and comment out part of the work done till better times. But there is also some positive news. Once we finish developing the hotel white label \u2013 and that could be earlier than scheduled \u2013 we will complete work on the hotels data API and add more useful tables to the plugin. Fortunately, the work was not done in vain.\n<h2>What\u2019s new in the current version:<\/h2>\n<div class=\"wp-block-image aligncenter size-full wp-image-525\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69f161f7bd6d7&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/blog.travelpayouts.com\/en\/wp-content\/uploads\/2017\/05\/Screen-Shot-2017-05-25-at-7.31.55-PM.png\" class=\"aligncenter size-full wp-image-525\" width=\"550\" srcset=\"https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2017\/05\/Screen-Shot-2017-05-25-at-7.31.55-PM.png 1250w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2017\/05\/Screen-Shot-2017-05-25-at-7.31.55-PM-300x215.png 300w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2017\/05\/Screen-Shot-2017-05-25-at-7.31.55-PM-768x551.png 768w, https:\/\/www.travelpayouts.com\/blog\/wp-content\/uploads\/2017\/05\/Screen-Shot-2017-05-25-at-7.31.55-PM-1024x734.png 1024w\" sizes=\"(max-width: 1250px) 100vw, 1250px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div>\n<ul>\n \t<li><strong> 2 hotel tables<\/strong>: selections and selections by dates. Note that selections by dates are displayed if these data are present in the cache. Otherwise, nothing will be displayed. Simple selections are shown in 99% of cases. When the plugin is activated, different themes for avia and hotel tables are automatically selected so that users could visually see the difference.<\/li>\n \t<li><strong>Optimized statistics query<\/strong>.&nbsp;By the way, does anyone use it in the plugin? We plan to remove it.<\/li>\n \t<li><strong>Added currencies<\/strong>, now we have 63 of them. Some of them are not yet supported in our white label, but they will be in the next update, which will feature new currencies and 15 new localizations.<\/li>\n \t<li><strong> We\u2019ve added an option for displaying currency symbol in the price<\/strong>. Now you can hide, or show up to a numerical value, after or just show the currency code instead of the symbol.<\/li>\n \t<li>We\u2019ve fixed a bug with the popular trend widget. Some users had problems inserting it using the plugin.<\/li>\n \t<li>We\u2019ve added an exception to the scripts of our plugin from automatic mini-floating Cloudflare and plugin WP Fastest cache.<\/li>\n \t<li>We\u2019ve removed old redirects, added support everywhere for migrating through https.<\/li>\n \t<li>We\u2019ve fixed a bunch of bugs in the layout and other minor errors.<\/li>\n<\/ul>\n<h2>How to test<\/h2>\nI recommend testing on a separate WP install. Be sure you have a backup of your site and make the plugin&#8217;s settings export (Settings &#8211; Export).\n\nAgain make sure you have a backup, <a href=\"https:\/\/www.dropbox.com\/s\/duwwd0ycntciasx\/travelpayouts_07.zip?dl=0\" target=\"_blank\" rel=\"noopener noreferrer\">download a ZIP<\/a> and install it to your WordPress manually: unzip to your FROM to \/plugins\/ or upload it via WP dashboard. Be sure you deactivated the current version of the plugin and deleted it.\n<h2>What&#8217;s next?<\/h2>\nWe are expanding our plugin development team to speed up the development.\n\nAfter that, we plan to carry out a major refactoring of the plugin. We will rewrite the code (backend, JS) so that it could work faster and new features could be added more conveniently. Also, a new settings interface has been partially rendered \u2013 finally, we won\u2019t be ashamed of it. Thank you for enduring this \ud83d\ude42\n\nSo that\u2019s the news we have for you today. Any questions and suggestions? Please put them down in the comments section.\n<h4>Do you have any questions and suggestions? Leave them in comments. Thanks.<\/h4>","protected":false},"excerpt":{"rendered":"<p>We would like to present to you a new beta version of the plugin. The plugin will be released in the WordPress.org repository next week. We\u2019ll be glad if you install the plugin and test it now. If there are any errors, we will try to fix them as much as possible by next week. <a href=\"https:\/\/www.dropbox.com\/s\/duwwd0ycntciasx\/travelpayouts_07.zip?dl=0\" target=\"_blank\" rel=\"noopener noreferrer\"> Download the archive file containing the beta version.<\/p>\n","protected":false},"author":3,"featured_media":6572,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/comments?post=524"}],"version-history":[{"count":3,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions"}],"predecessor-version":[{"id":7157,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/posts\/524\/revisions\/7157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media\/6572"}],"wp:attachment":[{"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/media?parent=524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/categories?post=524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travelpayouts.com\/blog\/wp-json\/wp\/v2\/tags?post=524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}