A A A

Please consider registering
guest

Log In Register

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Adding Categories and other Widgets to your home page
December 18, 2008
9:17 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

To select which widgets appear on your site such as "categories", "calendar", "tags", or any other widget to appear on your website, first log into your Wordpress administration area and click on the "Design" tab, and then click "Widgets".  (In Wordpress version 2.7, click on "Appearance", then on "Editor".)

Simply select the widgets you want to add and then click on "Save Changes".

To make these widgets appear on your main index page, make the following changes.

Open the Main Index Template file “index.php”.

Scroll all the way to the bottom and find the lines:

  <?php endwhile; ?>
</div>
<?php get_footer(); ?>

 Immediately above the “</div>” line, enter ”<?php get_sidebar(); ?>”.  It should now look like this:

  <?php endwhile; ?>
<div class='widgetcase'>
    <ul>
      <?php if ( !function_exists('dynamic_sidebar')
        || !dynamic_sidebar() ) : ?>
      <?php endif; ?>
    </ul>
  </div>
  <div style='clear: both'></div>
</div>
<?php get_footer(); ?>

Save your file.

January 16, 2009
1:45 am
Member
Forum Posts: 21
Member Since:
January 13, 2009
Offline

Do you know how to get rid of the uncategorized category? I tried just changing this category name to "new" and putting it under Products and that messed up the blog post on the home page. I am using a widget (per your instructions above) and it works great, other then, it is showing the category "uncategorized", which I wish I could make private or not show as a category, as I intend to put nothing in that category. Please let me know. Thanks.

January 16, 2009
4:36 am
Member
Forum Posts: 11
Member Since:
January 15, 2009
Offline

Apparently, this has been resolved with Version 3.3

Just use the widgets off the rack.

January 16, 2009
1:23 pm
Member
Forum Posts: 21
Member Since:
January 13, 2009
Offline

Fendi, sorry to be naive on this, I know what widgets are how to install them and use them. What does "use Widgets off the rack" mean? Please clarify. Appreciate it. BTW, I do have all latest installed and it is still showing that uncategorized category. (cannot actually remove this category). I'm thinking of just naming it something else, but again, it shows up when using the Widget for Category. Thanks for your help on this.

January 16, 2009
2:51 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

Hi Jennifer,

All you really have to do usually, is just not have any posts in the "uncategorized" category.  My guess is that you still have a post in that category.  Change it, and the category won't show anymore.

As far as widgets go, under your "design" or "appearance" tab, you'll see a "widgets" tab.  In that area, is where you add widgets to your site.  (Think of a widget like a "lego" building block.)  A widget is a "module" that does a specific purpose.

Such as a calendar, a category list, a tag cloud, links area, search bar, and other stuff. 

Feel free to add some of them to your site and explore them.  If you don't like them, just remove them.

For the Categories widget, I like to edit it so that it shows the links in a hierarchy.

January 16, 2009
5:33 pm
Member
Forum Posts: 21
Member Since:
January 13, 2009
Offline

The original welcome default post, that comes with theme, was set to the category of "uncategorized" by default.

When I changed the post to the category of "products", my posting was gone from home page. So that will not work.

I was able to change the "uncategorized" name to "Store Home" as a temporary work around.

So it seems the original posting is forced to be in whatever category was originally in word press by default.

January 16, 2009
7:01 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

Just delete the original welcome post.  You don't need it anyway. 

If you chang the post category to "products", then it's not supposed to show up in the standard blog post area.  Any post that chooses the "products" category will be handled differently than regular blog posts.

For regular blog type posts, you will need to put it in SOME category other than products.  Create a new one such as "advice", "information", "company" or whatever fits your website style.

October 21, 2009
2:51 pm
Member
Forum Posts: 25
Member Since:
October 8, 2009
Offline

I tried to install the code to make my widgets appear on the main index page but my code is different than what you have above. This is what the editor has on my main index page:

<?php
if (!file_exists('phpThumb.config.php')) {
    if (file_exists('phpThumb.config.php.default')) {
        echo 'WARNING! "phpThumb.config.php.default" MUST be renamed to "phpThumb.config.php"';
    } else {
        echo 'WARNING! "phpThumb.config.php" should exist but does not';
    }
    exit;
}
header('Location: ./demo/');
?>

Where do I place the code to show widgets on my main index page?

Thanks,

Eunice

Advice and tips for internet marketing newbies and small businesses online at http://www.simple-internet-strategies.com
October 21, 2009
3:35 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

I don't know what version you're referring to.

If it's version 3.5 or above, then the bottom of "index.php" starting around line # 77 should look like this:

?>
 
  <?php get_sidebar(); ?>
 
  <div style="clear: both"></div>
</div>
<?php get_footer(); ?>

The "get_sidebar()" is the part that integrates the widgets.

October 22, 2009
8:22 am
Member
Forum Posts: 25
Member Since:
October 8, 2009
Offline
10

This is version 3.52 . It looks liike something is missing or incorrect since it reads:

echo 'WARNING! "phpThumb.config.php.default" MUST be renamed to "phpThumb.config.php"';

I'm using Market Theme on another blog that says the same thing on the code for index.php .

Can you help me out with this? Thanks.

Advice and tips for internet marketing newbies and small businesses online at http://www.simple-internet-strategies.com
October 22, 2009
3:39 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

Oh, I see what's going on…

The new version of the Wordpress theme editor draws all the files in the theme folder, including those located within the sub-folders.  The "index.php" file that you are seeing, is not the Market root folder index file, but the "index.php" that's located within the "phpThumb/" theme sub-folder.

This is a Wordpress editor bug that started in version 2.8 and I hope they realize and fix soon, as currently if there are two files with the same name, I think it only shows one.  That's what's happening in this case.

If you want to edit the "index.php" file, then you may need to edit it on your computer first, and then upload it manually.

Forum Timezone: UTC 0

Most Users Ever Online: 40

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2371

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2983

Posts: 16042

Moderators: Market Admin (5051)

Administrators: Market Admin (5051)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.