Forums

[resolved] How can I run scripts in a single blog post? Adsense Referral Links. (7 posts)

  1. thatdaveguy
    Member
    Posted 4 years ago #

    Hi,

    Specifically what I'm trying to do is place a Google Adsense Referral link directly inside one of my posts. However, this doesn't work out of the box. Is there a plugin for this?

    Any ideas?

  2. Kafkaesqui
    Moderator
    Posted 4 years ago #

  3. thatdaveguy
    Member
    Posted 4 years ago #

    well i have been screwing with runphp for about 40 minutes with no luck. i think it's because i use the tinyMCE editor which is no good for this plugin.

    i dont really want to disable the visual editor permanently. it's quite useful.

    do any of these work on 2.3.1 with tinymce?

  4. thatdaveguy
    Member
    Posted 4 years ago #

    got it working. :) used exec-php, much better plugin

  5. wirelessguru
    Member
    Posted 4 years ago #

    I am also trying to put referral links in my posts. WordPress turns "&" into "&" followed by "#38;" or "amp;" - and my links don't get registered with the referral site.

    I too installed exec-php, but extra characters are still shown in the page source - though it looks fine in the address bar.

    Do you mind explaining how you get referral links to work for you using exec-php?

    TIA.

  6. wirelessguru
    Member
    Posted 4 years ago #

    fixed original post

  7. cclinton
    Member
    Posted 4 years ago #

    thatdaveguy, what did you do to get exec-php working? I have been trying and its not working.

Topic Closed

This topic has been closed to new replies.

About this Topic