I'm testing that this button works with a simple function before trying to write a more complex one.It's not working and I don't know what I missed. Here is the on page code: Code: <a role="button" href="?action=check_button" class="add-role">TEST</a> Here is what I added in the theme function file:
onpage php in WordPress
3
I'm testing that this button works with a simple function before trying to write a more complex one.It's not working and I don't know what I missed.
Here is the on page code:
Here is what I added in the theme function file:
Here is the on page code:
Code:
<a role="button" href="?action=check_button" class="add-role">TEST</a>
Code:
function check_button() {
echo 'This button is being worked on';
} - WebMarketingTool
- [ 1 ] Thanks
- rhinocl
- [1] reply
- WebMarketingTool
- [ 1 ] Thanks
Next Topics on Trending Feed
-
3