Coder Social home page Coder Social logo

barhop's Introduction

Barhop

Barhop is a lightweight theme designed for Anchor CMS. Page templates are in minimal PHP and focus on the writing, not the extra stuff. Some features include:

  • Markdown and HTML editing in Anchor
  • Fully mobile-responsive design
  • Featured image included in blog list (see below for setup)
  • Flickr image credits automatcally added (see demo).
  • Post descriptions displayed on home page
  • Comment permalinks
  • Category article counts in the sidebar

See a live demo

Currently, the Barhop theme is only available for Anchor. I'm planning on porting it over to Wordpress if I can get around to it.

##Setup

There are a few customizations you'll need to make in order to take advantage of the features.

Featured Images

Barhop uses featured images to give a clean, modern look to your blog, but it must be enabled by the user. To do so:

  1. Create a new Custom Field under Extend > Custom Fields in your admin settings
  2. Enter the following in the form:
    • Type: post
    • Field: text
    • Unique Key: featured-image (this is the slug used by Anchor)
    • Label: Featured Image
  3. Click Update
  4. To set a featured image in the post editor:
    • Scroll to the bottom of the editor
    • Paste an image source URL into the Featured Image field.
    • Images can be static or animated GIFs.

If you do not set up a featured image, or don't set an image, a random color will be applied to the Home page and the post header.

Twitter

Anchor CMS is so light because it comes completely unconfigured.

Set up a reusable username variable:

  1. Create a new Custom Field under Extend > Site Variables in the admin settings.
  2. Enter the following in the config form:
    • Name: twitter_account
    • Value: yourusername - do not include '@'!

In the works...

Anchor is a work in progress, currently on version 0.9. I'm working on building out tagging of posts in addition to categories, sticky posts, and searchable pages.

Credits

This theme is built for Anchor CMS and uses the jPanelMenu library.

License

Barhop is created by Brian Bennett (2014) is licensed with The MIT License and is free to use, modify and distribute.

barhop's People

Contributors

systimotic avatar

Watchers

 avatar

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.