Use block-based themes. From Edit Site, click the
Style Icon in the top right corner, and go to Typography. You can use the font by clicking the
Manage Fonts icon and uploading the font file or installing the font (via Google).
Tech Tag: WordPress
-
How to host fonts manually in WordPress?
in WordPress -
How to change the WordPress login screen
Put the following in functions.php. Replace “Your Logo Here” and “Your URL Here” with your own.
function custom_login_logo() { echo '<style type="text/css"> .login h1 a { background-image: url(https://sitecreation.genxnotes.com/wp-content/uploads/2023/04/avatar.png) ; // Your Logo Here background-position: center center; background-size: contain; width: 100%; } </style>'; } add_action('login_head', 'custom_login_logo'); function login_url(){ return "https://sitecreation.genxnotes.com"; // Your URL Here } add_filter('login_headerurl', 'login_url');
in WordPress -
How to stop RSS Feed in WordPress
Put the following code in functions.php.
function wpb_disable_feed() { wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); } add_action('do_feed', 'wpb_disable_feed', 1); add_action('do_feed_rdf', 'wpb_disable_feed', 1); add_action('do_feed_rss', 'wpb_disable_feed', 1); add_action('do_feed_rss2', 'wpb_disable_feed', 1); add_action('do_feed_atom', 'wpb_disable_feed', 1); add_action('do_feed_rss2_comments', 'wpb_disable_feed', 1); add_action('do_feed_atom_comments', 'wpb_disable_feed', 1);
in WordPress -
In My Opinion, Friends Plugin is dead, so I removed it.
I just can’t get this thing to work. My site gets messed up hard. Whenever I go to the followers page, it has a conflict with my SEO plugin, which I rather not disable. I get like over 22 lines of errors like this. It’s so long that I can’t paste the whole thing. It’s so broken.
Warning: Attempt to read property “ID” on null in path on line 123
Warning: Attempt to read property “post_author” on null in path on line 456
Warning: Attempt to read property “post_date” on null in path on line 789
Warning: Attempt to read property “post_parent” on null in path on line 012
Also, very few people have this plugin enabled, and how am I supposed to find friends from WordPress?
ActivityPub is great, but it’s just not the right plugin for me.
in WordPress -
How to set up Two-Factor Authentication (2FA) in WordPress
You can use the All In One WP Security plugin.
in WordPress -
I don’t know how to modify functions.php. What should I do?
I recommend trying out the Wp Code plugin. You will be able to modify functions.php directly from the WordPress admin screen.
in WordPress -
How to build your own brand with a blog
Building your own brand with a blog is an effective way to establish your identity, connect with your audience, and showcase your expertise. Here’s a step-by-step guide to help you get started:
(more…)in WordPress -
How to resolve bbPress Japanese URL issue
Problems with using Japanese URLs include decreased browser compatibility and negative effects on SEO. The solution is to use Post ID. Then, the URL will not contain Japanese characters, and the uniqueness of the URL will be guaranteed.
The implementation method is to use the Custom Post Type Permalinks plugin and specify %post_id% in the permalink settings. However, the Custom Post Type Permalinks plugin is old, so use it with caution. If you have any other new plugins, please let me know.
in WordPress