• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Search

wordpress

Change WordPress URL

June 6, 2021

There are multiple ways to change URL in WordPress.

Here’s one via wp-config.php.

define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );

define( 'WP_HOME', 'http://example.com' ); define( 'WP_SITEURL', 'http://example.com' );

If you have a redirect in Apache, comment it out.

#Redirect permanent / https://yourdomain.com/

#Redirect permanent / https://yourdomain.com/

This is by far the easiest way to change URL in WordPress.

Filed Under: Linux, WP Tagged With: change, config, url, wordpress, wp-config.php

Disable Gutenberg

February 27, 2021

Two years ago, WordPress introduced Gutenberg block editor together with the release of WordPress version 5.0. Gutenberg essentially became the default editor starting with WordPress version 5.0. While many people love the Gutenberg editor, some people hate it. If you’re one of the many people who hate the Gutenberg editor, you can simply disable it by installing a plugin called Disable Gutenberg. This plugin will revert back to the classic editor.

Once installed, you should be able to see the Classic editor.

After working with Gutenberg for so long, I forgot the speed and agility of the classic editor. It’s much faster.

Filed Under: WP Tagged With: classic, disable, editor, gutenberg, wordpress

SendGrid with WordPress

November 18, 2020

If your instance is not configured to send out email, you have several options to choose from. One option is to use a service called SendGrid. You can sign up on their site and obtain an API key. To start using with WordPress, you simply install a plugin called WP Mail SMTP and supply the API key on the plugin and off you go. I use Contact Form 7 to send out email from a form. There are no issues using Contact Form 7 and SendGrid. In addition to SendGrid, the plugin also works with other email providers such as AWS, Gmail, Outlook, Zoho, Mailgun to name just a few.

Filed Under: Linux Tagged With: contact form 7, email, form, sendgrid, smtp, wordpress, wp mail smtp

Disable Post Title in Genesis

September 13, 2020

Here’s how to disable the post title in Genesis WordPress themes. Add code in themes.php.

add_filter( 'genesis_link_post_title', '__return_false' );

add_filter( 'genesis_link_post_title', '__return_false' );

Filed Under: WP Tagged With: disable, genesis, link, post, theme, title, wordpress

Custom Breadcrumbs

September 13, 2020

I’ve customized my breadcrumbs. Add code to functions.php.

add_filter('genesis_breadcrumb_args', 'customize_breadcrumbs');
function customize_breadcrumbs($args) {
    $args['labels']['prefix'] = 'Home';
    $args['home'] = '';
    $args['sep'] = '/';
    return $args;
}

add_filter('genesis_breadcrumb_args', 'customize_breadcrumbs'); function customize_breadcrumbs($args) { $args['labels']['prefix'] = 'Home'; $args['home'] = ''; $args['sep'] = '/'; return $args; }

Now it doesn’t say Home/Home on the front page.

Filed Under: WP Tagged With: breadcrumbs, customize, wordpress

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 5
  • Go to Next Page »
  • Home
  • About
  • Search

Copyright © 2023