Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #15421

    Hi,

    I am having a problem with extra widget areas, that are not showing up in a specific categorie I definded.

    This problem ist described in this unsolved topic, and when I bumped it a few days ago someone closed the topic :-)

    http://www.kriesi.at/support/topic/extra-widget-areas-for-specific-categories-not-working.

    Maybe someone can help?

    Regards,

    Boris

    #87441

    In addition the the posted problem I would like to ask, if it is possible to give the posts more space in width in the categories, even if I am using two or three colums on the frontpage. Is it true, that this would afford major coding?

    Best Boris

    #87442

    Hi,

    Please tell us what category, which widget, on what page doesn’t show up and where the widget area is located on that page. Does this occur on just a single category page? Sequentially, is it the first, middle, or last category you’ve entered when compared to other categories?

    Unfortunately, the old post tells us very little except that the support team member never got access to investigate the phenomenon, so it remains a mystery. However please provide us with some more details, and please be as specific as you can about when, how, where this occurs, and whether its consistent or random.

    Thanks,

    Nick

    #87443

    Hi Nick,

    maybe it is the easiest way, to give you adminaccess. Let me know your emailadress and I send you the logindata.

    At the moment I don’t have it setup, but this is the story:

    - A Textwidget displays in any category (left or right sidebar) except “Kletterbericht” (and it does not show up anywhere else either, as described in the helpfile (bug) )

    - Kletterbericht is the first category I added.

    Boris (www.kletterbericht.de)

    #87444

    Hi Boris,

    My email is usjahm[at]gmail.com. I will look at it. When did you install wordpress approximately, and at what version originally? If you are not on shared hosting can you setup a limited ftp account please for that wordpress installation. If you can’t, that’s fine also.

    Thanks,

    Nick

    #87445

    Allright, I sent a mail. Got it?

    #87446

    Hi Boris,

    I received your email and I perfectly understand. Someone will be with you asap!

    Thanks,

    Nick

    #87447

    Hey!

    Please send the login data to: (Email address hidden if logged out) – I’ll try to find the problem.

    Regards,

    Peter

    #87448

    Mail is sent.

    #87449

    I’ve tagged the topic so Peter has it in his personal queue as well :)

    Regards,

    Devin

    #87450

    I fixed the issue – for anyone else benefit: open up newscastframeworkhelper_functionslots_of_small_helpers.php and replace:

    ##################################################################
    # check if the current page has a custom widget and set a global
    # var if that the case
    ##################################################################
    function check_custom_widget()
    {
    global $custom_widget_area, $k_option;
    //special widget area
    $specialpage = explode(',',$k_option['includes']['multi_widget_final']);
    $specialcat = explode(',',$k_option['includes']['multi_widget_cat_final']);

    if(is_page($specialpage))
    {
    $custom_widget_area = get_the_title();
    }
    else if(is_category($specialcat) || ($k_option['includes']['single_post_multi_widget_cat'] != 2 && in_category($specialcat)))
    {
    $custom_widget_area = get_the_category();
    $custom_widget_area = $custom_widget_area[0]->cat_name;
    }

    }
    add_action('wp_head', 'check_custom_widget');

    with:

    ##################################################################
    # check if the current page has a custom widget and set a global
    # var if that the case
    ##################################################################
    function check_custom_widget()
    {
    global $custom_widget_area, $k_option;
    //special widget area
    $specialpage = explode(',',$k_option['includes']['multi_widget_final']);
    $specialcats = explode(',',$k_option['includes']['multi_widget_cat_final']);

    if(is_page($specialpage))
    {
    $custom_widget_area = get_the_title();
    }

    foreach ($specialcats as $specialcat)
    {
    if ( is_archive() && is_category($specialcat) )
    {
    $cat = get_category( get_query_var( 'cat' ) );
    $custom_widget_area = $cat->name;
    }
    else if( is_single() && (is_category($specialcat) || ($k_option['includes']['single_post_multi_widget_cat'] != 2 && in_category($specialcat))) )
    {
    $custom_widget_area = get_the_category();
    $custom_widget_area = $custom_widget_area[0]->cat_name;
    }
    }

    }
    add_action('wp_head', 'check_custom_widget');

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Extra widget for a specific category is not showing up’ is closed to new replies.