2020-05-13, 05:33:39
Hi,
When I deactivate the plugins ItemManager and IM Extra Fields,
and
remove this code on the template file:
then
<?php get_page_content(); ?>
outputs again it's content
Is this normal behaviour ?
When I deactivate the plugins ItemManager and IM Extra Fields,
and
remove this code on the template file:
Code:
<?php
$imanager = imanager();
$itemMapper = $imanager->getItemMapper();
// Loading content for the home page
$itemMapper->init(1); // 1 is the home-category and holds the home-item
$items = $itemMapper->items;
$home_item = $itemMapper->getItem('name=home-item');
?>
then
<?php get_page_content(); ?>
outputs again it's content
Is this normal behaviour ?