Can I put categories on homepage (not the sidebar)

Discussion in 'GeoCraft WordPress Theme' started by leosherlock, Jan 13, 2015.

  1. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi there,

    Can I place the categories on the main page instead of the right sidebar please.

    Thank you,
    Leo
     

    Attached Files:

  2. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    (The image I uploaded is just for example)
     
  3. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello !

    For this you have to create custom menu and then add the categories in menu items.

    Thanks & Regards
    Pramod
     
  4. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Thank you Pramod but the catergories from geocraft do not appear as normal wordpress categories?
     
  5. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo !


    You can get the categories for listing under Listing Categories while creating menu.

    Thanks & Regards
    Pramod
     
  6. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi Pramod,

    Thank you for your reply but I still cannot do it. I tried to create a new menu, which I did, but there is no "Listing Categories" anywhere. Also, I don't know where to place it once I do build it. Do I create a page for the homepage? I really don't understand but need to do this. Can you please screen shot what I need to do.

    Thank you very much :)
    Leo
     
  7. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo !

    Please follow below image to fix this.
    geocraft-category-listing-19-jan.png

    Thanks & Regards
    Pramod
     
  8. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi Pramod,

    That's ok, thanks - but where do I place the menu? Do I make a new static page and then place the menu in the static page and set it as a homepage?
    Thank you
     
  9. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo !

    The best option for your requirement if you want to show a page having all category link on it is
    -create a new page of any name
    -put all category name on it with a back link of that category page
    -save it as static front page.

    Thanks & Regards
    Pramod
     
  10. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi Pramod, I don't want to save it as a static front page, I want to have "Categories" in the menu and for them to appear in main part of the website?

    Thanks,
    Leo
     
  11. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo !

    As i said Create custom menu from Appearance=> menus and put categories as menu item.
    Please follow below image to fix this.
    View attachment 6906

    Thanks & Regards
    Pramod
     
  12. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi Pramod,

    I have created a page called 'newpage' and a new menu called 'listingsmenu' and added all listing categories. I have both saved.

    I want the 'newpage' to appear with listingsmenu but I don't want this to be my website's homepage. I want it to be a link in the mainmenu.

    How do I get my new 'listingsmenu' to appear when 'newpage' link is clicked?

    Thank you!
    Leo
     
  13. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo !


    I think there is a little confusion.
    What i mean is create a page and put all categories and subcategories on that page with link.
    And add that page on main menu.
    when some one click on that page link on menu the page will open and it contains all the categories link.
    You have to add all categories on that page manually no query or widget etc. works for this.

    Thanks & Regards
    Pramod
     
  14. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    I have tried this, but I still don't know where to put menu or back link. I'm Sorry about confusion
     
  15. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello Leo!


    Please use below syntax while creating a new page(change category an sub-category names as well as change the link for that category page).
    HTML:
           
    <ul class="total-categorie-page">
     
    <li class="category-list"><a href="linkofcategory1" >Category1.</a>
    <ul>
    <li class="sub-category-list"><a href="linkofsubcategory1" >Sub-Category1.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory2" >Sub-Category2.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory3" >Sub-Category3.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory4" >Sub-Category4.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory5" >Sub-Category5.</a></li>
    </ul>
    </li>
     
    <li class="category-list"><a href="linkofcategory2" >Category2.</a></li>
     
    <li class="category-list"><a href="linkofcategory3" >Category3.</a>
    <ul>
    <li class="sub-category-list"><a href="linkofsubcategory1" >Sub-Category1.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory2" >Sub-Category2.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory3" >Sub-Category3.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory4" >Sub-Category4.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory5" >Sub-Category5.</a></li>
    </ul>
    </li>
     
    <li class="category-list"><a href="linkofcategory4" >Category4.</a></li>
    <li class="category-list"><a href="linkofcategory5" >Category5.</a></li>
     
    <li class="category-list"><a href="linkofcategory6" >Category6.</a>
    <ul>
    <li class="sub-category-list"><a href="linkofsubcategory1" >Sub-Category1.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory2" >Sub-Category2.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory3" >Sub-Category3.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory4" >Sub-Category4.</a></li>
    <li class="sub-category-list"><a href="linkofsubcategory5" >Sub-Category5.</a></li>
    </ul>
    </li>
     
     <li class="category-list"><a href="linkofcategory7" >Category7.</a></li>
     
     
    </ul>
    
    Please follow below image.
    geo-leo-category-pages-15-feb.png

    Thanks & Regards
    Pramod
     
  16. leosherlock

    leosherlock Member

    Joined:
    Dec 23, 2014
    Messages:
    80
    Likes Received:
    0
    Hi Pramod!

    Yes! That is what I want, thank you! Is there a way to have Categories going from left to right and still be responsive?

    Also - I didn't know there could be sub categories with this theme, I thought it was just Hotel, Cars etc?

    Thank you again!
    Leo
     

    Attached Files:

  17. praveen

    praveen Support Staff

    Joined:
    Jan 1, 2015
    Messages:
    2,344
    Likes Received:
    67
    Hi Leo !

    Please paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    li.sub-category-list {
    display: inline;
    padding-right: 10px;
    }
    li.category-list ul {
    margin-left: 110px !important;
    margin-top: -24px;
    }
    Thanks,
    Praveen
     

Share This Page