Search Results for 'in_array'

    No search results were found in Documentation!

Results from the Forum
Andrei L.
tagDiv Member

Hi

To achieve the same functionality for the footer the code it’s a bit different:

– you have to add the pages/posts ids in an array like here
$excluded_pages = array('id1','id2','id3');
– add this code in footer.php like here: http://screencast.com/t/3mTmBhAB84x7

$excluded_pages = array('id1','id2','id3');
$excluded_id = get_the_ID();
if (td_util::get_option('tds_footer') != 'no') {
if (!in_array($excluded_id, $excluded_pages)){
td_api_footer_template::_helper_show_footer();
}
}

The result should be like here: http://screencast.com/t/u6GIz1zRL
Thanks!

Viewing 1 results (of 1 total)