{"id":4908234,"date":"2014-05-12T22:07:57","date_gmt":"2014-05-12T22:07:57","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problem-on-shortcode\/"},"modified":"2016-08-21T20:30:29","modified_gmt":"2016-08-21T20:30:29","slug":"problem-on-shortcode","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-on-shortcode\/","title":{"rendered":"problem on shortcode"},"content":{"rendered":"<p>Hi, testing the plugin i got a problem, in my case, i create a group and fill up 4 items, each with its text and its featured image, and another group with only 1 item, then when i show the grid, on the box on the left the content look like an excerpt, only the first 10 words.<\/p>\n<p>some research, it seems the problem is when inserting the shortcode in the page where I&#8217;ll show a grid, basically the problem is that if I put the editor in visual  mode and insert the shortcode, the grid just show the first 10 words of item\u00b4s content, but if I put the tab mode and insert the text shortcode , when the grid is displayed, the text shown on the left completely, but appear all mixed elements of all groups and the title of the grid appears as &#8220;Content Slider Grid &#8221; instead of the group name<\/p>\n<p>if the shortcode is inserted into visual mode sample: [content -slider groups = 284 orderby = name ] , once it is saved to the database and edit , when you switch to text mode shows the following:<\/p>\n<p>&lt;div style=&#8221;display: id=&#8221;cgs_code&#8221; block;&#8221;&gt; &lt;span id=&#8221;cgs_code_begin&#8221; class=&#8221;sc_html&#8221;&gt; [content -slider &lt; \/ span &gt; &lt;span id=&#8221;cgs_code_end&#8221; class=&#8221;sc_html&#8221;&gt; groups = 284 orderby = name ] &lt; \/ span &gt; &lt; \/ div &gt;<\/p>\n<p>so correctly display the text to the left , but all groups mixed together in my page shows a grid with five elements of two different groups, when should only show the 4 group 284<\/p>\n<p>browsing the code , apparently, the content-slider-custom-shortcodes.php , the page that calls it content-grid-slider.php is not able to correctly interpret the shortcode in that case , because if I insert the shortcode in text mode [content -slider groups = 284 orderby = name ] , the grid with 4 elements are displayed correctly , but the text on the left is truncated<\/p>\n<p>could check please create two groups and inserting the shortcode in visual and text and revising the grid shown?<\/p>\n<p>for the rest, excellent plugins, something long looking a plugin like this<\/p>\n<p>thks<\/p>\n<p>https:\/\/wordpress.org\/plugins\/content-grid-slider\/<\/p>\n","protected":false},"template":"","class_list":["post-4908234","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4908234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4908234\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4908234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}