Support » Plugin: iTunes Affiliate Pro » Issue with custom fields

  • chrisanthropic


    First of all, thanks for the plugin – it was working great until I made some changes to my site.

    The link doesn’t get written if it’s coming from a custom field. I have a form that allows users to create a post and it takes the itunes link from a custom field and enters it into the post via my template. Any links created this way don’t change. If I manually enter the link into the post then it works fine.

    For now I’ve manually edited my template to add the code but I’d really like to figure out what’s going on with the plugin and my setup.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jorge A. Gonzalez


    I think what you are asking for is a filter outside of the the_content filter.

    I can create a function that you can call in your template.

    Something like this

    echo IAP_filter_text(varTXT);



    Ah, that makes sense. I currently have it hard coded using template parts so I guess a function isn’t needed (but thanks for offering). I’d prefer to have it integrated into the plugin so mebbe I’ll give it a go and see what I can manage.

    Again, thanks for the awesome plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with custom fields’ is closed to new replies.