Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace PNG image with an SVG #37

Closed
dartiss opened this issue Nov 15, 2020 · 2 comments
Closed

Replace PNG image with an SVG #37

dartiss opened this issue Nov 15, 2020 · 2 comments
Milestone

Comments

@dartiss
Copy link
Owner

dartiss commented Nov 15, 2020

Will also remove the option to specify your own image.

@dartiss dartiss modified the milestones: 3.0, 2.5 Nov 15, 2020
@dartiss
Copy link
Owner Author

dartiss commented Nov 18, 2020

I've tested this code and it works...

/**
 * Add Dashicons to front-end
 *
 * Will enqueue Dashicons for front-end use.
 */
function adl_load_dashicons_front_end() {
	wp_enqueue_style( 'dashicons' );
}

add_action( 'wp_enqueue_scripts', 'adl_load_dashicons_front_end' );
$icon_url = '<span class="dashicons dashicons-clock">';

@dartiss dartiss modified the milestones: 3.0, 2.5.2 Jan 30, 2023
@dartiss
Copy link
Owner Author

dartiss commented Jan 31, 2023

Implemented in #68

@dartiss dartiss closed this as completed Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant