Featured Image and Tags problem

For adding the ID at the end of the URL being generated in yout filter_post_thumbnail function you would use concatenation to append the variable to the end of the URL in the return statement. return'<img src=”https://eur02b.sheltermanager.com/service?account=bp****&method=animal_image&animalid=”‘ . $animalID_REF . ‘”/>’; Also you’ll need to upload the image to the media library and then set it … Read more

Warning at top of website & top menu gone

This function, call_user_func_array() is called by add_filter() (or add_action()) that was not declared properly. Scan the code for something like: add_filter(‘something’, ‘smartwp_remove_wp_block_library_css’) to find the culprit. If you do find it and it wasn’t something you added/changed, you will have to troubleshoot to determine why this function was not declared/found. The top menu is still … Read more

Include widget file in functions.php of child theme

Okay, so after a couple of days pulling my hair out, I finally realized that I needed to add the following line, after the require_once line in functions.php: add_action(‘widgets_init’, ‘wpb_load_widget’); … and everything then worked perfectly. (where wpb_load_widget is the name of my register-widget function in the widget file itself.)