[SOLVED] wp_list_categories accepts no parameters
Hi,
ID=1 is my test-ID for this HTML Code:
<?php wp_list_categories('show_count=0&use_desc_for_title=0&child_of=1'); ?> * Categories > Testcategory >>Name 1 >>Name 2 Only the names should show, obviously. And not only this. Also, none of the other parameters that should be possible seem to work. I am puzzled. My goal: I've been looking for a way to include several authors for each post/article if necessary. Since I was unable to handle the famous Co-Authors-Plugin (the php-code would not work in Montezuma and get partially display the page of a post), I thought I could just include Authors in my categories. I managed to do that with Atahualpa, but with Montezuma, I seem unable to. What am I doing wrong? |
where are you using this?
do an export of yout montezuma settings and attach to a response (MTO->Export/Import) |
1 Attachment(s)
Thank you for your answer. See attachment:
|
you need to use the array format for the options, so instead of using
HTML Code:
<?php wp_list_categories('show_count=0&use_desc_for_title=0&child_of=1'); ?> HTML Code:
<?php wp_list_categories(array( |
Great, it worked. Thank you.
That is the second time you helped me (my last question being several years old, but nonetheless)! |
All times are GMT -6. The time now is 03:14 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.