intermediate

Git Push with WPEngine

WPEngine’s Git Push integration is a great development tool. Here are some tips to help you get started.

Display menu items with equal widths

Normally if you use percentage-based widths and add new menu items, you need to go edit CSS. This approach automatically updates the CSS based on the number of menu items present.

Customize which menu item is marked active

Use this filter to customize the CSS classes on menu items. For instance, make “Blog” active if you’re on the blog homepage, category archive, or a single post.