• Resolved abbforever

    (@abbforever)


    I’m thinking it might be a plugin or theme compatibility issue, or I’m not inserting the filter in the right place!

    I tried copying and pasting the icon image filter in functions.php for my child theme, which results in a completely non-loading blank page in wordpress when I try to navigate anywhere after updating the functions.php with the code.

    Basically, I’d like to be able to use the custom image icon filter but I’m unsure how to use it. I’ve read through everything I can on the support forums and the plugin page and can’t seem to figure it out. Thanks!

    https://ww.wp.xz.cn/plugins/timeline-express/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Evan Herman

    (@eherman24)

    Hi Abbforever,

    I will give it a look over and see if I can get the custom icon filter working.

    Is this the example that you followed?
    https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c

    Thanks,
    Evan

    Thread Starter abbforever

    (@abbforever)

    Yes, that is the example. Thanks so much!

    Plugin Author Evan Herman

    (@eherman24)

    Hi Abbforever,

    I’ve gone ahead and tested things out and you’re correct something seems to be incorrect with the function in the gist provided.

    I’ve gone ahead and updated the Gist to a working state. Simply copy and paste the following Gist into your functions.php file to use the announcement image as the icon, and hide the image altogether:
    https://gist.github.com/EvanHerman/ba29e4941be52042ef57

    You can also use this Gist if you want to add an additional field, and use that as the icon instead. This would allow you to still display the announcement image.
    https://gist.github.com/EvanHerman/6bbc8de82f34b4cb3c5c
    Same thing, simply copy and paste it into your functions.php file, and things should start working.

    Let us know if this works out for you!

    Thanks,
    Evan

    Thread Starter abbforever

    (@abbforever)

    Thanks so much for looking into this for me! I will let you know if I run into any problems.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Icon Image Filter Trouble’ is closed to new replies.