Title: Help editing a custom theme
Last modified: August 28, 2026

---

# Help editing a custom theme

 *  [fpaulisch](https://wordpress.org/support/users/fpaulisch/)
 * (@fpaulisch)
 * [1 week ago](https://wordpress.org/support/topic/help-editing-a-custom-theme/)
 * I have a custom theme made for me but I don’t know how to do anything but minor
   editing of it.
   I want that when I click a particular button a pre-defined web
   page is shown.e.g. on the training part of my page _[ redundant link deleted ]_
   there are three columns, each with a “More Information” button. I want to be 
   able to change the page so that I can provide a URL for each of the “More Information”
   buttons in those three columns. But I have no idea how to edit this in PHP/CSS/
   JS. Any pointers on how to do this? or pointers to persons who can help me do
   that? Thanks so much!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-editing-a-custom-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Md Abdullah Al Arif](https://wordpress.org/support/users/faithcoder/)
 * (@faithcoder)
 * [1 week ago](https://wordpress.org/support/topic/help-editing-a-custom-theme/#post-19005780)
 * Hi,
 * I checked the site you shared. Currently it’s opening with a popup. The “More
   Information” element is currently a `<button>`, and it does not contain a URL
   or an `onclick` action. Therefore, clicking it cannot open another page by itself.
 * You can replace the `<button>` with an `<a>` element and add the required page
   URL through the `href` attribute:
 *     ```wp-block-code
       <a href="https://example.com/your-page/"
          class="inline-flex items-center gap-2 border border-white/25 px-4 py-2 font-mono text-[14px] uppercase tracking-[0.16em] text-[var(--warm-white)] transition-colors hover:bg-white/10">
           More information
       </a>
       ```
   
 * Replace `https://example.com/your-page/` with the actual destination URL. You
   can do this separately for each of the three “More Information” links.
 * However, if this HTML is generated by the custom theme rather than entered through
   the WordPress editor, the relevant theme template will need to be modified. Ideally,
   the theme developer should add an editable URL field for each column so you can
   manage these links from the WordPress dashboard without changing the code each
   time.
 * Please create a backup before editing any theme files, and use a child theme 
   so future theme updates do not overwrite the changes.
   Regards

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-editing-a-custom-theme%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 3 participants
 * Last reply from: [Md Abdullah Al Arif](https://wordpress.org/support/users/faithcoder/)
 * Last activity: [1 week ago](https://wordpress.org/support/topic/help-editing-a-custom-theme/#post-19005780)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
