WordPress.org

Ready to get started?Download WordPress

Forums

main site issue (6 posts)

  1. Miroslav Glavić
    Member
    Posted 10 months ago #

    So I decided to take the multisite route for one of my sites.

    I am doing sub-directories.

    The site is like a sports league.

    Different cities across Canada.

    sportsleaguesite.com/vancouver
    sportsleaguesite.com/toronto
    sportsleaguesite.com/ottawa
    sportsleaguesite.com/halifax

    and so forth, obviously sportsleaguesite.com is not the real domain.

    I want to put on the main site sportsleaguesite.com, a clickable map where you click vancouver/toronto/ottawa/halifax and it goes to sportsleaguesite.com/cityyouclickedon.

    Each city will be independent, I just mantain the site, each city admin will blog/upload pics/etc... on their own city sub-directory.

    At first I wanted to just add a index.html site with an image map and have it done the sub-directories manually with their own WP installation but that would of been a lot more stress than I want/need.

    All I want on the main site is the png map and clickable cities. I can do the image map thing easily. How do I do it so no header/menu/sidebars appear and just the clickable map?

    Would the easiest thing be to look for a minimalistic map with no sidebars? or something else?

  2. Paul Barthmaier
    Contributor Day Volunteer
    Posted 10 months ago #

    In your child theme for the main site, you can create a file called home.php and just call the map, like don't add get_header(), get_sidebar(), or get_footer().

  3. Miroslav Glavić
    Member
    Posted 10 months ago #

    I installed WordPress
    I turned on Multisite
    I have Akismet
    I deleted Hello Dolly
    I have 2013 theme.

    I havent even added other cities yet, or if I am going to let each city have it's own theme or just have all cities same theme, with just the logo for each city different.

  4. Honestly, none of this is a Multisite question. It's a theme question.

    Forget Multisite :) What you're really asking is this:

    How do I make my front page be just a clickable map without any headers and sidebars?

    And that would be "You style your front-page.php file to not have them."

    Or use a page template with the code, and make that the template for the page you pick as your front page :)

    If you need more help with that, I can move this to the theme forum where people would have better answers. I'm only good at tweaking and fixing themes, not really writing them from the ground up.

  5. Miroslav Glavić
    Member
    Posted 10 months ago #

    For a second I was hoping that Multisite would have a "remove headers/menus/sidebars/footers" feature. Hence here. however please do move it to the theme section. Thank you. You are totally awesome.

  6. Moved. Remember, multisite is just WordPress on drugs ;) Very little is different between multi and single when it comes to themes.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.