Title: one text widget calling code from another
Last modified: August 22, 2016

---

# one text widget calling code from another

 *  [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/)
 * Hi, I am a bit of a dummy with coding- just started today in fact 🙂
 * I have a sidebar on my blog posts where I have used text widgets to call up images
   that link to other images
 * When I added another widget to call a blog post it the title bar calls the linked
   image from previous widget –
 * Do I have to put “stop” in there somewhere? It seems to be calling all the way
   to the end of widget code…
 * **Blog post**
 * [http://luke-woods.com/google-earth-pro-free/](http://luke-woods.com/google-earth-pro-free/)
 * **Code in image linked widget**
 * _[ Moderator note: code fixed. Please wrap code in the backtick character or 
   [use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       <a href="http://luke-woods.com/wp-content/uploads/2015/02/How-To-Get-A-GBV-Tour.png"><img src="http://luke-woods.com/wp-content/uploads/2015/02/Get-A-GBV-Tour-e1422774232863.jpg" width=200 height=120 />
       ```
   
 * **Code in blog post linked widget**
 *     ```
       <img src="http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg"width=250 height=120 /></a><a href="http://luke-woods.com/google-earth-pro-free/"></a>
       ```
   

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

 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737712)
 * It looks like you might have gotten this fixed. Or at least I’m not seeing any
   immediate problems. Let us know if you still need help. Or better yet, come back
   and let others who might have the same problem know how you fixed it.
 *  Thread Starter [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737715)
 * Oh, Hi- I had not seen this- not sure what to do with it?
 * Does this mean that the code in the blue things I paste in my widgets?
 * No idea what bakctick or code button is…
 * Best, Luke
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737718)
 * Luke, the Moderator note about pasting code is for when you are posting on these
   forums. When you post code, highlight it, then click the “code” button, which
   will put backticks around it. The backtick key on my keyboard is just to the 
   left of the numeral 1 key. You can see what a backtick looks like just below 
   the box to make a new post below– where it says “Put code in between…”
 * Back to the issue on your site: have you solved it? If not, can you try describing
   it again? I’m not sure what you mean by “call up images that link to other images”
 *  Thread Starter [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737719)
 * Hi. Thanks for feedback.
 * Quite simply when I have two widgets with code that display one image and click
   expands to another.
 * Clicking on either of these widgets cals the same same code…
 * Here is a post that has only one widget in- if i have a second both of them will
   only cal the topper most code in the widget-
 * Here is the code I am using…
 *     ```
       <a href="http://luke-woods.com/wp-content/uploads/2015/02/How-To-Get-A-GBV-Tour.png"  target="new">
   
       <img src="http://luke-woods.com/wp-content/uploads/2015/02/GBV-small-405x750.png" width=250 height=450 />
       ```
   
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737720)
 * I see the image in your sidebar under the email signup. Clicking on it opens 
   the full, long image, but much too small to read.
 * I’m really confused about “two widgets”. I’m only seeing one widget, but for 
   some reason, I can’t use Firebug or Developer tools to look at this.
 * What are you WANTING to have happen? The image is in your sidebar, someone clicks
   on it, then… what? You want it to display the same image, but bigger, centered
   and let the user scroll down it?
 * Maybe you could post the entire code you are using in your text widget?
 *  Thread Starter [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737722)
 * Hi Bet.
 * 
 * Now can you see 2nd text widget has underlined title and that calls the code 
   content of the 1st…
 * and yes you have a point- cos if you hover your pointer you can expand a second
   time full screen- it would be much better to go full screen on 1st click…
 * Here code is 1st and 2nd widgets… do you see now? Best, Luke
 *     ```
       <a href="http://luke-woods.com/wp-content/uploads/2015/02/How-To-Get-A-GBV-Tour.png"  target="new">
   
       <img src="http://luke-woods.com/wp-content/uploads/2015/02/GBV-small-405x750.png" width=250 height=450 />
       ```
   
 * 2nd
 * <img src=”[http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg”width=250](http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg”width=250)
   height=120 />
 *  Thread Starter [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737723)
 * 2nd `<a href=”[http://luke-woods.com/google-earth-pro-free/&#8221](http://luke-woods.com/google-earth-pro-free/&#8221);
   target=”new”>
 * <img src=”[http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg”width=250](http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg”width=250)
   height=120 />`
 *  Moderator [Bet Hannon](https://wordpress.org/support/users/bethannon1/)
 * (@bethannon1)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737724)
 * Sorry to be dense. This is what I’m seeing: [http://easycaptures.com/7347201933](http://easycaptures.com/7347201933)
 * I’m not seeing any 2nd widget, no underlined title.
 * And I’m still not clear on what you are WANTING to have happen when someone clicks
   the image. Do you want it to pop up in a lightbox effect?
 *  [rcs.ctr](https://wordpress.org/support/users/rcsctr/)
 * (@rcsctr)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737726)
 * I don’t see the 2nd widget either……
 *  Thread Starter [Luke Woods 2](https://wordpress.org/support/users/luke-woods-2/)
 * (@luke-woods-2)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737727)
 * Hi, i can see the 2nd widget – (in fact its in 3rd place but 2nd text widget)
 * On this page (sorry but link and ul buttons not working)
    [http://luke-woods.com/reviews-drive-business/](http://luke-woods.com/reviews-drive-business/)
 * Subscribe
 * How It Works click to expand
 * Google Earth Pro Free
 * when i click on Google widget it calls the image in the first How it works widget…
 * I would like these widgets to work independatly
 * How it works infographic does go full screen if you click a 2nd time- i dont 
   know what a lightbox is but it would be great to go full screen on first click..
 * The code in How to widget
 *     ```
       <a href="http://luke-woods.com/wp-content/uploads/2015/02/How-To-Get-A-GBV-Tour.png"  target="new">
   
       <img src="http://luke-woods.com/wp-content/uploads/2015/02/GBV-small-405x750.png" width=250 height=450 />
       ```
   
 * Code in Google Earth widget
 *     ```
       <a href="http://luke-woods.com/google-earth-pro-free/" target="new">
   
       <img src="http://luke-woods.com/wp-content/uploads/2015/01/free-google-earth-pro.jpg"width=250 height=120 />
       ```
   
 * Can you see everything now? Sorry this is not straightforward and thanks for 
   your patience.
 * Best, Luke
 *  [rcs.ctr](https://wordpress.org/support/users/rcsctr/)
 * (@rcsctr)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737796)
 * Was this resolved on your part?

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

The topic ‘one text widget calling code from another’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [text widget](https://wordpress.org/support/topic-tag/text-widget/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [rcs.ctr](https://wordpress.org/support/users/rcsctr/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/one-text-widget-calling-code-from-another/#post-5737796)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
