zong6
Forum Replies Created
-
Thank you @mateuszgbiorczyk for your response. I’ll mark this resolved.
Thank you very much @mateuszgbiorczyk! The site url of the site (https://www.purdue.edu/hhs/) where the feed is pulled from is similar but different than this site (https://hhs.purdue.edu/). Is there an argument like $server_path that we can use to exclude this url?
Thanks!Best regards,
YanhuaHi @mateuszgbiorczyk! Unfortunately Pantheon doesn’t allow us to modify the server configuration.
Thank you very much for your reply.
Unfortunately it’s a dev site hosted on the campus server and needs vpn to access it. I did try to install this plugin on a test site hosted on Pantheon but it always throws errors about system configuration even I selected the “Pass Thru (without rewrites in .htaccess files or Nginx configuration)” option.
Here is a screenshot of the RSS feed section https://www.screencast.com/users/YanhuaZong/folders/Default/media/b6688c0f-5ecd-40c9-bb30-63df5a34d556. The HTML tag for the image is:<div class=”card-bg-image image is-2by1″ role=”img” style=”background-image: url(https://dev.hhs.purdue.edu/wp-content/webpc-passthru.php?src=https://www.purdue.edu/hhs/news/wp-content/uploads/2022/02/SCastillo-Headshot-300×200.jpeg&nocache=1)” aria-label=”S. Sianna Castillo”></div>
You can see the feed is pulled from a different domain https://www.purdue.edu/hhs/news/ but its URL was still modified. Is there any way we can bypass this? Thanks very much!Best regards,
YanhuaI’ll mark this resolved.
Ah, found the issue. I need to use get_the_ID() instead of $post->ID. Thanks!
Thanks so much for your quick responses and help @markzahra!