why won’t my custom css load with the enqueue method or any other method?

Question

This is the code in my function.php

My front-page.php:

Write something here

    <?php
    get_footer();

    ?>

and this is the code when I review the source code:

window._wpemojiSettings = {“baseUrl”:”https://s.w.org/images/core/emoji/13.0.0/72×72/”,”ext”:”.png”,”svgUrl”:”https://s.w.org/images/core/emoji/13.0.0/svg/”,”svgExt”:”.svg”,”source”:{“concatemoji”:”http://127.0.0.1:81/wordpress/wp-includes/js/wp-emoji-release.min.js?ver=5.5.3″}};
!function(e,a,t){var r,n,o,i,p=a.createElement(“canvas”),s=p.getContext&&p.getContext(“2d”);function c(e,t){var a=String.fromCharCode;s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,e),0,0);var r=p.toDataURL();return s.clearRect(0,0,p.width,p.height),s.fillText(a.apply(this,t),0,0),r===p.toDataURL()}function l(e){if(!s||!s.fillText)return!1;switch(s.textBaseline=”top”,s.font=”600 32px Arial”,e){case”flag”:return!c([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])&&(!c([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!c([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]));case”emoji”:return!c([55357,56424,8205,55356,57212],[55357,56424,8203,55356,57212])}return!1}function d(e){var t=a.createElement(“script”);t.src=e,t.defer=t.type=”text/javascript”,a.getElementsByTagName(“head”)[0].appendChild(t)}for(i=Array(“flag”,”emoji”),t.supports={everything:!0,everythingExceptFlag:!0},o=0;o

img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}

#wpadminbar { display:none; }

html { margin-top: 32px !important; }
* html body { margin-top: 32px !important; }
Traversy Media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
* html body { margin-top: 46px !important; }
}

Write something here

    <footer>

Developer: Jonathan Smith

<script type="text/javascript">
    (function() {
        var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|s+)(no-)?'+cs+'(s+|$)');

            request = true;

        b[c] = b[c].replace( rcs, ' ' );
        // The customizer requires postMessage and CORS (if the site is cross domain).
        b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
    }());
</script>
        <div id="wpadminbar" class="nojq nojs">
                        <a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1">Skip to toolbar</a>
                    <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="Toolbar">
            <ul id='wp-admin-bar-root-default' class="ab-top-menu"><li id='wp-admin-bar-wp-logo' class="menupop"><a class='ab-item' aria-haspopup="true" href='http://127.0.0.1:81/wordpress/wp-admin/about.php'><span class="ab-icon"></span><span class="screen-reader-text">About WordPress</span></a><div class="ab-sub-wrapper"><ul id='wp-admin-bar-wp-logo-default' class="ab-submenu"><li id='wp-admin-bar-about'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/about.php'>About WordPress</a></li></ul><ul id='wp-admin-bar-wp-logo-external' class="ab-sub-secondary ab-submenu"><li id='wp-admin-bar-wporg'><a class='ab-item' href='https://wordpress.org/'>WordPress.org</a></li><li id='wp-admin-bar-documentation'><a class='ab-item' href='https://codex.wordpress.org/'>Documentation</a></li><li id='wp-admin-bar-support-forums'><a class='ab-item' href='https://wordpress.org/support/'>Support</a></li><li id='wp-admin-bar-feedback'><a class='ab-item' href='https://wordpress.org/support/forum/requests-and-feedback'>Feedback</a></li></ul></div></li><li id='wp-admin-bar-site-name' class="menupop"><a class='ab-item' aria-haspopup="true" href='http://127.0.0.1:81/wordpress/wp-admin/'>SmittyJ's Software and Robotics</a><div class="ab-sub-wrapper"><ul id='wp-admin-bar-site-name-default' class="ab-submenu"><li id='wp-admin-bar-dashboard'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/'>Dashboard</a></li></ul><ul id='wp-admin-bar-appearance' class="ab-submenu"><li id='wp-admin-bar-themes'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/themes.php'>Themes</a></li></ul></div></li><li id='wp-admin-bar-customize' class="hide-if-no-customize"><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/customize.php?url=http%3A%2F%2F127.0.0.1%3A81%2Fwordpress%2F'>Customize</a></li><li id='wp-admin-bar-updates'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/update-core.php' title='4 Plugin Updates'><span class="ab-icon"></span><span class="ab-label">4</span><span class="screen-reader-text">4 Plugin Updates</span></a></li><li id='wp-admin-bar-comments'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/edit-comments.php'><span class="ab-icon"></span><span class="ab-label awaiting-mod pending-count count-0" aria-hidden="true">0</span><span class="screen-reader-text comments-in-moderation-text">0 Comments in moderation</span></a></li><li id='wp-admin-bar-new-content' class="menupop"><a class='ab-item' aria-haspopup="true" href='http://127.0.0.1:81/wordpress/wp-admin/post-new.php'><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id='wp-admin-bar-new-content-default' class="ab-submenu"><li id='wp-admin-bar-new-post'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/post-new.php'>Post</a></li><li id='wp-admin-bar-new-media'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/media-new.php'>Media</a></li><li id='wp-admin-bar-new-page'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/post-new.php?post_type=page'>Page</a></li><li id='wp-admin-bar-new-user'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/user-new.php'>User</a></li></ul></div></li><li id='wp-admin-bar-edit'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/post.php?post=12&action=edit'>Edit Page</a></li></ul><ul id='wp-admin-bar-top-secondary' class="ab-top-secondary ab-top-menu"><li id='wp-admin-bar-search' class="admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://127.0.0.1:81/wordpress/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" /><label for="adminbar-search" class="screen-reader-text">Search</label><input type="submit" class="adminbar-button" value="Search"/></form></div></li><li id='wp-admin-bar-my-account' class="menupop with-avatar"><a class='ab-item' aria-haspopup="true" href='http://127.0.0.1:81/wordpress/wp-admin/profile.php'>Howdy, <span class="display-name">user</span><img alt='' src='http://2.gravatar.com/avatar/53304d00c51b63758722a92d5f5a114d?s=26&d=mm&r=g' srcset='http://2.gravatar.com/avatar/53304d00c51b63758722a92d5f5a114d?s=52&d=mm&r=g 2x' class='avatar avatar-26 photo' height='26' width='26' loading='lazy'/></a><div class="ab-sub-wrapper"><ul id='wp-admin-bar-user-actions' class="ab-submenu"><li id='wp-admin-bar-user-info'><a class='ab-item' tabindex="-1" href='http://127.0.0.1:81/wordpress/wp-admin/profile.php'><img alt='' src='http://2.gravatar.com/avatar/53304d00c51b63758722a92d5f5a114d?s=64&d=mm&r=g' srcset='https://www.wptricks.com/wp-content/uploads/2020/11/53304d00c51b63758722a92d5f5a114d 2x' class='avatar avatar-64 photo' height='64' width='64' loading='lazy'/><span class='display-name'>user</span></a></li><li id='wp-admin-bar-edit-profile'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-admin/profile.php'>Edit Profile</a></li><li id='wp-admin-bar-logout'><a class='ab-item' href='http://127.0.0.1:81/wordpress/wp-login.php?action=logout&_wpnonce=12e50c6864'>Log Out</a></li></ul></div></li></ul>         </div>
                    <a class="screen-reader-shortcut" href="http://127.0.0.1:81/wordpress/wp-login.php?action=logout&_wpnonce=12e50c6864">Log Out</a>
                </div>

    

my custom css which is named sj.css is not being loaded, why?

0
JCSMOOTH345 2 months 0 Answers 12 views 0

Leave an answer