Why would you use a separate plugin to change a font?
You should add the font directly in your theme’s header and adjust the CSS accordingly.
For example, using Roboto from google fonts – https://fonts.google.com/?selection.family=Roboto:
In your theme’s header.php add this line before </head>:
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
In your theme’s style.css add the font to your elements, as needed – for example:
body {
font-family: 'Roboto', sans-serif;
}
If you need more help understanding how this works, I think this resource could be a good place to start: https://developers.google.com/fonts/docs/getting_started
Related Posts:
- When unit testing a plugin, does the plugin need to be in the wp-content/plugins directory of the WordPress tests install?
- How to have WordPress send a user confirmation/validation email on signup
- How do I disable a plugin enforced by my host (in mu-plugins)?
- Need to create a Theme demo site that features multiple themes
- Do Plugins effect site loading time?
- Adding Featured Image in Post List
- Auto login using Active Directory and Windows Authentication
- Should I use RIPS tool to test my themes and plugins?
- Plugin search sorting for admin section – WordPress [duplicate]
- How to disable autocomplete for inputs in contact form 7? [closed]
- Determining where fopen() is writing files when used from WordPress AJAX call [closed]
- How Restrict access to admin dashboard by specific static ip?
- Plugin Functionality Only for Editor and Administrator
- Plugin to hide admin menu (vertical menu bar)
- Building WordPress Plugin Using FPDF – How do you get post content from currently viewed post?
- Storing Email Account Passwords for SMTP Mailing for a WordPress Plugin
- action-scheduler vs wp-background-processing
- How to get images from EDD post?
- Do you clean up your self-written plugins’ at deactivation?
- Will Flutter work with WordPress 3.0?
- Function to see how many plugins on a site need updating
- PHP Fatal error: Call to undefined function plugin_basename
- Restored WordPress on new Server – Can’t auto-update plugins
- How many SQL queries WP Super Cache make to serve cached page?
- omit / remove ” from category list
- Is any information available in PHP files in WP about plugin activation history?
- Download any file after submitting a form [closed]
- Call to undefined function get_userdata in user.php
- Only Homepage not loading properly
- AJAX search posts and pages
- Import sql data from a large file when installing plugin
- Jquery NoConflict Problem
- When taxes are country specific they don’t show in the cart totals
- WooCommerce : Direct Checkout Page [closed]
- changes to header.php not appearing
- List out all the plugins on WordPress instance
- Is there a rule for wordpress plugins developers to not do any database changes upon update?
- Can WordPress Drop-ins be given their own directory?
- Can my hooked uninstall class function access a global var declared in main plugin file?
- Flag Comment as inappropriate button plugin
- How can I add IP address to my post?
- serverSideRender does not render “preview” html inside Gutenberg block
- add seperate suffix for low price and high price in woocommerce
- I can’t get blog posts into ‘featured areas’ on homepage
- Hosting multiple sites
- How to delete a theme using AJAX
- Licensing a Plugin [closed]
- Equivalent of admin.php for public pages
- WordPress plugin with its own “site”/theme
- Hook functions for Wp e-commerce? [closed]
- Multisite Plugin – Access options (wp_options) on child sites
- Plugin Add New Installer failing
- Engadget Like Featured Breaking Plugin
- sliding/fading header plugin or approach suggestion
- Why the internal link get converted into a comment?
- Elementor Sidebar not loading when PRO elements plugin is active
- how can we migrate wordpress 5.9 website from aws ec2 to new installed wp 5.9 oci compute
- Import Recent Posts Only and Ignore old ones if exist
- Security of a WordPress Plugin
- Editing a coupon generating plugin
- @wordpress/scripts advanced usage
- wp_post not working, keeps redirecting to posts page
- How to add Mobile field in Registration form using Theme my login Plugin
- Search in WordPress
- What is the right way to populate a dropdown from MySql?
- prevent anonymous access to WordPress site (non-admin site)
- make p tag collapsed after 3 rows
- WPBakery Page Builder Shortcode Showing On Front Page For Post
- Fatal error: Class ‘RDTheme’ not found
- How to direct wordpress traffic to specific page
- Scroll to ID broken in main menu
- Comment restrictions Wodpress
- Set “Open in New tab” as default option
- Generate and send ICS file through WordPress
- Gutenberg editor in WordPress 5.0.3 /wp-json/wp/v2/pages/4713/autosaves?_locale=user 500 (Internal Server Error)
- Multi Language Code Snippet in WordPress
- WP Plugin permissions – create new files
- How to capture customer’s credit card details via PayPal on my checkout page?
- Add code to page template on page built with Visual Composer
- Creating Admin Submenu Page via Class Method
- How to store multiple instances of the plugin’s options for various shortcodes
- .htaccess file doesn’t work, with hundred tries
- Installed plugins page do not show in wordpress dashboard
- plugin translation is not working
- How do plugin updates work?
- A more elegant way to handle notices/warnings
- How can i see/log all requests coming from a registration form (not from the UI)?
- First argument is expected to be a valid callback for cp_admin_init and _canonical_charset
- List all subpages hierarchically based on the currently viewed page, top ancestor levels included
- Shortcodes can only be used in Pages, not Posts
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Get the url of attachments from the post?
- Create New Admin Menu Section – Like how custom post type works, in a way
- WordPress User Frontend Editing Custom Fields
- Combining JS files to one script
- How to clean up unnecessary file inside wp-content/plugins/wordpress-seo?
- How can I modify the colors of my theme for a single section of my site? [closed]
- What are the downsides of using bootstrap in plugin development?
- Images get uploaded itself from the computer
- getPost() method and Pagination