WordPress.org

Ready to get started?Download WordPress

Forums

iTunes Affiliate Pro
Issue with custom fields (3 posts)

  1. chrisanthropic
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/itunes-affiliate-pro/

  2. Jorge A. Gonzalez
    Member
    Plugin Author

    Posted 1 year ago #

    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);

  3. chrisanthropic
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.