Just had a request for automagically creating content when you activate a theme. Here’s how to do it with a PLUGIN as well!
Author: Sharon
Hello there! I'm a web developer in Louisville, Kentucky. I started on this career path by purchasing an O’Reilly PHP book from Barnes & Noble in 1999. Since then, my desire to learn as much as I can about web site building and server maintenance has grown. I love technology and what it can do to simplify our lives and make it more interesting all at the same time. Seeing a creative design come to life and bringing it into the web world is my favorite puzzle to solve.
My server experience is based around launching WordPress-friendly servers — Linux (Ubuntu and Centos flavors), Apache, MySQL, and PHP. I have worked with various modules, extensions, installs such as ImageMagick, LetsEncrypt, Sass, LESS, and the Homebrew family of extension.
My main love has been with PHP, and my CMS of choice has been WordPress since its inception in 2003. I find it flexible, secure, easy to design around, and so customizable. My strengths are in developing from-scratch plugins and themes for the WordPress CMS with a strong background in PHP and MySQL development.
Add content on theme activation!
Here’s a really cool code snippet for automagically creating content when you activate a theme!
Passwords
Constantly getting hacked? Here’s a quick bit of help.
Set a Dashboard Logo
This snippet of code will allow you to customize your WordPress dashboard logo.
Menu
Once you have some content pieces available, you can start building the menu. Go to Appearance > Menus and create a menu (give it any name you wish, this is only visible to us). Click “Create Menu”. Now, you’ll be given the option to chose a Display location for the menu. Check “left top menu” to get started. To…… Continue reading Menu
How to Create a Category
Go to Posts > Categories Available areas: NameSlug (is automatically generated from the name; can be customized)Parent category (if you plan to ‘nest’ your categories)Description (used to add a small bit of content to the top of a category’s page)Need more info? Try here: https://wordpress.org/support/category/basic-usage/