Hi Guys,
When I try to add this code to my website, I get an internal server error. Not after I add it, BUT WHEN I CLICK SAVE CHANGES IN THE EDIT SNIPPET MENU. This is a common occurrence for me, and it happens to a wide range of code. What is happening? Here is one example.
add_shortcode( ‘shortcode_name’, function () {
$name_id = $_GET[‘name_id’];
if (isset($name_id)) {
$out = fish_loop_through_head_and_body_data ($name_id, “p”, “name_display”);
return $out;
}
return “”;
} );