Skip to content

Imoptimal/wp-how-to-website

Repository files navigation

wp-how-to-website

Instructions:

  • Install wordpress locally, using Local by Flywheel - PHP version must be > 7.4 (Simply Static plugin requires it).
  • Adjust settings in admin dashboard:
    • General - set title to "'WP How to' WordPress Tutorial Videos"; set tagline to "Build advanced websites with ease"
    • Discussion - check off "Allow people to submit comments on new posts"
    • Permalinks - rename category to "tutorials"; set custom structure to "/%category%/%postname%/"
    • Edit profile - set first name to 'WP How to', last name to 'WordPress Tutorial Videos', nickname to 'WP How to - WordPress Tutorial Videos', and choose publicaly displayed name 'WP How to - WordPress Tutorial Videos'
  • Add post categories:
    • Plugin Tutorials (slug: wordpress-plugin)
    • How to Tutorials (slug: wordpress-topic)
  • Download the latest official wordpress theme (parent) and activate the customized child theme:
    • Open full site editor and edit header:
      • Add site logo to header (resize uploaded logo to width of 150px) - to the left position
      • Add navigation ('How to Tutorials' and 'Plugin Tutorials' category page, 'WP HOW TO - WordPress plugin' - absolute path to plugin - open in new tab) - to the right position
    • Edit footer:
      • Add columns block ('WP HOW TO - WordPress plugin' - absolute path to plugin. subdomain, 'Privacy Policy' - absolute path to plugin. subdomain policy page - open all in the new tab) - to the left position
      • Add text 'Designed & developed by Imoptimal' (homepage link) - to the right position
  • Install plugins:
    • Simply Static
    • RPD (my own)
  • Run RPD three steps:
    • NOTE: After the second step, check json file folders for small files (aprox under 1 kb), and delete those with empty 'youtubeVideos' array, so the third step can run smoothly.
    • In the third step do plugin tutorials first (how to items will remain as the latest posts).
  • Convert webiste to static using Simply static plugin (Set relative paths - avoiding issue with website resources).
  • Upload here.
  • Create 404.html file here on GitHub website, and populate it with needed elements.
    NOTE! When updating repository, delete all static files except 404.html, CNAME, LICENSE, sitemap.xml, README.md, robots.txt, and then upload all of the static files generated by Simply Static!

About

wphowto.tv (WordPress Tutorial Videos) - Static website made with hand-coded custom theme (child theme of the official Twenty Twenty-Two WordPress theme).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages