Default look of
-
I wanted to view job type category using /job-type/title instead of ?job-type=title so I made a dirty change in \includes\class-wp-job-manager-post-types.php:
if ( current_theme_supports( 'job-manager-templates' ) ) { $rewrite = array( 'slug' => _x( 'job-type', 'Job type slug - resave permalinks after changing this', 'job_manager' ), 'with_front' => false, 'hierarchical' => false ); } else { //$rewrite = false; $rewrite = array( 'slug' => _x( 'job-type', 'Job type slug - resave permalinks after changing this', 'job_manager' ), 'with_front' => false, 'hierarchical' => false ); }
Refreshed the permalinks, everything worked fine except for the new layout of job-type category. It switched to default wp category archive.
Can anybody point me to a next step?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Default look of’ is closed to new replies.