php – get specific post – don’t show up the class
-
Hello,
I use this code in a div inside header.php:<?php $post_id = 1; $queried_post = get_post($post_id); echo $queried_post->post_content; ?>
The post show up in the page and also the widget title, but don’t show up the class i use in the style of widget. I need, i can not put the class in the html code.
Do you know how i can fix?
Thank you!
- The topic ‘php – get specific post – don’t show up the class’ is closed to new replies.