WordPress.org

Ready to get started?Download WordPress

Forums

Post titles not showing properly (13 posts)

  1. calw
    Member
    Posted 11 years ago #

    My site is here: http://words.writtenonthesky.com -
    The problem I'm having is that the title is not showing up. I have the original code in there, as per the default. At this point, other than tweaking the css, I'm generally really happy with how this is working, and the learning curve it's giving me. I'm just a bit flummoxed as to what's going on here. Any ideas?

  2. calw
    Member
    Posted 11 years ago #

    That's just the thing....I do. I have the exact default code (other than having changed the div class to just an h3 tag).
    Thanks, though.

  3. calw
    Member
    Posted 11 years ago #

    If I took away "Main", my design would be all over the place! That is an integral part of the layout. Does css affect php?

  4. thomas
    Member
    Posted 11 years ago #

    well, i notice that the problem is on the tag, do you put the right tag? your link goes like this : http://words.writtenonthesky.com/?cat=
    I think that indicates that you miss something there... ( correct me if i'm wrong )

  5. calw
    Member
    Posted 11 years ago #

    I wish I could put code in here...so I could show you how I have the *exact* default php tags in there!!! All I changed is the css that surrounds the tags. Unfortunately, the documentation that comes with WP doesn't expand on how changing the css might affect the tags. I'm thinking of stripping it back down to the original design just to figure this out! *sigh*

  6. southerngal
    Member
    Posted 11 years ago #

    I know what you mean. I want to post tons of code and I don't think there is a way!

  7. calw
    Member
    Posted 11 years ago #

    I actually downloaded miniBB, southerngal, and looked in the instructions...apparently the default gives you a "quote" option, but I'm guessing the admins here have taken out that option.

  8. calw
    Member
    Posted 11 years ago #

    Here it is, Mike.
    I didn't think css would affect php...although I haven't looked as hard as I probably should have to see what's going on. I did take a look at the readme file, and it looked as though I was doing it right.
    Thanks so much for helping. I hope I'm putting this code in correctly!
    <h3>
    " rel="bookmark"><?php the_title(); ?>
    <span class="meta">" title="Category: <?php the_category() ?>">[<?php the_category() ?>] — <?php the_author() ?> @ <?php the_time() ?>
    </span>
    </h3>

  9. Mike Little
    Member
    Posted 11 years ago #

    Hi calw,
    I just took your code and pasted it into my template and it worked perfectly!
    Which puzzled me greatly!
    I went back to look at your site, and there is one clue to what I think is going on.
    After the place where the title, category, etc. is supposed to appear you have the date displayed.
    That is pretty unusual, could it be that the code you posted is *before* the
    <?php if ($posts) { foreach ($posts as $post) { start_b2(); ?>
    line, where it should be after it?
    Mike

  10. calw
    Member
    Posted 11 years ago #

    Aint it just always the silliest things! I told you I haven't really done the reading on it all yet. I am really enjoying WP already...fantastic stuff!
    (lesson 101 for any new application - read documentation first!)
    I can't wait to really get to a good understanding of this once I learn php.
    Just as an aside - I use MT for my main blog. I'm using WP to help me learn php, and it's a faster product. Although I love the add-ons that come alongside MT, I can see a really good potential for customization in this product. Great stuff!

  11. Mike Little
    Member
    Posted 11 years ago #

    Cool! I'm glad we got it sorted.
    We have great plans for WP. There are lots of add-ons coming.
    Thanks,
    Mike

  12. mamasnooze
    Member
    Posted 9 years ago #

    I guess I'm having a bd case of a little knowledge being a dangerous thing. I love the theme I'm using (Mike Little's Journalized Winter) and I've been customizing it. But somewhere along the line tonight I lost my post titles.

    I went into the 'Write' section and tried a test post, thinking that maybe it only applied to those already written, but no post title appeared.

    Where have I screwed up my code?

    TIA...

  13. mamasnooze
    Member
    Posted 9 years ago #

    Ummm....I just solved my problem. I was missing this piece of code:

    <?php the_title(); ?>

    Inserted it and voila...

    oh my gosh...it scares me that I might be starting to have a clue about this stuff...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.