Hi @marceljm, is it possible for you to provide a php script so I can add and test? Specifically speaking, I wanted to know how to make it work with web-story. I’d really appreciate it!
Script:
fifu_dev_set_image(1234, 'https://ps.w.org/featured-image-from-url/assets/icon-128x128.png');
Hi Marcel, I didn’t mean a script that only enables a specific post, my friend 😅
What I meant was to enable fifu_image_url for all web-story this post type items.
Thank you!
That doesn’t “enable a post,” @painlessseo. That associates an image URL with a post ID. And it should be enough for your testing purposes.
Also, “fifu_image_url” is a database entry. You don’t “enable” database entries. You can create or delete them. So, you need to associate each post ID with a specific URL. I don’t have your list of IDs and URLs, so I can’t create a script.
Ah, I see. Thank you Marcel. I can confirm that it works. I really appreciate it!
Hi Marcel, as I mentioned earlier,
fifu_dev_set_image($post_id, $image_url) works for individual web-story but now the question is how to achieve it in a programmatic way.
I found this thread where you mentioned you’d develop an integration.
Can you try to come up with a fifu-web-story integration and I’d love to test and leave you feedback.
Thank you!
Hi Marcel, sorry for keep spamming this thread. I have found a solution that should work for my current workflow. All in all, I really appreciate all the great help you offered. A true WP developer that carries a true WP spirit!