Forums

Ad Injection
[resolved] Injecting a custom field (5 posts)

  1. wigijdk
    Member
    Posted 9 months ago #

    Hi,

    When I inject a custom field for an image gallery such as [flagallery gid=1 name=Gallery] with AdInjection, it shows the actual text on the page rather than showing the image gallery.

    When I use a text widget instead, it displays the actual gallery like it should.

    How can I get AdInjection to display the image gallery rather than just text? Thanks.

    http://wordpress.org/extend/plugins/ad-injection/

  2. reviewmylife
    Member
    Plugin Author

    Posted 9 months ago #

    Hi wigijdk, Ad Injection will by default inject its content after the short codes have been processed. You could try changing the priority of Ad Injection (lower it I think), in the advanced settings to see if that helps.

  3. wigijdk
    Member
    Posted 9 months ago #

    Thanks for the advice, but I tried changing the priority to all the available values in advanced settings, and none of them had any effect.

    I want to be able to load these image galleries filtered by post category. Any more ideas? Thanks for the help.

  4. wigijdk
    Member
    Posted 9 months ago #

    Thanks, but I found a way to get done what I need by adding a conditional code to an advanced text widget, which filters by post category, and also displays the image gallery properly.

    So don't spend any more time on this. Thanks for your help.

  5. wigijdk
    Member
    Posted 9 months ago #

    Resolved.

Reply

You must log in to post.

About this Plugin

About this Topic