0
Welcome Guest! Login
0 items Join Now

Override - how to not have a widget appear in one?

  • Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Hi there,
      I'm sorry if this is a really dumb question, and I've tried to search but apparently am not using the right terms.

      I've used Gantry for Joomla for awhile, but this is my first time using it in WordPress, and it seems to be a somewhat different animal.

      I've got a showcase that appears on my homepage, but I don't want it appearing on my internal pages. But I'm having difficulty figuring out how to set up my override theme to not have this one area appear. I'm sure it's something simple, and I'm going to just kick myself when I get the answer, but right now I'm just kinda tearing my hair out. Plus, the theme author seems to have disappeared (even the theme itself just got removed from ThemeForest) so trying to get assistance there has proven less than useful.

      Thanks in advance.

      ~Laura
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Hi, go into the override, find the widget position (showcase in this example), check the override box, then just remove the widget. Leave the box checked so you're telling the override to not have anything in that position.

      Make sense? Let me know if you have questions.

      Generally speaking, it would be better to set up an override for the front page itself rather than using that layout as the default. Use the default settings widget screen for the configuration that appears on most of your pages - then create overrides to adjust the rest. It's usually a lot less work that way. Just a tip.
    • The difficult we do immediately, the impossible takes a little longer.
    • Mr Jefferson's Avatar
    • Mr Jefferson
    • Sr. Rocketeer
    • Posts: 116
    • Thanks: 1
    • Teacher of Mathematics & ICT

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • After a search, it seems as though I'm in the same situation at the OP. I have watched the override video a few times and tried to follow what you said, but something is missing as I'm obviously not hitting the correct settings.

      I've created a new override. I selected the front page in assignments. I pressed the widget button, selected the tick box on showcase, then dragged the widget out.

      The showcase is still visible on all pages and posts. What else do I need to do please?
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Hi, what assignments did you make? Try using both the home page and front page template types - as well as the menu item. Sometimes only making one of those assignments isn't enough for WordPress to figure it out for some reason.
    • The difficult we do immediately, the impossible takes a little longer.
    • Mr Jefferson's Avatar
    • Mr Jefferson
    • Sr. Rocketeer
    • Posts: 116
    • Thanks: 1
    • Teacher of Mathematics & ICT

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • I've now selected the home page too and I can see a difference now. Now the showcase appears everywhere except the homepage!

      So to get this to work it looks like I can select all the other pages instead, but what needs to be done if I wanted to follow the tip you gave?
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Not sure I understand what you're asking.

      If you followed the steps given, and the assignment was wrong - you won't see the change. If you fixed the assignment and now it works, what exactly is the issue? Please clarify what you're trying to do and the steps you have taken.
    • The difficult we do immediately, the impossible takes a little longer.
    • Mr Jefferson's Avatar
    • Mr Jefferson
    • Sr. Rocketeer
    • Posts: 116
    • Thanks: 1
    • Teacher of Mathematics & ICT

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Cliff Pfeifer wrote:
      Generally speaking, it would be better to set up an override for the front page itself rather than using that layout as the default. Use the default settings widget screen for the configuration that appears on most of your pages - then create overrides to adjust the rest. It's usually a lot less work that way. Just a tip.

      Yes, it is working and therefore no issue as you put it... but you gave the tip above which I wanted to try and follow.

      I have selected all template page types except frontpage & homepage in assignments. From the tip quoted above it is suggested that this isn't the best method. I was just trying to follow what the better method would be.
    • Mr Jefferson's Avatar
    • Mr Jefferson
    • Sr. Rocketeer
    • Posts: 116
    • Thanks: 1
    • Teacher of Mathematics & ICT

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • After re-reading what I quoted, I've finally understood what you mean't.

      I removed the RokSprocket widget from the showcase in the main widgets section of the wordpress dashboard, then in theme options used assignments for only frontpage and homepage, clicking on widgets and selecting showcase then adding the widget.

      All good now, thanks. 8)
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Override - how to not have a widget appear in one?

    Posted 12 years 4 months ago
    • Hi, sounds like you figured it out.

      Best practice is to place the widgets that will appear on the most pages in your default settings, then use overrides for the pages that are different. Meaning, if a widget only appears on one page, it should appear on an override, not in the default widgets.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.058 seconds