Coder Social home page Coder Social logo

brainstormforce / bsf-docs Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 5.0 483 KB

A plugin to add documentation on your websites. Works best with Astra theme.

Home Page: http://wordpress.org/plugins/bsf-docs

JavaScript 9.81% CSS 19.31% PHP 70.87%
documentation-tool wordpress wordpress-plugin

bsf-docs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bsf-docs's Issues

404 in css style link

The style wp-content/plugins/bsf-docs/assets/css/frontend.css?ver=5.9

links to

url('../fonts/docswp.svg?61dqmw#docswp') format('svg');

which is non-existent.

Add some action hooks for theme/plugin integration and devs

I suggest adding a few hooks here and there in the packaged template files. This would avoid fiddling with templates in the theme (I like it lean and clean). Some action hooks would be enough.

The first one I suggest is for breadcrumb functionality - just after your existing Yoast Breadcrumb integration.
something like: do_action( 'bsf_docs_after_doc_title' );

I added this manually in my project and working fine - currently juse Justin Tadlocks "Breadcrumb Trail" with it - perfect :)

I could do this as a Pull Request also if you're fine with that? ;-)

Try to use less options when saving the data

Right now the plugin is using these options -

'bsf_override_single_template'
'bsf_override_category_template'
'bsf_ls_enabled'
'bsf_search_has_comments'
'bsf_doc_title'
'bsf_search_post_types'
'bsf_ls_enabled'
'bsf_search_post_types'
'bsf_override_single_template'
'bsf_override_category_template'
'bsf_search_has_comments'
'bsf_doc_title'
'bsf_search_has_comments'

All these options can be stored in single option in the form of an array.

You can create a local method to retrieve single option values eg - here

Related Posts below articles.

  1. We can ask admin to add related posts manually through a meta box or so..
  2. Or โ€” recommend an existing third party plugin that admin can install which already has good Related Posts functionality.

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.