Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Icegram

    (@icegram)

    Hi Lundalogik,

    Icegram comes with a wildcard functionality.

    How you could use it ?

    Simply add the specific url into the ‘Where’ condition.

    For eg: Suppose you want to display a campaign only on archived posts.

    So you could add the url: https://www.yourwebsite.com/archive/*

    This will see to it that the campaign is displayed on every page that has this url.

    Hope this helps ??

    Incase of any difficulties figuring the functionality.

    Drop us a mail we’ll get back to you asap.

    P.S: Refer this Link for more details.

    Thanks,
    Team Icegram

    Thread Starter Lundalogik

    (@lundalogik)

    Hiho Icegram!

    Thank you so much for the reply, but the problem I have is that for every new post I do the URL is always different. If you check this link you will se what I mean:

    Blog:

    https://lundalogik02.azurewebsites.net/bloggar/

    Posts:
    https://lundalogik02.azurewebsites.net/trana-upp-ditt-minne-vinn-affaren/
    https://lundalogik02.azurewebsites.net/syntell-belaggningen-okade-med-crm-systemet/

    How can I make Icegram by default input the shortcode into a new post?

    Plugin Author Icegram

    (@icegram)

    Hi Lundalogik,

    For Icegram wildcard feature to work you have defined structure of URL.
    Which is not in your case.
    There is another option use[icegram]shortcode.
    You can put it on a category page / in a widget / on a specific post or anywhere else.
    That will show your campaigns on any page.

    Hope this helps you.

    Thanks,
    Team Icegram

    Hello Icegram,
    I have the same issue and your suggestion does not work. I added <?php echo do_shortcode(‘[icegram campaigns=”17493″]’);?> into my template php file for all blog posts and it does not work. Please advise!

    Plugin Author Icegram

    (@icegram)

    @ajsnash,

    Can you please let us know where is the template file is placed?
    It seems that Icegram shortcode is not executing in template file.
    Please try to add shortcode in Editor of any post and see if shortcode is execute.

    Thanks,
    Team Icegram

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Campaign on posts’ is closed to new replies.