Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi there guys quick question, using FlippingBook and calling a gallery within a page or post is with something like this: [book id='1' /] but I want to call the gallery directly from my code, so is there any php code to achieve this? Thanks guys!


share|improve this question

1 Answer 1

Short answer but I think it is all you need.

do_shortcode("[book id='1' /]");


share|improve this answer
Don't forget to escape your single quote character or use double-quotes. –  Ben Miller Jul 31 '13 at 20:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.