Title: Pulling specific &#039;Div&#039; using widget
Last modified: August 30, 2016

---

# Pulling specific 'Div' using widget

 *  [nib_star](https://wordpress.org/support/users/nib_star/)
 * (@nib_star)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/)
 * I want to pull a specific div from one of my pages, and embed it into a sidebar
   widget so I can post this widget on multiple pages.. Any suggestion how this 
   may be accomplished?
 * Thanks

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

 *  [Adeline](https://wordpress.org/support/users/adeline/)
 * (@adeline)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837083)
 * Under Appearance / Widgets, select a ‘Text’ widget where you can copy and paste
   your selected div then add this text box under Sidebar (active) that you’ll like
   to appear on your site.
 *  Thread Starter [nib_star](https://wordpress.org/support/users/nib_star/)
 * (@nib_star)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837123)
 * Yeah that’s the easy way and the last resort, but what I have is something slightly
   different. I want to be able to edit everything on page editor using ‘user friendly’
   tools (divi builder) and not mess around with the code.. I was thinking maybe
   some ‘PHP code’ that calls/gets that specific DIV which I can insert into that
   TXT widget.. any suggestions?
 * If it was for me, Id do the copy/paste div code, but this is for someone who 
   does not know too much editing.. want to make it as simple as possible for them
   to update the site in the future..
 *  [Adeline](https://wordpress.org/support/users/adeline/)
 * (@adeline)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837133)
 * Oh I see, in that case I would suggest contacting the theme creator for support.
 *  Thread Starter [nib_star](https://wordpress.org/support/users/nib_star/)
 * (@nib_star)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837140)
 * I dont think it has anything to do with the creators of the theme, no disrespect..
   But more of a general PHP code problem.. all I need to do is pull that line of
   code using a scrip 😮
 *  [Adeline](https://wordpress.org/support/users/adeline/)
 * (@adeline)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837182)
 * No offence taken 🙂
 * Since you’re after a PHP solution try asking in Stack Overflow?
 * I’ll be interested in finding out your solution too.
 *  Thread Starter [nib_star](https://wordpress.org/support/users/nib_star/)
 * (@nib_star)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837199)
 * Hey, thanks for the tip!

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

The topic ‘Pulling specific 'Div' using widget’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [nib_star](https://wordpress.org/support/users/nib_star/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/pulling-specific-div-using-widget/#post-6837199)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
