Giter Club home page Giter Club logo

blog's Introduction

blog.jgrossi.com

This is the code used on my personal blog on https://blog.jgrossi.com.

Blog screenshot

Structure

This blog uses Composer for dependencies. The only dependency the blog has for now is phpdovenv package. So please run:

composer install

All plugins and the base theme are installed using Composer as well. So you won't find the base theme and plugins installed in wp-content/themes and wp-content/plugins folders.

Configuration

Rename .env.example to .env and onfigure it with your own credentials, like database, URL, etc.

Inside the /public folder you'll see a basic WordPress installation, except the fact the wp-config.php is configured to include the /bootstrap.php file and use getenv() to get environment variables from phpdotenv package.

Child theme

I use the twentyfifteen theme with some modifications.

CSS changes

I decrease the font size a bit, so you can see some changes on twentyfifteen-child/style.css file.

I also decrease the logo size, which I'm using with my profile image.

I also created a new .post-date section, just below the title, to display the published and updated date. You can use both dates or just the published one.

Behavior changes

I changed how the featured image is displayed. I overrided the twentyfifteen_post_thumbnail() function on twentyfifteen-child/functions.php to send the image to below the title, using by default the large size, adding also some custom CSS rules.

Licence

MIT License © Junior Grossi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.