Topic RSS
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:
</div>
<?php get_footer(); ?>
Immediately above the “</div>” line, enter ”<?php get_sidebar(); ?>”. It should now look like this:
<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.
1:45 am
January 13, 2009
OfflineDo 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.
1:23 pm
January 13, 2009
OfflineFendi, 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.
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.
5:33 pm
January 13, 2009
OfflineThe 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.
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.
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
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.
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.
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.
Most Users Ever Online: 40
Currently Online:
20 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Member Stats:
Guest Posters: 428
Members: 2252
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 2983
Posts: 16042
Newest Members: Allsed, deleteduser, shanm, slidesketch, jimharrison, vmi
Moderators: Market Admin (5051)
Administrators: Market Admin (5051)

Log In
Register
Home


