Can you edit a theme in a text editor?

When you install your theme via the WordPress admin panel, it’s just decompressing the ZIP file and placing the contents in a directory. For me, using Local as a dev server, that location was ~/Local Sites/<my-site-name>/app/public/wp-content/themes/<my-theme-name>. You can edit those files directly and the changes will be reflected when you refresh your browser.

Create category after theme setup and modify the default one

You can use wp_update_term to modify terms (even the default uncategorized) and wp_insert_term to update existing terms. Here is a basic example that should get you there. function add_category(){ // Update Uncategorized Category (1) wp_update_term( 1, ‘category’, array( ‘name’ => ‘New Category Name’, ‘slug’ => ‘new-category-slug’ ) ); // Insert New Category if(!term_exists(‘another-category’)) { wp_insert_term( … Read more