Insert page content into another page with a changed variable
Assuming you want to replace it with some static value (well, you can always change this anyway), some kind of find and replace snippet like this can do the trick: $content = apply_filters( ‘the_content’, $post->post_content); // set the replacement string value $replace = “REPLACEMENT”; // make sure the quotes used are exact $find_start = “<param … Read more