Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Steve Petcu

    (@steve-petcu)

    Thanks, you led me to discover the source of the error.

    The file’s in wp-content/themes/minamaze/lib/widgets/tagscloud.php
    I renamed it (could’ve sworn I’d already tried this, but it did work this time) and this led me to a different error, which I tracked to this line of code I’d added to my child theme’s functions file:
    include_once( get_stylesheet_directory() . '/lib/widgets/tagscloud.php' ); – added it a while back when I was trying to overwrite the widget with a custom one which would have some arguments (to display the most popular tags in desc order w/ a limit of 20). I didn’t manage to do that, as I understand overwriting widgets is a bit trickier, and that line of code didn’t seem to do anything, so I guess I forgot to remove it.

    It’s still a little confusing – why did I have to rename the widget in the parent, when I see that get_stylesheet_directory() returns the path to my child theme. What’s more, renaming the child theme’s folder to lib(backup) didn’t do anything.

    Also, the widget wasn’t even in my sidebar anymore when I logged back in. (I did use unregister_widget( 'thinkup_widget_tagscloud' ) in an effort to fix it earlier, so maybe that’s why?)

    Anyway, thanks!

Viewing 1 replies (of 1 total)