WordPress.org

Ready to get started?Download WordPress

Forums

Is there a plugin for... (7 posts)

  1. gregdoggle
    Member
    Posted 3 years ago #

    sort of inserting a static space on the home page.

    I have a featured content gallery, then my posts...but I want a "space" below the gallery but before the posts - sort of like a widget "in the page" but only on the homepage...

  2. e-sushi
    Member
    Posted 3 years ago #

    You can add a widget area to home.php and from the backend add content to a text-widget or something.

    Simply add a widget area. The docs will tell you how to do that.

  3. esmi
    Forum Moderator
    Posted 3 years ago #

    You can add a widget area to home.php

    No decent theme should be using a home.php template file. In most case, you'll want to widgetize index.php or front-page.php.

  4. e-sushi
    Member
    Posted 3 years ago #

    @esmi: Erm, say what?

    No decent theme should be using a home.php template file.

    Where did you get that one from? That's like saying "no decent theme should use all available template options".

    It's there for a purpose, so let's use the template option what it has been made for!

    Unless you expect non-savy people to go learn PHP that is so they don't mess up their complete theme - that would be mean!

    Last but not least: the home.php offers the easiest option to add a "home page only" widget area instead of a theme-wide widget area!

    Pfft... so much for "theme diva". Yeah, right!

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    Where did you get that one from?

    Since WP 3.0 introduced the front-page.php template. Plus I've also had to help quite a few users sort out problems that were either directly, or indirectly, by the presence of a home.php template file in their theme.

    home.php was a way around the fact that earlier version of WP didn't offer the ability to have a static front page. as such, it hasn't been used for quite a few version. Do keep up...

    Unless you expect non-savy people to go learn PHP that is so they don't mess up their complete theme - that would be mean!

    Uh! It doesn't matter what the the file is called. Most non-savy are just as comfortable (or not) editing an index.php file as a home.php file.

    Last but not least: the home.php offers the easiest option to add a "home page only" widget area instead of a theme-wide widget area!

    Rubbish! Go read up on front-page.php. Or learn how to create custom page templates that can be applied at will - even to home pages.

    And one final note:

    We reserve the right to delete topics or posts that are off-topic or detrimental to the community.

    http://codex.wordpress.org/Forum_Welcome

  6. gregdoggle
    Member
    Posted 3 years ago #

    Thanks guys, I don't know how to widgetize however...lol

  7. kill-switch413
    Member
    Posted 3 years ago #

    Really depends on how the user would like to use the page. Not everyone is going to want a home.php or a front-page.php. To each is own.

    To widgetize please see this link for a deeper look.
    CODEX Widgetizing Themes

    Basically to add a widget you'll ahve to amke a few changes to your theme (if it's not already done so). See if it's available please go to your Dashboard, and select Appearance, then widgets.

    Simple drag the type of widget you want over to your sidebar.

    IF you do not see an option then you'll needs to add that function to wordpress (which is very easy). Let us know...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.