I did yes. I can’t see any clear information on which functions do what. For example if I only want sites of a certain category to be listed.
Maybe I’m missing something? I spent the best part of a day trying to figure it out. I’m not a PHP expert but I thought I knew enough.
Unfair of me to mark your plugin down perhaps. But would be nice if there was a couple of examples which you would use within a page template.
If I call the function get_site_directory_logo for example, within a page temple all I get returned is the logo for the main site (id 1).
If I use the widget I get a list of all site – which is great but I need to be able to only list certain categories on certain pages. Also you mention creating 2 files –
* archive-network_directory.php
* taxonomy-subsite_category.php
Are these page templates? Again a bit more explanation would go a long way i.e. What comments do they need at the head of the file, in order for wordpress to override the index.php / taxonomy.php? At the moment as a widget they appear on every page.
I know a lot of people using this plugin are probably experts, but would be nice for some extra explanation of us lesser mortals…
-
This reply was modified 6 years, 8 months ago by PaulBart1974.
-
This reply was modified 6 years, 8 months ago by PaulBart1974.