Showing Adsense in the Most Recent Post Only

Discussion in 'Blogging' started by jg123, Oct 3, 2007.

  1. #1
    Is there a way to place adsense directly in a post without using a special plugin? I tried a bunch of ways but it does not show.

    Thanks in advance for any help.
     
    jg123, Oct 3, 2007 IP
  2. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you tried disabling the WYSIWYG bar? That should allow you to place the code. If not, you might have to stick with a plugin for it.
     
    Pixelrage, Oct 3, 2007 IP
  3. Noddegamra

    Noddegamra Peon

    Messages:
    1,013
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I imagine Showing Adsense in the Most Recent Post Only would be done via a template modification?
     
    Noddegamra, Oct 4, 2007 IP
  4. xdimension

    xdimension Peon

    Messages:
    180
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    As markn26 said, you need to disable WYSIWYG first to put the code, but I would say it's better to use plugin, so the ad code isn't messed with your post.

    it can, but not in the post content.
     
    xdimension, Oct 4, 2007 IP
  5. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #5
    If not plugin, you need to enter the JS code in your template file..
     
    MeetHere, Oct 4, 2007 IP
  6. jg123

    jg123 Notable Member

    Messages:
    6,006
    Likes Received:
    387
    Best Answers:
    0
    Trophy Points:
    295
    #6
    I tried it this way but it didn't work.

    Which and where in the template file would you try?

    I also saw a plugin that I might try out.
     
    jg123, Oct 4, 2007 IP