Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
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 Previous Topic Topic Next Topic  

JustDucky923
Ecommerce Template Guru

USA
1136 Posts

Posted - 02/28/2019 :  12:01:28  Show Profile
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

95410 Posts

Posted - 02/28/2019 :  12:12:16  Show Profile
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
Go to Top of Page

JustDucky923
Ecommerce Template Guru

USA
1136 Posts

Posted - 06/12/2019 :  12:41:13  Show Profile
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!
Go to Top of Page

Andy
Administrator

95410 Posts

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

Andy

Please feel free to review / rate our software
Go to Top of Page

JustDucky923
Ecommerce Template Guru

USA
1136 Posts

Posted - 06/12/2019 :  15:32:40  Show Profile
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?
Go to Top of Page

Andy
Administrator

95410 Posts

Posted - 06/12/2019 :  23:59:21  Show Profile
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
Go to Top of Page

JustDucky923
Ecommerce Template Guru

USA
1136 Posts

Posted - 06/13/2019 :  07:08:47  Show Profile
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?
Go to Top of Page

Andy
Administrator

95410 Posts

Posted - 06/13/2019 :  07:14:37  Show Profile
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2018 ecommercetemplates.com Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000