• Resolved marcbkk

    (@marcbkk)


    I am trying to add an RSS feed graphic to my blog in the sidebar using a text widget. I have used the following text:

    <img src=”https://MYIMAGE.com/blog/rss.jpg&#8221; alt=”RSS”>

    The only thing that shows up on the blog sidebar is the alt text itself which is simply RSS as per above. The image does not show up.

    In addition, when I click on the alt text that says RSS the link for it doesn’t work. Meaning it does not take me to the feed as it should. Instead I get a 404 error message form my blog saying the page I am trying to reach doesn’t exist. I think that is because the actual link that comes up when you click on it comes out as:

    https://MYURL.com/blog/”http:/MYURL.com/blog/feed/&#8221;

    So it seems like it is repeating the URL twice for some reason, the main blog url and then followed by the RSS url.

    Is there something wrong with my code above perhaps or the way I am entering in the text itself into the text widget?

    Cheers…

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter marcbkk

    (@marcbkk)

    Sorry, I am reposting my message because in the above post the code I was trying to show did not appear correctly:

    I am trying to add an RSS feed graphic to my blog in the sidebar using a text widget. I have used the following text:

    <a href="https://MYSITE.com/blog/feed/"><img src="https://MYIMAGE.com/blog/rss.jpg" alt="RSS"></a>

    The only thing that shows up on the blog sidebar is the alt text itself which is simply RSS as per above. The image does not show up.

    In addition, when I click on the alt text that says RSS the link for it doesn’t work. Meaning it does not take me to the feed as it should. Instead I get a 404 error message form my blog saying the page I am trying to reach doesn’t exist. I think that is because the actual link that comes up when you click on it comes out as:

    https://MYURL.com/blog/"http:/MYURL.com/blog/feed/"

    So it seems like it is repeating the URL twice for some reason, the main blog url and then followed by the RSS url.

    Is there something wrong with my code above perhaps or the way I am entering in the text itself into the text widget?

    Cheers…

    Is this on a live site that we could take a look at to see?

    Thread Starter marcbkk

    (@marcbkk)

    Thanks. I took the text widget off my site already because it wasn’t working right. So I was trying to figure out the right code or text for the widget first before putting it back up. If you have some idea for a different code syntax I would be happy to try it.

    Have you visited just the image URL that you’re trying to insert to make sure it shows properly in a browser?

    Thread Starter marcbkk

    (@marcbkk)

    OK, I have put it back up now on the site so you can see it. Please go to https://www.marcschultz.com/blog

    The issue should appear at the very top of the sidebar above Archives. There you should see the RSS alt text only.

    Thread Starter marcbkk

    (@marcbkk)

    Yes thank you. I tested the image URL:

    https://www.marcschultz.com/blog/rss.jpg

    It’s showing up just fine for me. Have you tried clearing your browser cache? The link also takes me to the blog feed without any URL issues.

    Thread Starter marcbkk

    (@marcbkk)

    Well, strange, but it seems to be working on this page now:

    https://marcschultz.com/blog/beauty-panning/

    Maybe it is a caching issue on some other pages where it is now showing up correctly. I am running the WP Super Cache plugin. SO perhaps that affects some pages when I try to release them.

    Very possible ??

    Thread Starter marcbkk

    (@marcbkk)

    Thanks JarretC. I do think it is a caching issue. But it is not a browser cache issue I don’t think. It has to do with the WP Super Cache plugin.

    Thread Starter marcbkk

    (@marcbkk)

    Well, problem solved it seems. Would you mind to kindly click on the main blog index page, then a couple of my pages from the top navigation, and then finally a couple of random blog posts and please let me know if it is showing correctly on all pages for you please? Cheers..

    Seems to be showing up on some pages but not single blog posts, have you cleared the cache in WP Super Cache yet?

    Thread Starter marcbkk

    (@marcbkk)

    Thanks. I deleted the cache. Seems OK now. Would you kindly try it one more time from your side if you have a moment? Cheers…

    Showing up now on all URLs ??

    Thread Starter marcbkk

    (@marcbkk)

    Great. Thanks. That WP Super Cache seems to be a useful plugin, but sometimes I wonder if I have it configured correctly in the first place. The number of settings on that plugin are endless.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Trouble With Text Widget’ is closed to new replies.