Help with thesis theme

Discussion in 'Blogging' started by theblackhat, Apr 13, 2009.

  1. theblackhat

    theblackhat Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    256
    Likes Received:
    39
    i cant find the 'single post.php' file in the theme editor..
    how can i edit the single post??
    like, if i want to insert an add at each post below the title, how to do that?
    any idea would be of great help to me..
    thanks:)
     
  2. letusgo

    letusgo Junior Member

    Joined:
    Nov 15, 2008
    Messages:
    199
    Likes Received:
    125
    You could edit "single.php" and then add what you want before
    P.S. the_content() displays the contents of the current post.
     
  3. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP

    Joined:
    Jul 13, 2008
    Messages:
    1,813
    Likes Received:
    5,099
    Location:
    ScrapeBox v2.0
    Home Page:
    Thesis doesn't have a single.php file, the last version to have that was v1.2

    You need to use "hooks", in this case thesis_hook_after_title
     
  4. theblackhat

    theblackhat Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    256
    Likes Received:
    39
    @ sweetfunny
    thanks..
    i'll try it now and report back
     
  5. theblackhat

    theblackhat Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    256
    Likes Received:
    39
    hey pal.. i cant add anything :(
    whatever or wherever i try to add something,
    it gives me a fatal error,
    Parse error: syntax error, unexpected '<', expecting '{' in /home/healthy/public_html/page/wp-content/themes/thesis/lib/html/hooks.php on line 40

    can you please tell me exactly where to add the ad code