![]() | | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Jul 2008 Location: United Kingdom
Posts: 253
Thanks: 293
Thanked 38 Times in 27 Posts
|
Hi all I hope you don't mind me picking your collective brains... I have a hosted Wordpress blog using the Revolution Lifestyle theme and would like to add a link to a product to one of the side bars- clickable products image and text. I have managed to add the text linking to the product salespage but the image isn't displaying, even though I have added the address of the folder where the image is. I'm sure it must just be something really simple I'm not doing. The other problem is, on some of the blog post summaries on the home page, instead of the usual 'read more of this review', inviting the reader to click to open the post on a new page, there is a string of words and characters which shouldn't be there- eg 'Bookmark It Hide Sites $$('div.d153').each( function(e)', which makes the site look messy. Any ideas? Thanks a lot everybody |
| | |
| | |
| | #2 |
| Active Warrior Join Date: Oct 2009 Location: Pennsylvania
Posts: 36
Thanks: 3
Thanked 6 Times in 6 Posts
| PM me the URL and I'll have a gander.
|
| | |
| | #3 |
| Active Warrior Join Date: Oct 2009 Location: Pennsylvania
Posts: 36
Thanks: 3
Thanked 6 Times in 6 Posts
|
Apparently, I can't send PM's yet, so I'll explain here. To fix the sidebar, replace the current code you have with: Code: <a href="http://www.YOURURL.com/exercisewithouteffort.htm"> <img src="images/ecover2-150.jpg">If you like the idea of losing a few pounds, stopping aging dead in it’s tracks, having a sexier silhouette, but can’t fit gym or workout sessions in your schedule, please click here</a> Originally you were using: Code: <img src="/images/ecover2-150.jpeg"> The second issue is that images/ecover2-150.jpeg doesn't exist, but images/ecover2-150.jpg does. The extra e in jpeg was the issue. Some host environments will correct for this, but many don't. I used to do this all of the time, too. Very hard to catch when you've been looking at the code forever. Also, it is entirely up to you, but may not want to link all of that text AND the image. It looks sort of weird to me. You could try something along these lines: Code: <a href="http://www.YOURURL.com/exercisewithouteffort.htm"> <img src="images/ecover2-150.jpg"></a><br />If you like the idea of losing a few pounds, stopping aging dead in it’s tracks, having a sexier silhouette, but can’t fit gym or workout sessions in your schedule, <a href="http://www.YOURURL.com/exercisewithouteffort.htm">please click here</a>. With regard to the weird code showing up before the review link, that is jQuery Javascript code and it normally is parsed by the browser and never shown. Do you perchance have another "Click Here For More" tag in your posts or maybe a plugin that does this automatically? If so, that is probably the culprit. I can't tell from here, but it looks like the jQuery code was made to "slide down" content when the user clicks the more link. If you've installed a plugin that does that, try deactivating it from the control panel. Let me know how that works for you! |
| | |
| | #4 |
| Active Warrior Join Date: Oct 2009 Location: Pennsylvania
Posts: 36
Thanks: 3
Thanked 6 Times in 6 Posts
|
Upon second look, the culprit may be the Social Bookmarks plugin, but I don't know why it is behaving the way it is.
|
| | |
| | #5 |
| HyperActive Warrior War Room Member Join Date: Jul 2008 Location: United Kingdom
Posts: 253
Thanks: 293
Thanked 38 Times in 27 Posts
|
Hi Ebo That's really useful, I will try it again! I do have a plug in that automatically shortens posts so may try deactivating it and see what happens. Thanks a lot for your time |
| | |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Jul 2008 Location: United Kingdom
Posts: 253
Thanks: 293
Thanked 38 Times in 27 Posts
|
Hi just to add- it is perfect now! I have the image and text in sidebar. I think the plug in was causing the weird text as I have deactivated and all seems normal. Thanks a bunch Ebo, you have been really helpful. |
| | |
| | |
| | #7 |
| Active Warrior Join Date: Oct 2009 Location: Pennsylvania
Posts: 36
Thanks: 3
Thanked 6 Times in 6 Posts
| No problem at all, Steph. I'm glad I could help!
|
| | |
![]() |
|
| Tags |
| issues, wordpress |
| Thread Tools | |
| |
![]() |