If shortcodes are not possible and you need a “php snippet” that means someone has to program something to achieve this.
Of course you can hire a programmer to do this for you based in source code of Timed Content. However I can not provide such a thing for free and don’t have time at the moment to do individual programming tasks.
-
This reply was modified 4 years, 1 month ago by
Arno Welzel.
Hello,
Thank you for your answer.
I saw that it is possible to use action hooks in PHP with the plugin, that is why I thought it is easy to do so.
So using the hooks below it is possible?
I meant this:
add_action( “timed_content_server_show”, “{function_name}”, {priority_level}, 4 );
`$post_id – the ID of the currently displayed Post/Page
$show – the value of the show attribute. If not set, defaults to “1970-Jan-01 00:00:00 +000”
$hide – the value of the hide attribute. If not set, defaults to “2038-Jan-19 03:14:07 +000”
$content – The content enclosed by the shortcode
-
This reply was modified 4 years, 1 month ago by
lpburny.
No – hooks are used when the shortcode is executed.
This hook is called before the shortcode is about to show something. But this still requires the shortcode to work. Without the ability to use shortcodes the hook won’t help you.