June 6, 2014 at 2:34 pm 21504
|Jason||Hi Support. I would like to experiment with adding catagory icons to the frontpage of the dokan store. We use this shortcode on another Woocommerce store, and the result is nice. Having looked through the pages, I am not sure which page actually makes up the 'home page' so am unsure what to edit. Please let me know what page I need to edit, if I need to add anything to the 'homepage' Thanks|
June 6, 2014 at 2:35 pm 21505
Sorry made a typo in the title and could not edit it!
Should read *Front page*
June 6, 2014 at 8:14 pm 21523
June 6, 2014 at 8:53 pm 21527
Is there any way then to pull the catagories and assign images to them? Woocommerce allows you to do on a standard WP page using shortcodes but doubt it would work on front-page.php
This is potentially what I would like to reproduce:
June 9, 2014 at 2:32 pm 21621
Any feature of WooCommerce would work in our themes any page. Just do what you want.
June 9, 2014 at 5:21 pm 21640
The short code does work on the other pages within Dokan, but not sure how to make it work on the front-page.php because it is not like the other standard wordpress pages.
I did try to user the correct short code by editing the .php file but did not really think that would work.
Would be nice to have the categories displayed with images on the frontpage like my screen shot so any further advice would be appreciated.
June 9, 2014 at 5:55 pm 21642
If you only want to keep the menu above and the category images in the front page,
June 9, 2014 at 6:33 pm 21644
Will give it a try 🙂
June 11, 2014 at 3:22 am 21736
@jason , is this a plugin that you installed to make the page look like that, or do you put in short codes? etc. I really like the look of it and was interested in creating something similar for my category pages and I am new to wordpress.
June 11, 2014 at 2:34 pm 21784
It is a short code from my other online store but because it is based on Woocommerce/WP it works on Dokan too.
I am unable to get it working on the Dokan’home’ page (even with Sekanders instructions) as it is not a standard wordpress page – but you could use it on any other WP page you create.
Here is the code
You can play around with the numbers to find the config that best suites your page layout.
The orderby= name places the list in alphabetical order – so don’t worry about changing that 🙂