[Plugin: WP-Table Reloaded] : Custom Field as ID
-
Hey Hi!
First of all, super plugin you just save the life of thousands of Users ??
..
Well I would like to know if it’s possible to add an custom field that add the Table ID to the post …
I’m newbie in this of PHP but I trying to add a custum field in Function.php that add this option…
I’m trying:
function spec_id($key) { global $post; $custom_field = get_post_meta($post->ID, $key, true); if($custom_field){ echo '<?php wp_table_reloaded_print_table("id= '.$custom_field.'&use_tablesorter=false&print_name=false&datatables_info=false&datatables_paginate=false"); ?>'; } else { return; } }
obviously , this doesn’t work :))
Is there a way to solve this?
also , how do I add the PDF property as in your site tobias?
Well in advance thanks, and again great plug in.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP-Table Reloaded] : Custom Field as ID’ is closed to new replies.