• Resolved judynight

    (@judynight)


    My website is 210restaurant.com.
    I’d like the Facebook events sidebar to only appear on the home page.
    I’ve tried various methods and none seem to work.

    I’d also like the 210restaurant.com/music-calendar to have full width events and I’m not sure how to change the array to make that happen.

    I’m also

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    I’d like the Facebook events sidebar to only appear on the home page

    – Are you using a plugin for this “Facebook events” feature? Yes? Which plugin? Where did you download it from?
    – Is this a feature of your active theme? Yes? What’s the name of this theme? Where did you download it from?
    https://codex.www.ads-software.com/Forum_Welcome#Include_as_Much_Information_as_Possible

    I’ve tried various methods and none seem to work.

    which ones exactly?
    what were the results?

    for example, have you tried to work with a ‘conditional widget’ plugin or similar, like the ‘Widget Visibility’ of the jetpack plugin?

    Thread Starter judynight

    (@judynight)

    Thank you so much for your responses!!
    Tara:
    – Are you using a plugin for this “Facebook events” feature? Yes? Which plugin? Where did you download it from?
    I’m using Facebook Events Importer plugin. Downloaded from within WordPress.

    – Is this a feature of your active theme? Yes? What’s the name of this theme? Where did you download it from?
    No it’s not from the them but from the plugin

    ——————-
    I’ve tried various methods and none seem to work.
    which ones exactly?
    what were the results?
    for example, have you tried to work with a ‘conditional widget’ plugin or similar, like the ‘Widget Visibility’ of the jetpack plugin?

    I put this in my sidebar.php:
    <!– judyshatkin adding code to have sidebar only on front page –>
    <?php if (!is_front_page()) {
    get_sidebar();
    } ?>
    Nothing happened to my sidebars.

    I tried putting this in the sidebar.php:
    <!– judyshatkin adding code to have sidebar only on front page –>

    .private-events #page #id_left_sidebar {
    display: none;
    }

    .private-events #page #id_content {
    width: 100%;
    }
    .home #page #id_left_sidebar {
    display: 50%;
    }

    .home #page #id_content {
    width: 50%;
    }

    But it’s showing up as text. What am I getting wrong with my comment?

    Moderator t-p

    (@t-p)

    I recommend asking in this plugin’s dedicated support sub-forum for better results so its developers and users can help you with this:
    https://www.ads-software.com/support/plugin/facebook-events-importer

    Thread Starter judynight

    (@judynight)

    That makes sense. I think I tried to ask before with no response, but maybe it will work better now that I have (a little bit) more experience.
    Thank you!

    Thread Starter judynight

    (@judynight)

    But what am I doing wrong with my comment???

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to have sidebar only on first page’ is closed to new replies.