Skip to content

Commit

Permalink
Remove use dependency to let dequeue duplicated FontAwesome work.
Browse files Browse the repository at this point in the history
  • Loading branch information
ve3 committed Jan 23, 2022
1 parent 3de4eec commit f42d452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file removed .dev-notes/todo.txt
Empty file.
3 changes: 2 additions & 1 deletion App/Controllers/Front/EnqueueCss.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class EnqueueCss implements \RdDownloads\App\Controllers\ControllerInterface
*/
public function enqueueStyles()
{
wp_enqueue_style('rd-downloads-front-css', plugin_dir_url(RDDOWNLOADS_FILE) . 'assets/css/front/rd-downloads.min.css', ['rd-downloads-font-awesome5'], RDDOWNLOADS_VERSION);
wp_enqueue_style('rd-downloads-font-awesome5');
wp_enqueue_style('rd-downloads-front-css', plugin_dir_url(RDDOWNLOADS_FILE) . 'assets/css/front/rd-downloads.min.css', [], RDDOWNLOADS_VERSION);
}// enqueueStyles


Expand Down

0 comments on commit f42d452

Please sign in to comment.