Categories order and displaying

Discussion in 'GeoCraft WordPress Theme' started by Marc1, Dec 24, 2012.

Thread Status:
Not open for further replies.
  1. Marc1

    Marc1 Member

    Joined:
    Dec 24, 2012
    Messages:
    37
    Likes Received:
    1
    Hi,

    1) I would like to always have all listing categories show, no matter if there is something already posted in it or not.

    2) Also, categories in a certain order , now it's alphabetical, how do I change that? Make the listing categories show in the order I want them to be in, NOT alphabetical.

    3) If you add a listing you can select ALL categories, how can I delete the ALL categories, I only want someone to be able to select one category.

    Thanks!
    Marc
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    1.
    Unfortunately there isn't a way to do that with our theme unless you custom code something up. Sorry.

    If this isn't something you're able to do then you would need to hire a developer for this.

    2.
    Download Post Types Order plugin from WordPress.org

    http://wordpress.org/extend/plugins/post-types-order/


    3.
    Go to library > front_end > listing_submit_form.php present in your theme directory and remove the code given below

    Code:
    <li><label><input class="list_category" type="checkbox" name="category[]" id="<?php echo $termid; ?>" value="<?php echo $name; ?>" class="checkbox" /><?php echo $name; ?></label></li>
    

    Sending image for reference

    [​IMG]

    This will solve your issue.
     
  3. Marc1

    Marc1 Member

    Joined:
    Dec 24, 2012
    Messages:
    37
    Likes Received:
    1
    Hi, thanks for the reply but that deletes all categories,

    I just wan to remove the checkbox and RENAME "Select all" to "Select one category below"

    Thanks!
     
  4. colossalmktg

    colossalmktg Member

    Joined:
    Dec 22, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Oklahoma, USA
    Actually, there is a way. I just did this last night. I don't like having the Categories take up so much space in the sidebars. I think they should be in the main menu so that's where I put them.

    First, go to each category and copy and paste the full url for each one to a text file. Then go to Appearance --> Menus.

    Create a new menu. I called mine Main Menu. Add all the pages you can from the left. Then in the Custom box on the left, start adding your Categories. Enter the name of your category and the full url and save it. It will appear on the right. Move the categories under All Listings, slightly jogged to the right (in whatever order you want them in).

    Now you have all the categories in a dropdown menu. I could not figure out how to create a new menu item without creating a page for it. Like "Categories" for example, so I put them under All Listings instead. Still makes sense.

    My menu items are (in order): Home, News, Featured Listings, All Listings (with the category submenus), Add New Listing, Contact Us, Advertise.

    You don't need the categories widget anymore this way. All the categories are accessible from any place on your site.
     
  5. Marc1

    Marc1 Member

    Joined:
    Dec 24, 2012
    Messages:
    37
    Likes Received:
    1
    Awesome! Thanks for the info, I'll try that :).
     
  6. colossalmktg

    colossalmktg Member

    Joined:
    Dec 22, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Oklahoma, USA
    One other note, Marc1. After you create your new menu and save it make sure you click on the dropdown box in the upper left corner and select your new menu. It will be the only one there. You have to do that or your new menu won't show up.
     
  7. rogerb

    rogerb Active Member

    Joined:
    May 8, 2012
    Messages:
    481
    Likes Received:
    33
    If it helps, to add a menu item with no page use the custom links area, make the URL a # and the navigation label for instance 'Categories' and add to the menu. Voila!
     
  8. Marc1

    Marc1 Member

    Joined:
    Dec 24, 2012
    Messages:
    37
    Likes Received:
    1
    Hi, thanks for the reply but that deletes all categories,

    I just want to remove the checkbox and RENAME "Select all" to "Select one category below"

    Thanks!
     
  9. colossalmktg

    colossalmktg Member

    Joined:
    Dec 22, 2012
    Messages:
    47
    Likes Received:
    1
    Location:
    Oklahoma, USA
    That worked like a champ! Thanks.
     
Thread Status:
Not open for further replies.

Share This Page