Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bradvin

    (@bradvin)

    Hi,

    Would you like to include a FooGallery compatible album template in your theme? This would then require you to add FooGallery as a required plugin when users install your theme.

    Or would you like to copy the HTML structure and CSS code from the album template and bundle that to work with your theme? If you go this route, then you would need to have a concept of an album, which is not in WP core.

    Thread Starter GRT1

    (@grt1)

    Thanks for your reply.

    I would like to insert the album shortcode, but in the theme not in an article or post.

    How can I do this please?

    Thread Starter GRT1

    (@grt1)

    Hi any feedback regarding this situation? Or do I need to purchase the pro version or something?

    I would like to insert this shortcode [foogallery-album id=”3143″]… But in the theme not in a post or page…

    Is this possible or not?

    Thread Starter GRT1

    (@grt1)

    Probably I would have to discard this plugin if a solution is not found.

    Thanks

    I think you want this:

    <?php echo do_shortcode(‘[foogallery-album id=”3143″]’); ?>

    Plugin Author bradvin

    (@bradvin)

    @grt1 – there is no PRO version of FooGallery

    You can do what @jqart suggests, or you can create an instance of the FooGallery_Template_Loader class and call the render template method passing in the gallery ID. If you go this route, then be sure to check if the class exists before doing so that your theme does not break when FooGallery is not installed.

    I would also recommend using this in your theme : http://tgmpluginactivation.com/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Album Theme Shortcode’ is closed to new replies.