• Resolved musictonite

    (@musictonite)


    Ok, this is very weird.

    I am working with a new template.
    When I read the post on the front page, the whole thing is in one large ‘blob’ without paragraphs, without html commands, such as bold, italic, so on.

    When I do, however, click on the post title, and it takes me to the post itself, all the html commands work. I see paragraphs, I see bold text where needed, I see italics, and so on.

    Where do I go to fix the front-page setting?

    thank you

    oh, my website is http://www.recorderhaven.com/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter musictonite

    (@musictonite)

    no one?

    The only difference I see(other than the problem with format) is the incorrect copy has this <p id="postnav">&nbsp;</p> at the end.

    Thread Starter musictonite

    (@musictonite)

    and should I remove that from the CSS?

    thanks for the reply

    Thread Starter musictonite

    (@musictonite)

    is that in the CSS anyways?

    thanks

    Thread Starter musictonite

    (@musictonite)

    I tried typing my post and saving as a jpg

    then I put that in there as an image, the text on the page I mean…

    now you won’t even see ANYTHING on the front page

    you have to actually go to the post itself to see anything

    Your post should not be saved as an image. On both pages the post is using the same css so that is not, AFAIN, the problem.

    When you entered the text, did you use the text editor and key it in or did you cut and paste? Have you gone into the text editor and where you want paragraphs, press “enter”, then save and see how it looks?

    If the above is unsuccessful, change to the default theme to see if the problem goes away. If you are using any plugins disable them and see if that makes any difference.

    Thread Starter musictonite

    (@musictonite)

    ok, I got rid of the jpg

    still, the problem remains

    I tried using both the html and the view modes.

    none of the html codes work on the front page. they only work on the extension page, on the post itself, which you access by clicking the title of the post.

    I think it’s just that your posts are showing excerpts and not the full content. That will be in the php file themselves.

    Post navs will show up when you have more post then what you’ve set. I would not play with those

    I really couldn’t see the problem in your page and post. give a better link.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    In your theme’s index.php, you’re using the_excerpt() which strips HTML 🙂

    It’s in the section I’ve quoted below. You can either change that to the_content(), or customize your excerpt per post and include the HTML code there. Using the_content() will slap your whole post on the front page, though. YMMV.

    <!-- begin post -->
    <div class="post<?php if ($first) { echo ' first'; $first = false; } ?>">
    	<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    	<p class="date"><?php the_time('jS F, Y') ?> - Posted by <?php the_author(); ?> - <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
    	<p><?php ob_start(); the_excerpt(); echo dp_clean_excerpt(ob_get_clean()); ?> <a href="<?php the_permalink(); ?>">Read More</a></p>
    </div>
    <!-- end post -->
    Thread Starter musictonite

    (@musictonite)

    here is what I have in the index. file

    <!– begin post –>
    <div class=”post<?php if ($first) { echo ‘ first’; $first = false; } ?>”>
    <h2>“><?php the_title(); ?></h2>

    <p><?php ob_start(); the_content(); echo dp_clean_excerpt(ob_get_clean()); ?></p>
    </div>
    <!– end post –>

    Thread Starter musictonite

    (@musictonite)

    it was the_excerpt before, but I changed that to the_content

    still nothing

    Thread Starter musictonite

    (@musictonite)

    I think I got it!!!

    I removed this code from the index…

    echo dp_clean_excerpt(ob_get_clean());

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘html not showing on main page – it does show when seeing individual posts’ is closed to new replies.