1

I wanted to call the following shortcode in the wordpress page editor:

[pdfjs-viewer url=/wp-content/uploads/pdfs/[wpcf7_session_id]/vertrag.pdf viewer_width=100% viewer_height=1500px fullscreen=true fullscreen_text='Im Vollbildmodus anschauen' download=true print=true]

problem is the shortcode [wpcf7_session_id].

Any chance to call that somehow in the page editor?

Or do I need to call it in the backend in the php files? How can I do that?

buddemat
  • 4,552
  • 14
  • 29
  • 49
user1664377
  • 393
  • 1
  • 3
  • 13

1 Answers1

2

Shortcodes do not automatically nest -- you have to call do_shortcode($content) yourself. See the caption_shortcode() example on http://codex.wordpress.org/Shortcode_API.

Ori
  • 567
  • 3
  • 9