Title: Shortcode modification
Last modified: August 20, 2016

---

# Shortcode modification

 *  [Trobee](https://wordpress.org/support/users/trobee/)
 * (@trobee)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/shortcode-modification/)
 * Hi all,
 * I am currently trying to edit a shortcode so that you can provide a site id and
   it will return the requested object from the provided site id when using a multisite
   wordpress install. However, due to my lack of php knowledge Iam not sure how 
   to change what site the code will use. If anyone could provide any help or point
   me to a different shortcode that does something similar I could look at, it would
   be very helpful.
 * This is the code I have so far
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Trobee](https://wordpress.org/support/users/trobee/)
 * (@trobee)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/shortcode-modification/#post-2355324)
 * [Here is the code](http://pastebin.com/K1XB1BAs)

Viewing 1 replies (of 1 total)

The topic ‘Shortcode modification’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Trobee](https://wordpress.org/support/users/trobee/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/shortcode-modification/#post-2355324)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
