{"id":10186,"date":"2017-02-20T12:26:46","date_gmt":"2017-02-20T20:26:46","guid":{"rendered":"https:\/\/www.bnecreative.com\/?p=10186"},"modified":"2017-02-20T12:26:46","modified_gmt":"2017-02-20T20:26:46","slug":"bne-testimonials-2-3-released","status":"publish","type":"post","link":"https:\/\/www.bnecreative.com\/blog\/bne-testimonials-2-3-released\/","title":{"rendered":"BNE Testimonials 2.3 Released"},"content":{"rendered":"<p>Our highly rated <a href=\"https:\/\/www.bnecreative.com\/products\/testimonials-wordpress-pro\/\">testimonial plugin for WordPress<\/a> is getting a nice update today.\u00a0This update brings a significant code re-structuring that aligns with our other recent plugin releases, improved\u00a0performance, a few styling tweaks, and updated documentation. In addition, this release marks the entry point into using\u00a0the REST API from WordPress v4.7+.<\/p>\n<h3><strong>Shortcode Generator<\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"pretty alignright wp-image-10189 \" src=\"https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-new-shortcode-generator.png\" alt=\"Testimonials Shortcode Generator\" width=\"180\" height=\"281\" \/>The shortcode generator has been updated to provide an <strong><em>always reusable<\/em><\/strong> generated shortcode along with the detailed version one which you&#8217;re used to. Before hand, the generator would create the full edible shortcode only. The problem with this, is if you decided to further adjust the build out you would have to replace the shortcode you added to your page. Therefore, we added an additional option\u00a0that if used in [bne_testimonials] will always use the latest version of the generated shortcode. This will make it much easier to update existing\u00a0shortcodes instead of fiddling with the long one.<\/p>\n<p>Long story short, we now provide both, use the version you need in the place you want it. For reference, the reusable shortcode is along the lines of the testimonial widgets &#8211; always using the generated build.<\/p>\n<div class=\"clear\"><\/div>\n<h3><strong>Image Sizes<\/strong><\/h3>\n<p>We have always had the testimonial image output at the thumbnail crop size. This is roughly 150&#215;150 for most setups defined from\u00a0the Media Settings in WordPress. Then on the frontend, we sized it down with CSS to 100&#215;100 to better fit our layouts and hi-def monitors. This works perfectly well with 99% percent of users. However, sometimes, you may want to display larger size images. Now you can with the <code>image_size<\/code> option. This accepts any crop size you have available from your theme or another plugin and will use that instead. The 100&#215;100 CSS rule will not apply\u00a0to it. This is great for those that perhaps use the list or masonry layouts and want to use a larger image with their much longer testimonial reviews!<\/p>\n<h3><strong>Improved Category Support<\/strong><\/h3>\n<p>The <code>category<\/code> option now support multiple category names each separated by a comma. Before hand, you may have had to use parent categories, or children.\u00a0Now you can simply include multiple categories and the testimonials from each one will be used. In the shortcode generator, this area is replaced with a multicheck option.<\/p>\n<p>Example: <code>[bne_testimonials category=\"marketing, management, staff\"]<\/code><\/p>\n<h3><strong>Testimonials API<\/strong><\/h3>\n<p>The testimonials API opens your public testimonials to the WordPress REST API. What that means, if enabled, other websites or apps can query testimonials from your website and display them on theirs. This is no different than what the REST API already provides with pages and blog post. An example use for this would be a multisite network or external sister websites where you have a main site with the testimonials and all the child sites would pull from the main site. Before hand, you would need to export and import your testimonials into each child\/external site.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"pretty alignnone wp-image-10207 size-full\" src=\"https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api.jpg\" alt=\"BNE Testimonials API Diagram\" width=\"3005\" height=\"1817\" srcset=\"https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api.jpg 3005w, https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api-300x181.jpg 300w, https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api-768x464.jpg 768w, https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api-1024x619.jpg 1024w, https:\/\/www.bnecreative.com\/wp-content\/uploads\/2017\/02\/testimonials-api-1200x726.jpg 1200w\" sizes=\"(max-width: 3005px) 100vw, 3005px\" \/><\/p>\n<p>To use the API, head to the plugin help page (Testimonials &gt; Help &gt; API) and enable the feature. Now on the external websites, they can use the API shortcode\u00a0to display testimonials from the main site (source).<\/p>\n<p>A real world scenario\u00a0where this would be useful could be on one-page informational websites where you may find mirrored\u00a0sites using a different domain for marketing. The main site has all the testimonials and the mirror sites can pull from the main hub.<\/p>\n<p>All themes, layouts, and shortcode options are available with the API shortcode minus a few query options. In addition, the results are cached, which can be disabled, for 1 day to reduce multiple remote calls to the source website.<\/p>\n<h3><strong>New Requirements<\/strong><\/h3>\n<p>BNE Testimonials Pro now requires WordPress 4.5 for general use and WordPress 4.7 if you&#8217;re going to use the API.<\/p>\n<h3><strong>Support Docs<\/strong><\/h3>\n<p>The support docs found from the Admin menu have been updated to include a few missing options for the [bne_testimonials] shortcode and information about the new API shortcode.<\/p>\n<p>We are really excited to have this release available for everyone today and we welcome any and all feedback you may have about it. If you have any questions or issues, do not hesitate to leave a comment below or open a\u00a0<a href=\"https:\/\/www.bnecreative.com\/contact\">support ticket<\/a>.    \t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our highly rated testimonial plugin for WordPress is getting a nice update today.\u00a0This update brings a significant code re-structuring that aligns with our other recent [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10188,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10186","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/posts\/10186"}],"collection":[{"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/comments?post=10186"}],"version-history":[{"count":0,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/posts\/10186\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/media\/10188"}],"wp:attachment":[{"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/media?parent=10186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/categories?post=10186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bnecreative.com\/wp-json\/wp\/v2\/tags?post=10186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}