Ok, solved Problem with an , obvious very big Workaround …
open simple-raider.php
go to
After insert
// Slug to ID functions
function get_post_slug($post_parent = false){
global $post; // WordPress global $post
if($post_parent){
$parent = get_post($post_parent, OBJECT); // get the post data.
$slug = $parent->post_name; // get the post_name/slug
}else{
$slug = $post->post_name; // if not a post_parent the post_name/slug for the current page will already be accessible.
};
return $slug;
};
function get_ID_by_slug($page_slug) {
$page = get_page_by_path($page_slug);
if ($page) {
return $page->ID;
} else {
return null;
}
}
// Slug to ID Functions
then look out for the line
if($t['page_id'] != get_option('sr_option_display_page_id','-1'))
Add before
$kte = get_post_slug();
$ktf = get_ID_by_slug($kte);
and replace the line itself with
if($t['page_id'] || $ktf != get_option('sr_option_display_page_id','-1'))
Evoila Working Script with Slugs & IDs ( Tested in WP 3.0! )
Greetings NuLLi