• Resolved mbarrio

    (@mbarrio)


    Hey everyone – first off this board has been nothing but helpful when it comes to finding answers (and this is only my first post!)
    One thing I have not found on this board is the answer to the following:
    My site
    All Pro
    is almost exactly as I want it. But on the front page in the post content area the formatting is gone. When you click on the post it shows up clear. Any ideas? I can post whatever code needed so let me know. Here some from the index page ` <div class=”entry”>
    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <?php themefunction_content(1500, ”);?>
    </div>`

Viewing 1 replies (of 1 total)
  • Thread Starter mbarrio

    (@mbarrio)

    Hey guys after a full day of trying to figure this out I noticed in the themefunction_content under the functions.php I found a snippet of code $content = strip_tags($content);
    Me and my lack of knowledge in the php realm didn’t realize that meant it would strip all the html/css/php tags off of the $content (post).

    Who knows maybe this will help someone else too ??

Viewing 1 replies (of 1 total)
  • The topic ‘Formatting missing from post’ is closed to new replies.