WordPress.org

Forums

Widget Context
Not working (3 posts)

  1. mpineault
    Member
    Posted 3 years ago #

    Using the latest version of wordpress and I try a simple
    target url: mobile
    which is a page and it doesn't work.

    I am running this locally through MAMP with the url under:

    localhost:8888/project/production/ (root wordpress)
    localhost:8888/project/production/mobile (page url)

    any advice?

  2. Kaspars
    Member
    Plugin Author

    Posted 3 years ago #

    This is a known bug. You should replace all instances of

    $_SERVER["SERVER_NAME"]

    with

    $_SERVER["HTTP_HOST"]

    in widget-context.php

  3. beggers
    Member
    Posted 3 years ago #

    Kaspars,

    We need a fix for this issue:

    http://wordpress.org/support/topic/widget-context-php-errors?replies=1

    When I turn on debug, this plugin generates about 2 meg of error messages like this:

    [21-Aug-2011 10:38:39] PHP Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /var/www/vhosts/vegasnews.com/httpdocs/wp-includes/functions.php on line 3382

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Widget Context
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic