Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- </head>
- <?php
- # Waipoua and Podlove - Theme Fix for Episodes Responsive Design
- # Get <body> classs
- $body_class = get_body_class();
- # If $body_class[1] = "single-podcast" => convert to "single-post" and print array values
- if($body_class[1] == "single-podcast") {
- $body_class[1] = "single-post";
- echo "<body class=\"";
- foreach($body_class as $body_class_value)
- echo $body_class_value." ";
- echo "\" >";
- }
- else {
- ?>
- <body <?php body_class(); ?>>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement