• This is probably a question for the plugin author but as Galleria WP does not seem to have an active support I’ll just try here.

    Simply put, I want to add the shortcode [galleria] to display a slideshow, but rather than showing it in the_content, I want to be able to add it using custom fields, thus straight into the code inside the loop.

    I have tried using <?php do_shortcode("[galleria]"); ?> without success. Read somewhere that the shortcode needs to be registered.

    Any help is appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • try adding this :
    <?php add_shortcode('galleria','gallery_function'); ?>

    I’d also like to know this. your suggested code doens’t work – sure;y there’s something needed in functions.php?

    Thread Starter wpstyles

    (@wpstyles)

    `<?php echo do_shortcode(‘[galleria thumbnail=”bottom-scroll”]’); ?>

    I needed to add an echo for it to show ??

    Neither of these shortcodes seemed to work for me. I seem to just get the basic WP gallery. Anything that I might be missing here?

    The call is inside the loop, and I tried all the different options presented above. Could it be my WP install? 3.3.1?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I add shortcode for Galleria WP plugin right in the code!’ is closed to new replies.