• Resolved bidak

    (@bidak)


    I developed the search and category widgets and these work quite on localhost but are not displayed on the shared host/server. I also changed the PHP version of the host, but it did not work.
    What could be the reasons for these problems?

    • This topic was modified 3 years, 3 months ago by bidak.
    • This topic was modified 3 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You’d need to do basic debugging. Define WP_DEBUG as true in wp-config.php. If no error messages appear, start adding debug output into your widget to narrow down the cause. Start by simply outputting a message like “Hello world!” to verify that your widget method is even called. Based on that result, work backwards or forwards to isolate the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Widgets are not displayed’ is closed to new replies.