Replace slider with "Featured Content Gallery"

  • andrewjs18

    #215

    Hi,

    I need some help to replace the slider with the “Featured Content Gallery” Plugin I have installed. http://www.featuredcontentgallery.com/

    I have a photo-centric website so I was pretty happy with the slideshow functionality the plugin provided.

    Any ideas?

    canberrapm

    #11651

    All I have to do normally is add in the following text:

    <?php include (ABSPATH . ‘/wp-content/plugins/featured-content-gallery/gallery.php’); ?>

    in the appropriate space.

    But now, I don’t know where to insert it as a result of the function based css to be after the header and before the posts

    PS Great Theme!!!

    Admin

    Syahir Hakim

    #11652

    Put this code in your child theme’s functions.php file:

    <?php
    function graphene_fcg(){
    include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
    }
    add_action('graphene_top_content', 'graphene_fcg');
    ?>
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.