Hi James,
the code goes into a new line before the code ?> in the “functions.php”. That should be the current last line. If ?> is not present, just put my code from above in the last line.
Best wishes,
Tobias
Hello tobias, first thanxs for this excelent plugin.
Im from argentina, sorry for my regular english…
I probe both mp3 player plugin but dont works…
My functions.php file ends:
add_filter( ‘wp_table_reloaded_cell_content’, array( &$AudioPlayer, ‘processContent’ ), 2 );
add_filter( ‘wp_table_reloaded_cell_content’, ‘play_button_replace’ );
?>
my website is:
I dont see none of the 2… please help me. thanxs
hi again, now i try to use only “play-button” plugin, add the line in the functions.php file…
And dont works.
Paramedia
Hi,
did you really add this to the functions.php of the active theme? I don’t really see why this should not work…
Is the play-button plugin installed and activated?
And is the syntax of the Shortcode really correct (I don’t know what kind of Shortcode play-button expects, so you might want to check that)?
Does the Shortcode work outside of tables?
And another idea: Please turn off the “Table Output Caching” feature in WP-Table Reloaded, by unchecking the corresponding checkbox on your table’s “Edit” screen.
Regards,
Tobias
The shortcode works fine outside of the table, unchecking “table output chaching” doesnt works…
I probe changing theme and works fine… i dont know what is wrong
thanks anyway
Hi,
then the only explanation I have is that the functions.php is not evaluated properly.
And did you use exactly this?
add_filter( 'wp_table_reloaded_cell_content', 'play_button_replace' );
Regards,
Tobias
yes, exactly…
Only happends with one theme, with others works fine…
Thanks
Hi,
ah, ok. Then it must be some issue with that theme… I suggest that you contact its developer to find out why custom code in the functions.php does not work.
Best wishes,
Tobias