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 Category links and Widgets to your sidebar
November 11, 2008
4:50 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

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:

  <?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 and you should now see the categories displayed.

January 8, 2010
1:59 am
Member
Forum Posts: 4
Member Since:
January 5, 2010
Offline

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
—- 

January 8, 2010
1:06 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

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.

January 31, 2010
9:53 pm
Member
Forum Posts: 37
Member Since:
January 31, 2010
Offline

I did the widget that adds categories, but it doesn't make them show up on the home page. There's got to be an easier way to do something that is so basic, rather than digging into the CSS.

February 1, 2010
7:24 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

Are you using a recent version of Market  or an older one?

The newer releases have widgets enabled on the front page.

Or, are you using the grid-view storefront as your home page?

February 1, 2010
10:49 pm
Member
Forum Posts: 37
Member Since:
January 31, 2010
Offline

I just downloaded it two days ago. So it's pretty recent.

yes, I am using the grid-view storefront as the home page. Does that mean that the categories don't show up? That seems short-sighted if true.

February 2, 2010
11:19 am
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

There are a couple of code changes you'll need to do.

1.  Edit your "frontdoor.php" file. 

around line # 41 you'll see:

<?php /* get_sidebar(); */ ?>

You'll need to remove the "/*" and the "*/" so that it looks like this:

<?php get_sidebar(); ?>

Save the file.

2.  Now, you'll need to edit your "functions.php" file.

around line #61, you'll see:

    #content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']; ?>px; }

disable this line by changing it to:

   // #content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']; ?>px; }

Now, find on or around lline #63 where it says:

    //#content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']-$mkt_options['mkt_STYLE_WIDTH_PRODUCTS']; ?>px; }

enable this line by removing the beginning slashes, so that it looks like this:

    #content .grid { width: <?php echo $mkt_options['mkt_TOTAL_PAGE_WIDTH']-$mkt_options['mkt_STYLE_WIDTH_PRODUCTS']; ?>px; }

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.

February 2, 2010
9:03 pm
Member
Forum Posts: 37
Member Since:
January 31, 2010
Offline

Seriously?!?!? I really don't have the time or inclination to goof around with CSS. I thought this theme was ready out of the box. This is a pretty basic need that's covered in every WP theme I've ever dealt with – categories on the front page. Why wasn't this included in this release?

February 3, 2010
7:24 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

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.

February 23, 2010
11:53 am
Member
Forum Posts: 37
Member Since:
January 31, 2010
Offline
10

I apologize, didn't mean to be rude. Appreciate the help!

February 24, 2010
12:52 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
11

No worries… 

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.