[Resolved] get_page/post and no paragraphs problem
I have a problem. I want to have 2 pages/posts on one front page in my wordpress.
I add 2 pages on admin panel (id 53 , 57) and i edited index.php adding:
$my_id = 53;
$post_id_53 = get_post($my_id);
$title = $post_id_53->post_title;
$content = $post_id_53->post_content;
This works fine and i see the content of this post but there are NO paragraphs <p>.
When i go to http://www.mydomain.com/53/ it looks ok. I cen write on admin using “enter” and this generate <p> tags. When i’m looking on my front page (in source) there are no <p> and this looks not ok. Any idea?
- The topic ‘[Resolved] get_page/post and no paragraphs problem’ is closed to new replies.