well that depends on what you want to do, but if it is easier for you to edit that template it will be better that you can control all the output of it.. fx like this
function add_require_scripts_files() {
wp_enqueue_style('layout', get_template_directory_uri().'/style.css', array(), '1.0.0', "all");
}
add_action( 'wp_enqueue_scripts', 'add_require_scripts_files' );
and this what the function expects as paramenters:
wp_enqueue_style( $handle, $src, $deps, $ver, $media );
and remember to remove the function that adds the css file in the init
function.
Related Posts:
- Remove Archives in category title
- Twenty Twelve Theme pagination issue
- How to customize WordPress twentytwelve_comment function
- I can’t change the body background-color through style.css
- TwentyTwelve, where is the excerpt box in add new?
- WordPress Twenty Twelve Child Theme. Removing default widgetized areas
- Remove Archives in category title
- Unregister mobile menu in twenty twelve not working
- How to expand picture to cover entire header area? (twenty-twelve theme)
- deleting replies on post previews on the homepage
- dates under post titles — also showing up under Nav
- Change Font Size on Blog (Twenty Twelve)
- What font does TwentyTweleve use? (not as simple as it sounds)
- My theme is not showing up on any other computers
- How do I rename a local Git branch?
- How can I switch to another branch in git?
- How do I discard unstaged changes in Git?
- Git: How do I force “git pull” to overwrite local files?
- Download single files from GitHub
- Undo git pull, how to bring repos to old state
- What does “Git push non-fast-forward updates were rejected” mean?
- Git: cannot do a partial commit during a merge (SourceTree)
- Git: How do I force “git pull” to overwrite local files?
- What is the meaning of git reset –hard origin/master?
- Delete all local git branches
- Why does ‘git commit’ not save my changes?
- How can I undo git reset –hard HEAD~1?
- Set up git to pull and push all branches
- Get changes from master into branch in Git
- Invalid VCS root mapping – 3 errors on my project
- Updates were rejected because the remote contains work that you do not have locally
- how to reset develop branch to master
- Do I commit the package-lock.json file created by npm 5?
- What is the Git equivalent for revision number?
- How can I delete all Git branches which have been merged?
- What’s a good (free) visual merge tool for Git? (on windows)
- Dev, Stage and Production Deployment for WordPress Sites?
- Remove Open Sans from Twenty Twelve theme
- Solution for database version control and deployment?
- Version Control: Entire site or just pieces?
- What is meant by __(‘page’,’twentytwelve’)
- Should I use SVN or Git?
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- How to get a different mobile menu than desktop menu in the twentytwelve child theme
- WordPress Health Tool reporting version control as a critical issue
- Subversion, github, etc.. version control systems/repositories
- Using source control with WordPress
- Call sidebar from a template
- WordPress Workflow – version control, deployment = database issue
- What is the best way to setup wordpress development environment for freelancers with version control?
- storing database in version control
- How do I get Version of all active plugins programmatically?
- Is it better to create a Git repository at the root level or in the WordPress theme directory?
- Setting up SVN for teamwork on WordPress custom theme development
- Using Subversion to deploy WordPress
- Plugin updates, version dependencies, and backwards compatibility
- Why does the Full-width Template in Twenty Twelve pack so many classes into the body class attribute?
- Manage base theme with version control?
- How do I set the featured image size on the single post?
- How should I be handling my theme version numbering?
- How can I perform high-level database merging for WordPress within continues delivery?
- Override the function twentytwelve_scripts_styles in a child theme
- Twenty Twelve theme search returns Nothing Found
- two columns of posts on homepage, one of them “favorites”
- Is there any good way to use SVN for uploads directory?
- Painless way to track remote Git repo for WordPress updates
- WordPress pages creation work distribution & then combining – Localhost XAMPP
- WordPress multisite – What’s the ideal setup for development/staging/production environments?
- Setting up Version Control for WordPress plugin development
- How does the Twenty Twelve Navigation Bar work?
- How to make content area in full width in Twenty Twenty-One theme?
- Checking for a new version from WP Repos
- Add date before entry title in Twenty Twelve
- How to rename the wp-config.php file once under version control?
- With over a page of content the footer remains where the bottom of the screen was at top scroll
- Twenty Twelve Widget Taking Space
- Logo is not being displayed in header (Twentytwelve)
- When developing entire sites for clients, is it viable to version control the entire site? [duplicate]
- Change Twenty Twelve’s comment form in a child theme
- Does WordPress check for updates of a plugin via plugins root folder name?
- Search Form Not Working
- Is the front-page.php template reserved in wordpress twenty twelve theme?
- Is there a plugin for versioning files in the theme (style , .js and .php files)?
- Updating a WP Plugin SVN not showing on WordPress Website or Zip
- version control for wordpress? (wordpress folder and database at same time)
- change link of menu particular tab
- Twenty Twelve entry meta data – change and move
- Revision History for Entire WordPress Site
- Upgraded to 3.8.1 on wp-admin but unable to upgrade in godaddy cpanel
- Add Media + Quick Edit buttons not working
- Which files can be replaced in a child theme?
- Animate.CSS with a child theme
- collapse twenty twelve submenu in mobile version
- twenty twelve theme widgets not working
- Change Twenty twelve theme background color
- WordPress and Git: How does Git interact with your IDE? [closed]
- What solutions exist to allow the use of revision control for server configuration files? [closed]
- If you already have a copy of the code, is there any reason to create a feature branch?
- How to remove pop up on website (css changes not visible)?
- Busting Browser Cache when updating stylesheet of WordPress website