• Buy the supplement called “shortcodes ultimate maker”, (creator of shortcodes). In order to avoid I place all code in the index.php file just like to make a call to the shortcode.

    I use the following code.
    <? php echo do_shortcode (‘[test]’); ?>

    I place I want to avoid all the raw code in my index.php example:
    [su_testimonial name=”” photo=”” company=”” url=”” target=”blank” border=”yes” class=””]Testimonial text[/su_testimonial]

    https://wordpress.org/plugins/shortcodes-ultimate/

Viewing 1 replies (of 1 total)
  • Thread Starter garce

    (@garce)

    I wish the following code is “calling” and not be inserted crude in my index.php
    [su_content_slider style = “default” effect = “slide” arrows = “yes” pages = “no” autoplay = “5” align = “”] [su_content_slide] Slide content [/ su_content_slide]
    [su_content_slide] Slide content [/ su_content_slide]
    [su_content_slide] Slide content [/ su_content_slide] [/ su_content_slider]

Viewing 1 replies (of 1 total)

The topic ‘call to the shortcode in php file.’ is closed to new replies.