Enable PHP when editing only one page
-
Hi,
I have to say first that I’m really pleased with the theme.
I would like to add a sample of php code in one of the pages.
«<?php echo do_shortcode(‘[smartslider3 slider=4]’); ?>»
It’s a slider I want to add but only for one page.With the hooks, it works perfectly. The problem is that it’s displayed on every pages. So I tried to add the code directly on the page «petites annonces» using the function «shortcodes» then «Shortcode After Header» but the code doesn’t seem to work. I think only xhtml/css/JS works.
How can I do ?
Thank you very much !
- This topic was modified 8 years, 8 months ago by .
- This topic was modified 8 years, 8 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Enable PHP when editing only one page’ is closed to new replies.
