Title: Inserting custom code into post
Last modified: August 19, 2016

---

# Inserting custom code into post

 *  [quadmachine](https://wordpress.org/support/users/quadmachine/)
 * (@quadmachine)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/inserting-custom-code-into-post/)
 * I’m running a gallery on my WP install which is triggered when an ul with a certain
   ID apperars on the page. Since it would be awkward for the client to write HTML
   himself to trigger the gallery can I make it easier for them? The gallery would
   not appear on every single page, so it cannot be fully automatic, let’s say the
   code appears for some category only, or completely manually via click of a button?
 * Any ideas?
 * Cheers!

The topic ‘Inserting custom code into post’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [quadmachine](https://wordpress.org/support/users/quadmachine/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/inserting-custom-code-into-post/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
