Category template

Posted in: Newspaper
Post count: 25

Hi, i am trying to understand what the differences between “self” and “parent” are.

<?php echo parent::get_sibling_categories(array(
‘show_background_color’ => true
));
?>

AND

<?php echo self::get_sibling_categories(array(
‘show_background_color’ => true
));
?>

I can´t see any differences.
Please help.

Best regard
Sebastian

Post count: 20688
Post count: 25

Ok… thank you.
But when i change anything, i do not see any differences.
What ist the differences between “self” and “parent” in the category template?

Thanks

Post count: 20688

Hi,

I don’t understand why would you want to change that, or what the purpose would be. That is pretty advanced coding and everything has a meaning, best you do not modify it unless you know what you are doing.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.