modifying wordpress posts so that the title is in the content and not as a header?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Angry Jew Cat - Banned for Life
    (felis madjewicus)
    • Jul 2006
    • 20368

    #1

    modifying wordpress posts so that the title is in the content and not as a header?

    is this doable? so i could have say, a left aligned image, with the title next to it, instead of sitting up on top of everything? i've been doing some googing to no avail...
  • woman
    Confirmed User
    • Feb 2005
    • 100

    #2
    Of course you can. CSS is all what you need.
    Sexgirls! makes money with VideoBox

    Comment

    • Angry Jew Cat - Banned for Life
      (felis madjewicus)
      • Jul 2006
      • 20368

      #3
      Originally posted by woman
      Of course you can. CSS is all what you need.
      how exactly woul di go about doing a setup somewhat like this is a stylesheet? i thought about it a bit but didn't come up with anything that i know....


      XXXXXXXXXXX---------------------------------------
      X__________X_______TITLE OF THE POST HERE
      X__________X
      X__THUMB__X____written content for the post here
      X__________X
      X__________X
      XXXXXXXXXXX

      i justdon't see how i could wrap <?php the_content(''); ?> around the title div like that?
      Last edited by Angry Jew Cat - Banned for Life; 06-28-2007, 04:05 AM.

      Comment

      • woman
        Confirmed User
        • Feb 2005
        • 100

        #4
        I would do it the other way - bring the title in the post content too.
        You have this line in your loop:
        PHP Code:
        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
        1. Give it a display:none; - with this you can see it in your admin area but not on the blog.
        PHP Code:
        <h2 style="display:none;"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link o <?php the_title(); ?>"><?php the_title(); ?></a></h2>
        2. Install Exec-PHP, so you can write code in your posts
        3. Write your post: thumbnail (style="float:left; margin:14px 1em 4px 0; padding:0px;") and <div>
        PHP Code:
        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
        <p>YOUR TEXT<p></div><br clear="left" />

        Hope this makes sense to you.
        Sexgirls! makes money with VideoBox

        Comment

        Working...