Hello I got this function that lets the acitvity wall only displays posts. It works great on the activity page BUT when I go under reading options and diplay it as the front page the function wont work? It's displayed as static front page
Why?
Here is my code
<?php
function show_activity_update()
{
if(is_page('activity'))
{
echo '<style>ul#activity-stream li.groups , ul#activity-stream li.blogs , ul#activity-stream li.members , ul#activity-stream li.xprofile , ul#activity-stream li.friends {display:none;}</style>';
}
}
add_action('wp_head','show_activity_update');
?>