Create a category page without showing sub categories

  • JOHN
    JOHN
    Newbie 40 points
    July 21, 2016 at 5:44 pm

    Trying to create category page using the shortcode [CATEGORIES] but it shows “no category” as a subcategory under the parent. (see attached) How do I eliminate this? It doesn’t show subcategories on widget or in theme so I assume I need a different shortcode????

    John

    Attachments:
    You must be logged in to view attached files.

  • Josh
    Super Guru 13,875 points
    July 21, 2016 at 6:07 pm

    Hello John,
    Try the below code under Theme Setup >Custom css

    .cat-item-none {
    display:none;
    }

    This reply was awarded the best answer by the topic poster.
  • JOHN
    JOHN
    Newbie 40 points
    July 22, 2016 at 1:41 am

    Perfect Thanks.

  • JOHN
    JOHN
    Newbie 40 points
    July 22, 2016 at 1:56 am

    Last question…. can I get the store list [WLT_COUPON store list…] in widget to alphabetize? Even though they are in abc order in the widget when you choose them, they appear random on the front page.

    John

    Attachments:
    You must be logged in to view attached files.
  • JOHN
    JOHN
    Newbie 40 points
    July 22, 2016 at 11:15 pm

    I realized you gave me code previously to make store widget show as a list. Is there something I can add to this to make it list alphabetically?

    jQuery(“.core_widgets_stores_list a span”).after(‘<br />’)


  • Josh
    Super Guru 13,875 points
    July 23, 2016 at 10:03 am

    Hello John,
    You will have to edit theme core files to change the order.Please post here >>www.premiumpress.com/designwork/
    Note:Edit theme core file at your own risk

Viewing 6 posts - 1 through 6 (of 6 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes