Dynamic shortcode (local to production server)
-
Hi. I currently have a site using a SA slider in the header. Because of the position, I embedded the shortcode
<?php echo do_shortcode("[slide-anything id=x]"); ?>inheader.php.This works fine, but the ID that is used on my localhost install and the ID on the actual production server are different. Of course I could just edit this one number when uploading to production — but is there an easier way to embed a slider without having to change to match the live site?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Dynamic shortcode (local to production server)’ is closed to new replies.