slider for wordpress

Discussion in 'WordPress' started by Haki88, Sep 5, 2013.

  1. #1
    I have Royal Slider for wordpress but i dont know how to "paste it" in template.
    short codes to use in template php files

    <?php echo do_shortcode('[royal]');?> - This short code will display all images under all categories which are not disabled.

    <?php echo do_shortcode('[royal cats=2,3]');?> - This short code will display all images under the categories with ID's 2,3.

    <?php echo do_shortcode('[royal imgs=1,2,3]');?> - This short code will display images which has ID's 1,2,3.



    I have same theme as this site (Gonzo) and same slider Royal Slider
    http://www.mmoculture.com
    Code (markup):
    I can paste slider in page or post but i want it in front
     
    Haki88, Sep 5, 2013 IP
  2. MrLilley

    MrLilley Member

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #2
    You have to edit a .php file to include the short-code where you need it, it will be named the same as the page layout you are using for the homepage.
     
    MrLilley, Sep 5, 2013 IP