WordCamp Baltimore 2018

Yeah, I went back to Baltimore for WordCamp this year.  It was so much fun! I know I travel to a lot of WordCamps (a lot compared to some) but Baltimore is definitely one of my favorites.

There were some great talks on Gutenberg, the scary, upcoming, huge change that everyone is afraid of.  I don’t think it will be as big of a deal as people are saying it will be.  I feel ready for the changes (and possibly challenges) that Gutenberg may present in November.

WordCamp St Louis 2018

This past weekend I was in St. Louis Missouri attending Wordcamp.  Although it was one of the smaller WordCamps I have been to, the organizers made up for that in by having quality talks.

I missed the gutenberg talk but I did go to a talk about debugging tools for WordPress sites and I found that to be very useful.  Obviously I was already aware of many of the tools but the speaker went in depth about how to best use the tools in ways that I had never done.

Also in St. Louis was good food (this small not-well known diner called the Golden Pancake) and of course the arch which I visited before going home.  All in all it was a fun trip.

The certbot  command has been called certbot , certbot-auto , and  letsencrypt .  If one of these commands does not do anything on your server, try substituting in another one.  The result of choosing the wrong one would just be a “command not found” error so you can try executing each command by itself to see which version you have installed.

The recommended way to renew certificates is

If you do want to renew a specific certificate manually, you can use certbot certonly --force-renewand specify all of the associated domains with -d (e.g., certbot certonly --force-renew -d example.com -d www.example.com if both of those domains are part of the certificate.

Add this to your theme’s functions.php file (replace ‘benpage’ with the title or the id of the page you wish to enqueue the stylesheet on):

 

function brothman_enqueue_special() {
// only enqueue on product-services page slug
if ( is_page( ‘benpage’ ) ) {
wp_enqueue_style( ‘stylesheet_name’, get_stylesheet_directory_uri() . ‘/library/css/stylesheet.css’ );
}
}
add_action( ‘wp_enqueue_scripts’, ‘brothman_enqueue_special’ );

Install Laravel Valet

This information is from their site, I am just breaking it down a little more:

  1. Install or update Homebrew to the latest version using brew update.
  2. Install PHP 7.2 using Homebrew via brew install homebrew/core/php.
  3. Install Valet with Composer via composer global require laravel/valet.
  4. Add ~/.composer/vendor/binto your system’s “PATH” var.
  5. Run the valet install command. (This will configure and install Valet and DnsMasq, and register Valet’s daemon to launch when your system starts.)

Add this to your theme’s functions.php file:

get the slug by inspecting the button and using the part in the id after “wp-admin-bar-“

Add this to your themes functions.php file:

Parameters

$menu_slug

(string) (required) The slug of the menu (typically the name of the PHP script for the built in menu items; example: edit-comments.php)

Default: None

 

 

Uninstall Laravel Valet

Uninstall valet using composer (asssuming you installed valet with composer in the first place)
$ composer global remove laravel/valet

You must now uninstall the dependencies installed with the Homebrew.  To see what is installed by Brew, run:
$ brew list
dnsmasq and php7X are dependencies, so if you want to fully uninstall everything that is and is used by valet, you may want to uninstall these two packages too:
$ brew uninstall dnsmasq
and
$ brew uninstall php70
Then go to your user directory and delete the .valet hidden directory or run the terminal command like so:
$ sudo rm -r ~/.valet

Upgrade Valet

If you already have an older version of valet:

$ valet stop

$ valet uninstall

To install the new version:
$ valet install
Restart MySQL:
$ sudo mysql.server start