Topic RSS
In case anybody desires to display all the topic categories in your sidebar such as in the live demo, it's very easy.
Here's how:
===============
In your Wordpress administration area, click on the "Design" tab. Then click on "Widgets" in the sub-menu.
(In Wordpress version 2.7, it's the "Appearance" tab, then the "Editor" link.)
Find "Categories" under 'Available Widgets'. Click the "Add" button, then click on "Save".
That should do it.
OPTION:
If you would ALSO like the categories to appear on your main index page, perform the code changes above and also do the following:
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 and you should now see the categories displayed.
Hi,
I'd like to have topics appearing under the category section like in the demo
site but can't get it to work.
And iin the index.php file, at the bottom of it is something as such:
<?php get_footer(); ?></div>
<div style="clear: both">
</div>
<?php get_sidebar(); ?>
…not like the code you've shown above.
I'd appreciate if you could give a step-by-step instruction since I'm not
well versed in this kind of stuff.
Thanks in advance.
Osman
—-
Yeah, that was for an older version of Market.
To add the Categories widget (and other widgets), simply click the "Widgets" menu item under "Appearance".
From there, select the "Categories" widget and enable it.
Click the "Save" button.
Now, you can choose the method that the categories are displayed, by clicking the "Edit" button and choosing the option of your liking.
Click Save when done.
There are a couple of code changes you'll need to do.
1. Edit your "frontdoor.php" file.
around line # 41 you'll see:
You'll need to remove the "/*" and the "*/" so that it looks like this:
Save the file.
2. Now, you'll need to edit your "functions.php" file.
around line #61, you'll see:
disable this line by changing it to:
Now, find on or around lline #63 where it says:
enable this line by removing the beginning slashes, so that it looks like this:
Save the file.
Lastly, I think you may need to go to your Market Theme options settings area in your WP dashboard, and change the number of thumbnails that it displays on that page.
From memory, I think that's all.
Well, you want to do something that's not standard.
If you check the online demo, you'll see that the default setup not to show the categories.
You wanted to customize it, so there's the code.
You don't even need to mess with CSS. All you've got to do is disable a line, and enable one in two places.
You probably could've made the changes in less time than it took to write your message above.
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
Offline

