• Resolved fraumaria

    (@fraumaria)


    Hi,

    this is NOT about the Font Awesome Plugin!

    I’ve been using Font Awesome together with some snippets of css and function.php and it worked fine until now (or until the last WP-Update in September, I’m not sure about this).

    https://snipboard.io/d7TJ56.jpg

    I already checked every settings possible in order to find a solution of this issue but I did not come to an end up to now. Font Awesome is installed, everything seems to be in the right position.

    So, if you have any further helpful suggestions for me please let me know.

    Greetings,
    Maria

    CSS snippet:

    .entry-content a[href^="https://"]:not([href="gietl.earth"]):after, .entry-content a[href^="https://"]:not([href="gietl.earth"]):after {
    font: normal 9px/1 'FontAwesome';
    color: #334979;
    content: "\f08e";
    padding-left:7px;
    font-size: 0.8em;
    }

    function.php snippet:

    function add_font_awesome()
    {
    wp_enqueue_style( 'style', get_stylesheet_uri() );
    wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/fontawesome/css/fontawesome.css' );
    }
    add_action( 'wp_enqueue_scripts', 'add_font_awesome' );

    Site Health Info:

    <br>### wp-core ###<br><br>version: 6.6.2<br>site_language: de_DE<br>user_language: en_GB<br>timezone: Europe/Berlin<br>permalink: /%postname%/<br>https_status: true<br>multisite: false<br>user_registration: 0<br>blog_public: 1<br>default_comment_status: undefined<br>environment_type: production<br>user_count: 2<br>dotorg_communication: true<br><br>### wp-paths-sizes ###<br><br>wordpress_path: /var/www/gietl.earth<br>wordpress_size: 128,59 MB (134840760 bytes)<br>uploads_path: /var/www/gietl.earth/wp-content/uploads<br>uploads_size: 2,48 GB (2659573984 bytes)<br>themes_path: /var/www/gietl.earth/wp-content/themes<br>themes_size: 8,48 MB (8896185 bytes)<br>plugins_path: /var/www/gietl.earth/wp-content/plugins<br>plugins_size: 100,57 MB (105450541 bytes)<br>fonts_path: /var/www/gietl.earth/wp-content/uploads/fonts<br>fonts_size: directory not found<br>database_size: 97,28 MB (102006784 bytes)<br>total_size: 2,80 GB (3010768254 bytes)<br><br>### wp-dropins (3) ###<br><br>advanced-cache.php: true<br>db.php: true<br>object-cache.php: true<br><br>### wp-active-theme ###<br><br>name: Bricksy (bricksy)<br>version: 1.5.4<br>author: Anariel Design<br>author_website: https://anarieldesign.com/<br>parent_theme: none<br>theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates, wp-block-styles, editor-style, widgets<br>theme_path: /var/www/gietl.earth/wp-content/themes/bricksy<br>auto_update: Disabled<br><br>### wp-themes-inactive (1) ###<br><br>Twenty Twenty-Four: version: 1.2, author: the WordPress team, Auto-updates disabled<br><br>### wp-mu-plugins (1) ###<br><br>Health Check Troubleshooting Mode: author: (undefined), version: 1.9.2<br><br>### wp-plugins-active (24) ###<br><br>All in One SEO: version: 4.7.3.1, author: All in One SEO Team, Auto-updates disabled<br>Antispam Bee: version: 2.11.6, author: pluginkollektiv, Auto-updates disabled<br>Extendify WordPress Onboarding and AI Assistant: version: 1.15.2, author: Extendify, Auto-updates disabled<br>Extensions for Leaflet Map: version: 4.3.5, author: hupe13, Auto-updates disabled<br>Getwid: version: 2.0.11, author: MotoPress, Auto-updates disabled<br>Health Check & Troubleshooting: version: 1.7.1, author: The www.ads-software.com community, Auto-updates disabled<br>Ivory Search: version: 5.5.7, author: Ivory Search, Auto-updates disabled<br>Leaflet Map: version: 3.4.1, author: bozdoz, Auto-updates disabled<br>Newsletter: version: 8.5.8, author: Stefano Lissa & The Newsletter Team, Auto-updates disabled<br>Newsletter - Addons Manager and Support: version: 1.3.2, author: The Newsletter Team, Auto-updates disabled<br>One User Avatar: version: 2.5.0, author: One Designs, Auto-updates disabled<br>Panorama Block - Lightweight 360 Degree panorama viewer: version: 1.0.5, author: bPlugins, Auto-updates disabled<br>Query Monitor: version: 3.16.4, author: John Blackbourn, Auto-updates disabled<br>Read Meter - Reading Time & Progress Bar for WordPress.: version: 1.0.9, author: Brainstorm Force, Auto-updates disabled<br>Redis Object Cache: version: 2.5.4, author: Till Krüss, Auto-updates disabled<br>Seitenspezifisches Plugin für gietl.earth V5: author: (undefined), version: (undefined), Auto-updates disabled<br>Simple Yearly Archive: version: 2.2.2, author: Oliver Schl?be, Auto-updates disabled<br>Smart Slider 3: version: 3.5.1.24, author: Nextend, Auto-updates disabled<br>Sticky Block: version: 1.11, author: Senff, Auto-updates disabled<br>UpdraftPlus - Backup/Restore: version: 1.24.6, author: TeamUpdraft, DavidAnderson, Auto-updates disabled<br>WordPress Popular Posts: version: 7.1.0, author: Hector Cabrera, Auto-updates disabled<br>WP-Optimize - Clean, Compress, Cache: version: 3.7.0, author: TeamUpdraft, DavidAnderson, Auto-updates disabled<br>WP YouTube Lyte: version: 1.7.25, author: Frank Goossens (futtta), Auto-updates disabled<br>Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled<br><br>### wp-plugins-inactive (1) ###<br><br>Seitenspezifisches Plugin für gietl.earth V4: author: (undefined), version: (undefined), Auto-updates disabled<br><br>### wp-media ###<br><br>image_editor: WP_Image_Editor_Imagick<br>imagick_module_version: 1691<br>imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org<br>imagick_version: 3.7.0<br>file_uploads: 1<br>post_max_size: 1024M<br>upload_max_filesize: 1024M<br>max_effective_size: 1 GB<br>max_file_uploads: 20<br>imagick_limits: <br>	imagick::RESOURCETYPE_AREA: 122 MB<br>	imagick::RESOURCETYPE_DISK: 1073741824<br>	imagick::RESOURCETYPE_FILE: 768<br>	imagick::RESOURCETYPE_MAP: 512 MB<br>	imagick::RESOURCETYPE_MEMORY: 256 MB<br>	imagick::RESOURCETYPE_THREAD: 1<br>	imagick::RESOURCETYPE_TIME: 9.2233720368548E+18<br>imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV<br>gd_version: 2.3.3<br>gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM<br>ghostscript_version: 9.55.0<br><br>### wp-server ###<br><br>server_architecture: Linux 5.15.0-124-generic x86_64<br>httpd_software: Apache<br>php_version: 8.3.12 64bit<br>php_sapi: fpm-fcgi<br>max_input_variables: 1000<br>time_limit: 30<br>memory_limit: 256M<br>max_input_time: 60<br>upload_max_filesize: 1024M<br>php_post_max_size: 1024M<br>curl_version: 7.81.0 OpenSSL/3.0.2<br>suhosin: false<br>imagick_availability: true<br>pretty_permalinks: true<br>htaccess_extra_rules: true<br>current: 2024-10-25T08:08:22+00:00<br>utc-time: Friday, 25-Oct-24 08:08:22 UTC<br>server-time: 2024-10-25T10:08:21+02:00<br><br>### wp-database ###<br><br>extension: mysqli<br>server_version: 10.6.18-MariaDB-0ubuntu0.22.04.1<br>client_version: mysqlnd 8.3.12<br>max_allowed_packet: 16777216<br>max_connections: 151<br><br>### wp-constants ###<br><br>WP_HOME: undefined<br>WP_SITEURL: undefined<br>WP_CONTENT_DIR: /var/www/gietl.earth/wp-content<br>WP_PLUGIN_DIR: /var/www/gietl.earth/wp-content/plugins<br>WP_MEMORY_LIMIT: 40M<br>WP_MAX_MEMORY_LIMIT: 256M<br>WP_DEBUG: false<br>WP_DEBUG_DISPLAY: true<br>WP_DEBUG_LOG: false<br>SCRIPT_DEBUG: false<br>WP_CACHE: true<br>CONCATENATE_SCRIPTS: undefined<br>COMPRESS_SCRIPTS: undefined<br>COMPRESS_CSS: undefined<br>WP_ENVIRONMENT_TYPE: Undefined<br>WP_DEVELOPMENT_MODE: undefined<br>DB_CHARSET: utf8<br>DB_COLLATE: undefined<br><br>### wp-filesystem ###<br><br>wordpress: writable<br>wp-content: writable<br>uploads: writable<br>plugins: writable<br>themes: writable<br>fonts: not writable<br>mu-plugins: writable<br><br>### aioseo (1) ###<br><br>noindexed: Search Page<br><br>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • threadi

    (@threadi)

    There is a fontawesome.css from your theme, but no fontawesome font files are loaded. Therefore, the font for the output in the frontend is missing.

    I see that you are using an optimization plugin with WP Optimize. Deactivate it as a test to rule it out as the cause of the missing font. If it works without WP Optimize, I would recommend that you contact their support forum for clarification: https://www.ads-software.com/support/plugin/wp-optimize/

    If this does not help and since your Bricksy theme seems to include the font, I would alternatively recommend that you contact their support to clarify this: https://www.ads-software.com/support/theme/bricksy/

    Thread Starter fraumaria

    (@fraumaria)

    Thank you for your quick reply and your suggestions!

    Deactivating WP-Optimize did not help, so I will contact the guys from Bricksy Theme, especially because I just realised that there has been a Theme Update as well 2 weeks ago…

    Meanwhile I keep this issue here on-hold but still unresolved if I may.

    Thread Starter fraumaria

    (@fraumaria)

    Good news today: It works!

    1.) For what reasons ever It needs to be “all.css” instead of “fontawesome.css”:

          get_template_directory_uri().'/fontawesome/css/all.css' );

          2.) The access rights to the Fontawesome directory were set in the wrong way.

          Either the one or the other reason or both caused this issue.

          Viewing 3 replies - 1 through 3 (of 3 total)
          • You must be logged in to reply to this topic.