Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?



Find us on Facebook

Follow us on Twitter

View our YouTube channel


 All Forums
 Technical
 WordPress for Ecommerce Templates
 Categories on home page
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

JustDucky923
Ecommerce Template Guru

USA
1144 Posts

Posted - 02/28/2019 :  12:01:28  
I'm working on another site converting it to WordPress. Their current site: https://www.alkydigger.net/ - (Dreamweaver) has the "categories.php" showing on the home page. They would like to keep this on the new design. I see you have "ECT Home Page Products" - but they don't want to show individual products, they want to simply show all categories on the home page.

Is there a way to do this with a plugin or something similar?

Thanks,

Andy
Administrator

95440 Posts

Posted - 02/28/2019 :  12:12:16  
Hi

There isn't a feature to add categories to the home page I'm afraid. I believe it has come up in the Suggestions forum if you'd like to add your vote there.

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1144 Posts

Posted - 06/12/2019 :  12:41:13  
I see that this is now an option - however, I'm not sure how to implement it on a WordPress site. Could someone point me in the right direction? I'd like to display ALL top level categories on the home page.

Thanks!

Andy
Administrator

95440 Posts

Posted - 06/12/2019 :  13:34:05  
Do you have access to edit the code directly on the home page?

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1144 Posts

Posted - 06/12/2019 :  15:32:40  
I'm not sure I know what you mean. It's just a typical WP home page, I can add code on the "text" tab - is that what you mean?

Andy
Administrator

95440 Posts

Posted - 06/12/2019 :  23:59:21  
It's just that you would need access to the HTML to be able to add

<?php
$GLOBALS['recommendedcategories'] = TRUE;
include 'vsadmin/inc/inccategories.php';
?>

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1144 Posts

Posted - 06/13/2019 :  07:08:47  
I added a plugin which allows adding php code and it worked! You can see it here: https://justduckytestsite.com/

I would like to change some of the css just for this section - but not the other category pages. What's the best way to do that?

Andy
Administrator

95440 Posts

Posted - 06/13/2019 :  07:14:37  
You would want to preface the category classes with the container class. In your example that might be

div.panel-widget-style-for-7-3-0-1 div.category{
height:200px
}

div.panel-widget-style-for-7-3-0-1 div.catimage{
max-width:100%
}

Andy

Please feel free to review / rate our software
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2019 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000