problem on shortcode
-
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.
some research, it seems the problem is when inserting the shortcode in the page where I’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′s 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 “Content Slider Grid ” instead of the group name
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:
<div style=”display: id=”cgs_code” block;”> <span id=”cgs_code_begin” class=”sc_html”> [content -slider < / span > <span id=”cgs_code_end” class=”sc_html”> groups = 284 orderby = name ] < / span > < / div >
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
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
could check please create two groups and inserting the shortcode in visual and text and revising the grid shown?
for the rest, excellent plugins, something long looking a plugin like this
thks
- The topic ‘problem on shortcode’ is closed to new replies.