Forums

Include php code into page (2 posts)

  1. leg0
    Member
    Posted 1 year ago #

    Hi! I'm kinda newbie with wordpress and i need to add the button into the table on the page. or just a link. kind of:
    Print this table

    is there any way to do this without creating custom php template for this page? cause i know u can't add php code in the "Edit page" section.
    still, if i'm using custom php template, how can i perform the including of this link into the table that is hardcoded in the "Edit page" section.
    Thanks and sry if it sounds little bit stupid :D

  2. leg0
    Member
    Posted 1 year ago #

    by the "Print this table" link i meant:

    <a class="print" onclick="window.print();return false;" href="#">Print this table</a>

Topic Closed

This topic has been closed to new replies.

About this Topic