• Resolved dylanadams

    (@dylanadams)


    Hello,
    I was wondering if its possible to simply add an html button into this layout. I don’t want to change anything else, I only want to Add a button. It would be GREATLY appreciated if someone can show me the easiest way to do this. I understand there is a small section on extending the plugin but that completely wipes out all the existing html. I just want to add an element not remove anything. Thank you for your time!
    -Dylan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Gareth

    (@catapult_themes)

    Hi Dylan

    If you’re trying to add an element to the main page content, you can use the_content filter. Just make sure you return a value for $content as well to ensure no content is removed.

    Gareth

    Thread Starter dylanadams

    (@dylanadams)

    Sorry I’m pretty new to WP dev so bare with me. Just to confirm we are talking about a single-discussion page. Would you possible be able to provide a snippet of code that would generate an HTML button into this layout?

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

The topic ‘Adding Simple Button in Single-Discussion-Topic’ is closed to new replies.