Hey,
I would suggest using a plugin like this: https://wordpress.org/plugins/tablepress/
Then you can use the shortcode and place the same table on every page you want it.
Else if you would like to work in the php then I suggest using a child theme and overriding the the templates/content-page.php
Hope that helps,
Kadence Themes
I should have said post not page (though I would like it on any automated page as well!)
I am using Tablepress and the shortcodes work fine.
Where can I edit the page and posts php and what should I add?
If your using table press are you wanting to add the tablepress shortcode to every page/post but in the code and not in the page/post?
You can use a child theme: http://www.kadencethemes.com/child-themes/
Where on the page/post are you wanting this to happen? at the bottom or top?
Kadence Themes
At the top of every page/post underneath the heading.
Hey,
For that I would suggest just using a function in your child themes functions.php file:
add_action('kt_afterheader', 'custom_header_content');
function custom_header_content(){
echo '<div class="container custom-area">custom content</div>';
}
Kadence Themes