widget control

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #512
    nofrialdi
    Participant

    i need help, please,

    i try to set widget just show in home page, no in single page, i use widget controler, n i have try use widget logic too, when i set widget just show in home page, its work, but if one of widget not show in single page, i have the trouble, actualay the widget do not show, but the coloum is show with blank space, where is the problem


    sorry i wrong, i use widget controler and Widget Context before, and after change to widget logic it’s work :laugh:

    #1220
    Ivan Milic
    Participant

    Add this at bottom of wp-content/themes/wp_hot_destinations/js/theme.js

    jQuery(document).ready(function(){
    jQuery('.widget_advert1, .widget_advert2 , .widget_advert3 , .widget_advert4').each(function(){
    if( jQuery(this).text().replace(" ","") == "" )
    jQuery(this).remove();
    });
    })
    #1221
    nofrialdi
    Participant

    thxs for quick response

    but :S , i try insert the scrip in to theme js bottom, but dont work, i want to control all widget, so i easy to costum it, what should i do please

    i want all widget show in home page, but in post or page just limited widget what i chose,

    in demo i see, in post area, just have article, n some widget, how i can do that?

    thxs

    #1222
    milos
    Moderator

    Please try this. Edit file /wp_content/themes/wp_hot_destinations/part_upper.php.

    Please let me know if it works.

    Thanks,
    Milos

    #1223
    nofrialdi
    Participant

    thxs for give the point of part, but its dont work too, but i try to modify to:

    <?php
    $uppermodules = is_active_sidebar('') || is_active_sidebar('') || is_active_sidebar('') || is_active_sidebar('');
    if ($uppermodules) { ?>

    element is not show, but not show too in home page, i use widget controler, is i wrong use plugin for this ?

    #1224
    nofrialdi
    Participant

    ok it’s fixs, i just change plugin from widget controler , to widget logic, and insert “is_home()” ,
    I really thanks for this team, :laugh:

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.