Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

add a button on $qa_content['custom']= $html

+2 votes
asked Apr 18, 2017 in Plugins by Angel Daniel Valadez
hi, i want to add a custom button to edit the content of the data on the page, im using the $qa_content['custom']= $html; to show the info on the page.
Q2A version: 1.7.4
commented Apr 18, 2017 by JackSiro
your question is not clear on what data or rather what page
commented Apr 18, 2017 by Angel Daniel Valadez
Ok, i am making a page where i put info about some documentation (i use the page example plugin for this), i want to put a edit button so that when i click the button i get redirect to the editor with the info to edit, but i dont know whats the code to place a button on q2a script.
commented Apr 18, 2017 by Angel Daniel Valadez
the data is retrieved from my databaste with a sub query request

Please log in or register to answer this question.