Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/heitorspedroso/wp-developer-theme

Esse Tema foi desenvolvido para ser uma ferramenta rápida na mão do desenvolvedor, através dele o desenvolvedor já pode criar o tema sem se preocupar com a estrutura de arquivos que já está pronta e com loops pré-definidos sem influencia em html/css
https://github.com/heitorspedroso/wp-developer-theme

Last synced: 18 days ago
JSON representation

Esse Tema foi desenvolvido para ser uma ferramenta rápida na mão do desenvolvedor, através dele o desenvolvedor já pode criar o tema sem se preocupar com a estrutura de arquivos que já está pronta e com loops pré-definidos sem influencia em html/css

Awesome Lists containing this project

README

        

# WP Developer Theme - WordPress #

## Version 2.0 - WITH GULP

Descrição em Português
Esse Tema foi desenvolvido para ser uma ferramenta rápida na mão do desenvolvedor, através dele o desenvolvedor já pode criar o tema sem se preocupar com a estrutura de arquivos que já está pronta e com loops pré-definidos sem influencia em html e pouca influência em css

Description in English
This theme is designed to be a quick tool in the developer's hand through it the developer can now create the theme without worrying about the file structure that is ready and pre-defined loops without influence in html and little influence on CSS

Addons

*RESET CSS (a reset in css to have no differences between browsers)*
- RESET CSS -> declared in /inc/enqueues.php

*Bootstrap GRID (a bootstrap grid-only version)*
- Bootstrap GRID CSS -> declared in /inc/enqueues.php

*Yoast SEO Breadcrumb (https://yoast.com/wordpress/plugins/breadcrumbs/)*
- Breadcrumb -> declared in archive.php | taxonomy.php | category.php | page.php | single.php
(if the YOAST SEO plugin is not enabled, you will have no problem in your theme, just will not show up)

## Best Pratices for this theme

### GULP
> 1. Install with comands: npm install gulp / npm install gulp-sass / npm install gulp-rename
> 2. Run in the root folder of theme: gulp
> 3. After run gulp: an already mined css file will be saved in /wp-developer-theme/assets/css/
> 4. A query-only file CSS will be saved in /wp-developer-theme/css-dev/

### CSS FILES CALLS
> 1. Always try to individualize the css files for better maintenance in the future using the 'conditional styles' of the file 'enqueues.php'
> 2. Example THAT IS ALREADY IN THE FILE '/inc/enqueues.php' and it should be used:
```sh

```

### JS FILES CALLS
> 1. The JS file other than CSS, instead separating into multiple files, maintain the file structure 'main.js' by firing functions according to the body class you need
> 2. If you need to import another JS file, import using conditions, as in CSS, in the file '/inc/enqueues.php'
> 3. DO NOT CARE ANY OTHER FILE JS WITHOUT BEING THROUGH THIS PATH
> 4. NEVER CALL ANOTHER JQUERY, THE DECLARATION OF MORE OF A JQUERY CAUSES CONFLICT, AND THE ISSUE ALREADY HAS A JQUERY DECLARED IN THE FILE 'ENQUEUES.PHP'
> 5. Example THAT IS ALREADY IN THE FILE '/inc/enqueues.php' and it should be used:
```sh

```