GithubHelp home page GithubHelp logo

headless_wp's Introduction

headless_wp

License: MIT

A minimal WordPress theme for headless installations of wp.

 

Features

  • Redirects frontend to Rest api.
  • Customizes dashboard and cleans the UI.
  • Customizes login page.
  • Adds two custom dashboard widgets to guide end-user.

 

Usage

  • If you have git installed git clone this repository or else download it.

    git clone https://github.com/emanueledancelli/headless_wp
  • Customize email in /inc/dashboard.php

    if( '[email protected]' !== $current_user->user_email)

    This is usually the admin login email who will retain access to the original interface without the UI elements removed.

  • Customize widgets body/name in /inc/widgets.php

    function custom_dashboard_widget_one() {
      echo '
        <p><a href=""></a></p>
        <p><a href=""></a></p>';
    }

    You can setup a link to provide easy access to the user to the relevan section of the dashboard.

    If you don't want to use the widgets just comment out

    require_once 'inc/widgets.php';

    in functions.php.

  • Customize error message and url in /inc/login.php.

    function error_override() {
      return 'your message goes here';
    }
  • Add your custom logo/screenshot.

    screenshot.png is the theme screenshot. logo.png will be displayed on login page.

  • Zip and upload to WP

    Installs as a regular theme.

 

Credits

Emanuele Dancelli - [email protected]

 

License

MIT

headless_wp's People

Contributors

emanueledancelli 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.