Results 1 to 8 of 8

Thread: WP question

  1. #1
    Jesus was never married, ran around with twelve guys, and was betrayed by a kiss from another guy. 100boys's Avatar
    Join Date
    Jun 2007
    Posts
    305

    WP question

    I have a permanent ad on top of all blog posts (I use Open X for this) and everything is fine except that it always shows january 13 as the post date. Does anybody have an idea how to remove the date only on this very first permanent post?

    Example: http://101gayporn.com/
    Add up to 10 sites per day to our directory: MyGayLinX Directory
    Trade Hardlinks with our gay TGP's and quality Blogs. - Signup Form -
    Nude Muscle Men Gay Muscle Hunks Gay Fetish Gay Tube Muscle Man Pics Gay Cocks Gay Porn Gay Men


  2. #2
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    New Orleans, Louisiana.
    Posts
    21,635
    This sounds like a question for Bec

    Regards,

    Lee


  3. #3
    Jesus was never married, ran around with twelve guys, and was betrayed by a kiss from another guy. 100boys's Avatar
    Join Date
    Jun 2007
    Posts
    305
    Yeah, I also think so
    Add up to 10 sites per day to our directory: MyGayLinX Directory
    Trade Hardlinks with our gay TGP's and quality Blogs. - Signup Form -
    Nude Muscle Men Gay Muscle Hunks Gay Fetish Gay Tube Muscle Man Pics Gay Cocks Gay Porn Gay Men


  4. #4
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419
    I'm not sure how to write it, but there are ways to exclude posts, pages or categories from displaying, so I'm thinking a bit of code that where it shows the date, tell it to display date except for post id# (whatever post Id that is). Maybe someone who does coding would know how to write it out for you.


  5. #5
    Am I Bitter?...Absolutely nicedreams's Avatar
    Join Date
    Apr 2004
    Location
    Washington DC Metro
    Posts
    572
    Yeah, thats easy.

    Look in your templates starting with index.php template and look for something like:

    PHP Code:
    <?php the_time('M j, Y g:i A'); ?>
    And change it to:

    PHP Code:
    <?php if($post->ID == 42){}else{the_time('M j, Y g:i A');} ?>
    Where the number 42 is replaced with the number of the post id found in your admin that you don't want the date printed out.

    Jimmy

    Gay Amateur Paysites / Solo Twink Paysite
    Nice Dreams Cash
    http://www.nicedreamscash.com


  6. #6
    Jesus was never married, ran around with twelve guys, and was betrayed by a kiss from another guy. 100boys's Avatar
    Join Date
    Jun 2007
    Posts
    305
    Great, thanks
    Add up to 10 sites per day to our directory: MyGayLinX Directory
    Trade Hardlinks with our gay TGP's and quality Blogs. - Signup Form -
    Nude Muscle Men Gay Muscle Hunks Gay Fetish Gay Tube Muscle Man Pics Gay Cocks Gay Porn Gay Men


  7. #7
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419
    Awesome Jimmy!

    Did it work??


  8. #8
    Jesus was never married, ran around with twelve guys, and was betrayed by a kiss from another guy. 100boys's Avatar
    Join Date
    Jun 2007
    Posts
    305
    Quote Originally Posted by Bec View Post
    Awesome Jimmy!

    Did it work??
    Hmm no we couldn't get it to work properly but we found another php workaround to remove the headers from stickies.
    Add up to 10 sites per day to our directory: MyGayLinX Directory
    Trade Hardlinks with our gay TGP's and quality Blogs. - Signup Form -
    Nude Muscle Men Gay Muscle Hunks Gay Fetish Gay Tube Muscle Man Pics Gay Cocks Gay Porn Gay Men


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •