Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Warnings????

    I’m having the same exact problem but I actually want to use Amazon Tools so deactivating it is not an option.

    I am only getting these 2 errors:

    Warning: Invalid argument supplied for foreach() in /home/warren/public_html/wp-content/plugins/amazon-tools/metabox.php on line 75

    Warning: Invalid argument supplied for foreach() in /home/warren/public_html/wp-content/plugins/amazon-tools/metabox.php on line 40

    Any ideas?

    Here is what I’ve done to organize my categories in my subnav bar:

    In header.php find this or something similar to it:

    <?php wp_list_categories('orderby=name&title_li=&depth=4'); ?>

    Now replace “name” with “slug”

    Now when you create your categories you use numbers to create the slugs for them. For instance, on my page ( you can see on https://sdhumanist.org ) my slug for News is 1news. Slug for events is 2events and so on.

    Hope that helped!

Viewing 2 replies - 1 through 2 (of 2 total)