Alondi Commanda
Forum Replies Created
-
Hi Wayne20! All will be fine in the next update of the plugin coming hope, which will have some new features added. Thanks
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Su_Posts not working in su_tabsHi @abhinav_khanna2008, Your code works fine. Maybe you could try testing the same code again.or use this and one more thing is you should check your su_ prefixes in the settings menu, all your prefixes must be the same. example su_
[su_tabs] [su_tab title="Title 1"]Content 1[/su_tab] [su_tab title="Title 2"][su_posts template="templates/list-loop.php" posts_per_page="5" orderby="comment_count"][/su_tab] [su_tab title="Title 3"]Content 3[/su_tab] [/su_tabs]
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Short Code in PHP pagesYou are welcome @regi.siti
Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Short Code in PHP pages@regi.siti You have to change all the kp_ prefixes to the prefix you have in your Shortcode => Setting. The default value is su_ but you have to check.
<?php echo do_shortcode(' [kp_row] [kp_column size="1/4"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quam nibh, euismod eget nulla a, tempor scelerisque lorem. [/kp_column] [kp_column size="1/4"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quam nibh, euismod eget nulla a, tempor scelerisque lorem. [/kp_column] [kp_column size="1/4"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quam nibh, euismod eget nulla a, tempor scelerisque lorem. [/kp_column] [kp_column size="1/4"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quam nibh, euismod eget nulla a, tempor scelerisque lorem. [/kp_column] [/kp_row] '); ?>
Looking at the last line of the code you gave above, there is a dot that is not suppose to be there. Anyways that’s not the case.
Use this code exactly as it is but you will have to replace all the kp_ prefixes with your own prefix. To check your prefix, go to Shortcode => Setting you will find Shortcodes prefixHope this helped You.
More on https://kamerpower.com/Forum: Plugins
In reply to: [WP Shortcodes Plugin — Shortcodes Ultimate] Short Code in PHP pages@regi.siti, what you have to do is to use the php code for calling a shortcode inside your template files. an example is
<?php echo do_shortcode('Your shortcode goes in here '); ?>
Your shortcode should look like this in the case of 1/5 + 4/5 column ,
<h2>1/5 + 4/5</h2> [su_row] [kp_column size="1/5"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. [/kp_column] [kp_column size="4/5"] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis quam nibh, euismod eget nulla a, tempor scelerisque lorem. Proin dignissim arcu tristique fermentum ullamcorper. Integer lacinia scelerisque enim eu pretium. Nam elementum turpis orci, ac porttitor diam suscipit sit amet. [/kp_column] [/su_row]
Hope this helped you.
More on https://kamerpower.com/