Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/theandersonn/wp-snippets

Code Snippet Library for WordPress
https://github.com/theandersonn/wp-snippets

php snippets wordpress

Last synced: about 1 month ago
JSON representation

Code Snippet Library for WordPress

Awesome Lists containing this project

README

        

# WP Snippets

> Code Snippet Library for WordPress

##### CSS
- [wp native](https://github.com/theandersonn/wp-snippets/blob/master/css/wp-native.css)

##### Dashboard
- [change footer admin](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/change-footer-admin.php)
- [change login label username](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/change-login-label-username.php)
- [change post label](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/change-post-label.php)
- [disable drag metabox dashboard](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/disable-drag-metabox-dashboard.php)
- [hide item menu dashboard](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/hide-item-menu-dashboard.php)
- [insert custom dashboard widgets](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/insert-custom-dashboard-widgets.php)
- [insert custom toolbar link](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/insert-custom-toolbar-link.php)
- [insert custom toolbar menu submenu](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/insert-custom-toolbar-menu-submenu.php)
- [insert user id column](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/insert-user-id-column.php)
- [remove dashboard widgets](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/remove-dashboard-widgets.php)
- [remove post meta boxes](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/remove-post-meta-boxes.php)
- [remove some menu items](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/remove-some-menu-items.php)
- [restrict admin access](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/restrict-admin-access.php)
- [send mail post pending](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/send-mail-post-pending.php)
- [show admin message](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/show-admin-message.php)
- [unregister default widgets](https://github.com/theandersonn/wp-snippets/blob/master/dashboard/unregister-default-widgets.php)

##### Errors
- [Turn off all error reporting](https://github.com/theandersonn/wp-snippets/blob/master/errors/turn-off-all-error-reporting.php)

##### Navigation
- [get description menu](https://github.com/theandersonn/wp-snippets/blob/master/navigation/get-description-menu.php)
- [insert breadcrumbs](https://github.com/theandersonn/wp-snippets/blob/master/navigation/insert-breadcrumbs.php)
- [insert breadcrumbs dimox](https://github.com/theandersonn/wp-snippets/blob/master/navigation/insert-dimox-breadcrumbs.php)

##### Page
- [insert tag pages](https://github.com/theandersonn/wp-snippets/blob/master/page/insert-tag-pages.php)
- [navigation between pages](https://github.com/theandersonn/wp-snippets/blob/master/page/navigation-between-pages.php)

##### Post
- [after all post content](https://github.com/theandersonn/wp-snippets/blob/master/post/after-all-post-content.php)
- [category count](https://github.com/theandersonn/wp-snippets/blob/master/post/category-count.php)
- [change post label](https://github.com/theandersonn/wp-snippets/blob/master/post/change-post-label.php)
- [count publish posts](https://github.com/theandersonn/wp-snippets/blob/master/post/count-publish-posts.php)
- [count view posts](https://github.com/theandersonn/wp-snippets/blob/master/post/count-view-posts.php)
- [custom excerpt length](https://github.com/theandersonn/wp-snippets/blob/master/post/custom-excerpt-length.php)
- [custom post type](https://github.com/theandersonn/wp-snippets/blob/master/post/custom-post-type.php)
- [custom post title length](https://github.com/theandersonn/wp-snippets/blob/master/post/custom-post-title-length.php)
- [custom result search](https://github.com/theandersonn/wp-snippets/blob/master/post/custom-result-search.php)
- [display last modified date](https://github.com/theandersonn/wp-snippets/blob/master/post/display-last-modified-date.php)
- [disable comments fields](https://github.com/theandersonn/wp-snippets/blob/master/post/disable-comments-fields.php)
- [embedded youtube responsive](https://github.com/theandersonn/wp-snippets/blob/master/post/embedded-youtube-responsive.js)
- [insert disqus](https://github.com/theandersonn/wp-snippets/blob/master/post/insert-insert-disqus.php)
- [insert more buttons editor](https://github.com/theandersonn/wp-snippets/blob/master/post/insert-more-buttons-editor.php)
- [pagination](https://github.com/theandersonn/wp-snippets/blob/master/post/insert-pagination.php)
- [rename post formats](https://github.com/theandersonn/wp-snippets/blob/master/post/rename-post-formats.php)
- [view popular posts](https://github.com/theandersonn/wp-snippets/blob/master/post/view-popular-posts.php)
- [shortcode](https://github.com/theandersonn/wp-snippets/blob/master/post/shortcode.php)

##### Robots.txt
- [robots.txt](https://github.com/theandersonn/wp-snippets/blob/master/robots/robots.md)

##### Theme Suport
- [activate maintenace mode](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/activate-maintenace-mode.php)
- [adjust image sizes attr](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/adjust-image-sizes-attr.php)
- [change default error messages](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/change-default-error-messages.php)
- [deregister jquery](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/deregister-jquery.php)
- [disable srcset](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/disable-srcset.php)
- [get theme information](https://github.com/theandersonn/wp-snippets/blob/master/get-theme-information.php)
- [hide usernames from comment class](https://github.com/theandersonn/wp-snippets/blob/master/hide-usernames-from-comment-class.php)
- [random error messages](https://github.com/theandersonn/wp-snippets/blob/master/random-error-messages.php)
- [register sidebar](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/register-sidebar.php)
- [remove default image thumbnails](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-default-image-thumbnails.php)
- [remove image size attributes](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-image-size-attributes.php)
- [remove junk header](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-junk-header.php)
- [remove max srcset image width](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-max-srcset-image-width.php)
- [remove recent comment style](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-recent-comment-style.php)
- [remove theme suport](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-theme-suport.php)
- [remove ver css js](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/remove-ver-css-js.php)
- [user check disables features](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/user-check-disables-features.php)
- [stop loading acf js and css all pages](https://github.com/theandersonn/wp-snippets/blob/master/theme-suport/stop-loading-acf-js-css-all-pages.php)

##### Tips
- [maintenace mode with splash](https://github.com/theandersonn/wp-snippets/blob/master/tips/splash/)

##### WP-config
- [wp config](https://github.com/theandersonn/wp-snippets/tree/master/wp-config)

##### .htaccess
- [.htaccess](https://github.com/theandersonn/wp-snippets/blob/master/htaccess/.htaccess)

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Questions and Suggestions
If you have any questions or suggestions , open an [issue](https://github.com/theandersonn/wp-snippets/issues/new) and send your feedback.

## License

[MIT](https://github.com/theandersonn/wp-snippets/blob/master/LICENSE-MIT.md) © [Anderson Nascimento](https://github.com/theandersonn)