Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- </head>
- <?php
- global $post;
- $post_meta = get_post_meta( $post->ID);
- $bodyClass = $post_meta['id_strony_pomocne_przy_stylowaniu'];
- if( $bodyClass ){
- echo "<body class='".$bodyClass[0].>"';
- }else {
- echo "<body class='".$bodyClass[0].>"';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement