-
10,00 €Zum Produkt
-
10,00 €Zum Produkt
-
10,00 €Zum Produkt
-
10,00 €Zum Produkt
-
10,00 €Zum Produkt
/*
// Old Template loader (dynamic)
$cat_fancy_pageid = get_page_by_path($cat_slug)->ID;
$args = array(
'numberposts' => 1,
'include' => $cat_fancy_pageid,
'post_status' => 'publish,private,draft',
);
$my_posts = get_pages($args);
if( $my_posts ) {
echo do_shortcode($my_posts[0]->post_content) ;
}
else {
echo("Fehlercode 1001");
}
*/
// New placeholder Loader
$cat_fancy_pageid = get_page_by_path("static-catpage")->ID;
$args = array(
'numberposts' => 1,
'include' => $cat_fancy_pageid,
'post_status' => 'publish,private,draft',
);
$my_posts = get_pages($args);
if( $my_posts ) {
echo do_shortcode($my_posts[0]->post_content) ;
}
else {
echo("Fehlercode 1002");
}
?>