[OFFER ALERT!] This Halloween, Get Any Premium Theme for Just $19 [GET IT NOW]
Jump to content

anirudhpulikonda

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by anirudhpulikonda

  1. I'm trying to change the Category URL for the Coupons

     

    For example, If I post 10 Amazon Coupons and link them to a Category named " Amazon ". Then the url of the Category is like " domain.com/coupon-category/amazon ". I want to remove that slug - " coupon-category " and make the url simple and clean like " domain.com/amazon " or I want it to be short like " domain.com/store/amazon ".

     

    But unfortunately it's not working.

     

    what I've tested in functions.php of coupon theme:

     

    'menu_icon' => 'dashicons-editor-insertmore',
    'has_archive' => true,
    'supports' => array('title', 'editor', 'thumbnail'),
    'rewrite' => array("slug" => "coupons"), // Permalinks format
    );
     
    register_post_type( 'coupons' , $args );
     
    register_taxonomy(
    'mts_coupon_categories',
    'coupons',
    array(
    'show_admin_column' => true,
    'hierarchical' => true,
    'rewrite' => array(
    'slug' => 'coupons-category'  ( modified here - but not working )
    )
    )
    );

     

    I've modified the slug in the Functions.php of the theme. But still no use. If I rename it, It's displaying 404 error. Please let me know if this is possible or not?

  2. My Friend is using Coupon theme in his newly created coupon site. I'm also planning to buy one. But Unfortunately, My friend was unable to explain me on how to change the Coupon Categories URL? The URL is very long. If we can change it? then how? Please solve this if the feature already exists in the theme. If not then are you going to implement it soon? so that I'll get assurance and will buy ASAP.

×
×
  • Create New...