• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

plugins

WordPress Critical Error

April 11, 2021

If you get a WordPress “There has been a critical error on your website” error, you probably have an issue with a theme or plugin. The quickest way to troubleshoot is to rename the plugins directory since there’s no way to login. This technically disables all plugins. Rename it back to plugins and enable each plugin one by one.

Disable all plugins.

mv plugins plugins-backup

mv plugins plugins-backup

Login and restore the plugins directory.

mv plugins-backup plugins

mv plugins-backup plugins

Enable each plugin one by one and check if the site is broken.

Filed Under: WP Tagged With: critical, error, plugins, themes

Yum Repo Plugins

April 2, 2020

Here’s how to disable plugin in Yum repos.

# check which plugins are enabled
yum repolist
# disable plugins
yum update --disableplugin=product-id,subscription-manager
# check agin
yum repolist

# check which plugins are enabled yum repolist # disable plugins yum update --disableplugin=product-id,subscription-manager # check agin yum repolist

If that doesn’t work, check the individual config files of each plugin.

cd /etc/yum/pluginconf.d/
vim product-id.conf
vim subscription-manager.conf

cd /etc/yum/pluginconf.d/ vim product-id.conf vim subscription-manager.conf

Disable it.

[main]
enable=0

[main] enable=0

Filed Under: Linux Tagged With: plugins, redhat, repo, repolist, yum

WordPress Custom CSS Stylesheet

January 10, 2014

I’m releasing a new WordPress plugin called Custom Stylesheet. This plugin creates a safe haven for some custom CSS styles that you want preserved, even if you switch from one theme to another. In addition, this plugin also prevent theme updates from overwriting your custom styles. Lastly, this plugin also serves as a quick test environment for applying your custom CSS styles.

Install and Configure

  1. Upload the “stylesheet” folder to the WordPress plugins folder.
  2. Activate the “Custom Stylesheet” plugin from the “Plugins > Installed Plugins.”
  3. Custom Stylesheet is available from “Appearance > Stylesheet.”
  4. Add your custom CSS styles.
  5. Click “Save Custom Stylesheet” to save.

Download

Filed Under: CSS, WP Tagged With: plugins, stylesheet

Google Web Fonts Plugin

November 26, 2012

I’m releasing a WordPress plugin called “Web Fonts.” This plugin takes advantage of the free and open-source Google Web Fonts. If you’re not familiar with Google Web Fonts, it’s a group of fonts that allows designers to customize the looks of their blogs or websites using hundreds of exotic fonts. With a gaggle of external fonts available for use, “Web Fonts” can transform the overall design of a website.

Install and Configure

  1. Upload the “webfonts” folder to the WordPress plugins folder.
  2. Activate the “Web Fonts” plugin from the “Dashboard > Plugins > Installed Plugins.”
  3. Configure stylesheet link and CSS from the “Dashboard > Settings > Web Fonts.”
  4. If you want multiple fonts, just add a second stylesheet link and additional CSS.
  5. “Update Options” to save.

Screenshot

Version 1.1

  • Moved to “Appearance > Web Fonts”
  • Added some documentation

Download

Filed Under: CSS, HTML, WP Tagged With: google, plugins, webfonts

  • Home
  • About
  • Archives

Copyright © 2023