Home
Softono
b

bueltge

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
5

Software by bueltge

wordpress-basis-theme
Open Source

wordpress-basis-theme

# WordPress Basis Theme Basis provides a starting point for your theme development. ## Description Basis has been built to make theme development for WordPress easier. If you are an experienced theme developer or a total beginner, Basis provides a starting point for your theme development and give your the typically development with WordPress by use Hooks. Basis comes with a pre-defined set of templates, no styles or style-framework for pure development. The goal is an starter, not a framework that represent a lot of functions. So it is not necessary to remove topics. Start clean with only what you need with focus to the goal. Basis has an long tradition, development and maintenance since 2007. The new version with the codename `namespace` ;) is usable, but changed in the course of time. * The plugin use hooks, always started with a prefix, set via `Core` class, on default `wp_basis` inside the `Setup` class. * also the next string is the string of the template `wp_basis_single_` * the next string on the hook logic is 'before' or 'after' an element in the markup, sometimes 'content' - `wp_basis_single_before_content` * the `functions.php` is current only for loading all files inside the `inc` directory; * older solutions do you find in the `classes-old` in branch `stacker` * The theme supports [OpenSearch](http://www.opensearch.org/Specifications/OpenSearch) so that you should change, customize the `os.xml` file * The theme supports on default the ['Gutenberg'](https://wordpress.org/gutenberg/handbook/) Editor in a minimal focus, loading a style for the editor and theme support with custom collers, see the class `Gutenberg`. ## Child Theme Usage See the repository for a [starter kit](https://github.com/bueltge/wordpress-basis-theme-Child-Starter), a example. ## Installation ### Requirements * WordPress (also Multisite) version 3.3 and later * PHP 5.6 (use PHP namespaces) ### Composer Usage #### What is Composer? Composer is a dependency manager for PHP. Composer will manage the dependencies you require on a project by project basis. This means that Composer will pull in all the required libraries, dependencies and manage them all in one place. For a detailed description see [Composer Site](https://getcomposer.org/). #### Installation The plugin is available as Composer package and can be installed via Composer: ```shell composer create-project bueltge/wordpress-basis-theme --no-dev`. ``` The package is on [packagist](https://packagist.org/packages/bueltge/wordpress-basis-theme) and the package name is `bueltge/wordpress-basis-theme`. ### Grunt usage #### What is Grunt? Grunt is a JavaScript task runner. For a detailed description see [Grunt.js homepage](http://gruntjs.com/). #### Requirements * [Node.js](http://nodejs.org/) #### Installation It's quite simple. After Node.js installation, just run the following command (in the theme's folder, where the `package.json` file is located): ```shell npm install ``` The Node Package Management (npm) will read the `package.json` and will install all the packages listed in the `devDependencies` object. #### Usage By default, there's one main task configured: `default`. For configuration see `Gruntfile.js`. In the command line, you can run ```shell grunt ``` Grunt will watch all JavaScript and CSS files within the `assets` folder. If a file is changed and saved, Grunt will run `jshint` for JavaScript files and `cssmin` for CSS files automatically. Feel free to edit the configuration :) ## Other Notes ### Licence Good news, this theme is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. ### Contact & Feedback The theme base is designed and developed current by me ([Frank Bültge](https://bueltge.de)). Please let me know if you like the theme or you hate it or whatever ... Please fork it, add an issue for ideas and bugs. ### Disclaimer I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks

WordPress Themes & Plugins
66 Github Stars
multisite-global-media
Open Source

multisite-global-media

# Multisite Global Media [![Build Status](https://img.shields.io/travis/com/bueltge/multisite-global-media.svg?style=flat-square)](https://travis-ci.org/bueltge/multisite-global-media) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/bueltge/multisite-global-media/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/bueltge/multisite-global-media/?branch=master) [![Php Min Version](https://img.shields.io/packagist/php-v/bueltge/multisite-global-media.svg?style=flat-square)](https://packagist.org/packages/bueltge/multisite-global-media) [![MIT License](https://img.shields.io/github/license/bueltge/multisite-global-media.svg?style=flat-square)](./LICENSE) _Multisite Global Media_ is a WordPress plugin that shares media across the Multisite network. ## Description This small plugin adds a new tab to the media library, which allows you to share media from one site to all the other sites of the network. By default, the Site ID is set to '1'. You can set/change this Site ID via the filter hook `global_media.site_id` which is run in a custom plugin like so ```php add_filter( 'global_media.site_id', function() { return 1234; } ); ``` To get Global Media to work, please follow these steps: 1. Decide which blog/site will host the shared media for the network. 2. Add media to the media library for the chosen blog/site. 3. Find the Site ID of your chosen site by going to your Network WP Admin. In the left-hand menu, choose "All Sites", and then click on "edit" under the site you need. In the address bar, you will see `site-info.php?id=4` where the last number is the ID. ![Finding the site ID](./assets/images/screenshot-site-id.png) 4. If the Site ID of your chosen site is '1', then you don't need to make any changes. If it's a different ID number, then please read the section below about modifying the Site ID via hook and a custom plugin. Note: A useful enhancement in the Multisite context is the plugin [Multisite Enhancement](https://github.com/bueltge/wordpress-multisite-enhancements). It also helps to identify the site and get his site ID. ## Set your Site ID for the Global Mediathek If you need to change the default Site ID '1' to another value, then you can do so by creating a small custom plugin. 1. In `/wp-content/mu-plugins/` create a new folder `mgm-set-my-site-id`. 2. `In /wp-content/mu-plugins/mgm-set-my-site-id/` create a new file `mgm-set-my-site-id.php`. 3. Add the following content to 'my-plugin.php'. Change the return value to your chosen Site ID. ```php <?php /** * Plugin Name: Multisite Global Media Site ID * Plugin URI: https://github.com/bueltge/multisite-global-media/ * Description: Set my Multisite Global Media site in the network. * Version: 1.0.0 * Network: true */ add_filter( 'global_media.site_id', function() { return 1234; } ); ``` 4. Activation is not necessary if you store this plugin inside the [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins) directory /wp-content/mu-plugins/. ## Installation ### Manual * Download the plugin as zip (available inside the [release](https://github.com/bueltge/multisite-global-media/releases)), use a clone of the repo or use Composer, see below. * Install the plugin in your environment, recommend as [Must Use plugin](https://codex.wordpress.org/Must_Use_Plugins). * Optional: See here for a quick [hint](https://github.com/bueltge/must-use-loader) for a helping solution [Must Use Loader](https://github.com/bueltge/must-use-loader). This plugin is not necessary, but helpful if you use more as one plugin as Must Use plugin and use it in sub-directories. * Set the Site ID for the Global Media Library, see above the description to change the ID with a hook in a custom plugin. * Active the plugin for the whole network if you don't store it as Must Use Plugin. ### Composer The plugin is also available as [Composer package](https://packagist.org/packages/bueltge/multisite-global-media). ```bash composer require bueltge/multisite-global-media ``` ## Screenshots ![Media Modal](./assets/images/screenshot-1.png) ![Usage in Featured Image](./assets/images/screenshot-2.png) ## Contributing Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. 1. Fork the Project 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) 3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) 4. Push to the Branch (`git push origin feature/AmazingFeature`) 5. Open a Pull Request ## Other Notes ### Bugs, technical hints or contribute Please give me feedback, contribute and file technical bugs on this [GitHub Repo](https://github.com/bueltge/Multisite-Global-Media/issues), use Issues. ### License Good news, this plugin is free for everyone! Since it's released under the GPLv2+. ### Contact & Feedback The plugin is designed and developed by [Frank](https://bueltge.de) and team members from the [Syde](https://syde.com/) crew. Special thanks and praise to Dominik Schilling and Guido Scialfa for his help and engagement. Please let me know if you like the plugin or you hate it or whatever. Please fork it and improve the plugin. However, see the contributing note above. Add an issue for ideas and bugs. Also, we say thank you for improvements in the documentation and help in the support.

WordPress Themes & Plugins
231 Github Stars
debug-objects
Open Source

debug-objects

# Debug Objects The WordPress Plugin *Debug Objects* provides a large number of information: query, cache, crons, constants, hooks, functions and many more. ## Description The Plugin Debug Objects provides the user, which has the appropriate rights, normally the administrator, a large number of information: query, cache, crons, constants, hooks, functions and many many more. Values and content get displayed at the frontend and backend of the blog, to analyze errors but also to better understand and develop with/for WordPress. *The Plugin provides in various tabs information to:* * PHP * Memory usage * Load Time * Included Files * Operating System * Server * WordPress Version * Language * Very extensive definitions of various constants * Cookie definitions * Separate user and usermeta tables * FTP and SSH definitions * WP Requies, only data with values, for the current request * Detailed Query information * Query information about the active plugins, nice to identifier the longrunners on the plugins * Query information about all queries from `wp-content`-directory * Conditional tags; value of the tag * Roles and his capabilities * Theme information * HTML Inspector is a code quality tool to check markup. Any errors will be reported to the console of the browser. This works only on front end. use [HTML Inspector](https://github.com/philipwalton/html-inspector) * Translation debugging helper * Template Information * Cron content and his functions to an cron * Cache content * Hooks and filters * All options from table, for single and multisite installation * Rewrites, a list of cached rewrites and the rule * Time values for inspect Permalink Rules * Current screen information to find the right backend page and hook * List Custom Post Type Arguments * Functions, which respond on hooks and filters * Contents of arrays to hooks and filters * All defined constants * All classes * All shortcodes * List transients * Post Meta data * See data from `$_POST`; `$_GET` and debug backtrace before rewrite; usefull for forms in backend * Run WordPress in default mode via url-param * Support [WP Fields API](https://github.com/sc0ttkclark/wordpress-fields-api) * WooCommerce, list current hooks and template arguments. * and many more ... The plugin does not filter values and should only be used for information and optimization, I don't recommended to use it on a live blog. For developers it can rapidly deliver data, which is useful in a development environment. There are no data in the database and there are no settings. Therefore, the installation is pretty simple: Just upload the Plugin in the Plugin directory or use the automatic installation of the backend to install and activate the Plugin. In the footer of the frontend of the blog, you can see the information. ## Wiki, How to The repository have an wiki to list helpful content, recurrent questions and similar. You find the [Wiki](https://github.com/bueltge/debug-objects/wiki) on github. ## Installation ### Requirements * WordPress (also Multisite) version 3.3 and later (tested at 3.9-beta) * PHP 5.2.4; min. PHP 5.3 preferred ### Installation 1. Unpack the download-package 1. Upload the file to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Go to *Tools* -> *Debug Objects* and change settings or read instructions for use with url params 1. Ready ## Screenshots ![Settings Screenshot in WordPress 3.8 alpha][screenshot] [screenshot]: assets/screenshot-1.png "Settings in WordPress 3.8 alpha" * [The setting and cron information, in WordPress 3.8](assets/screenshot-1.png) * [Fired Hooks of the current back end page, in WordPress 3.8](assets/screenshot-2.png) * [The cron information, in WordPress 3.3](assets/screenshot-3.png) ## Other Notes #### License Good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin, you can thank me and leave a [small donation](http://bueltge.de/wunschliste/ "Wishliste and Donate") for the time I've spent writing and supporting this plugin. And I really don't want to know how many hours of my life this plugin has already eaten ;) #### Contact & Feedback The plugin is designed and developed by me [Frank Bültge](http://bueltge.de) Please let me know if you like the plugin or you hate it or whatever ... Please fork it, add an issue for ideas and bugs. #### Use & Thanks * [SqlFormatter](https://github.com/jdorn/sql-formatter) is a lightweight php class for formatting sql statements. #### Disclaimer I'm German and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical farts. Thanks #### Changelog * [see on the page](http://wordpress.org/extend/plugins/debug-objects/changelog/) * or see the [commits](https://github.com/bueltge/Debug-Objects/commits/master)

Developer Tools WordPress Themes & Plugins
105 Github Stars
wp-rest-api-filter-items
Open Source

wp-rest-api-filter-items

# WP REST API Filter Items [![Unit Tests](https://github.com/bueltge/wp-rest-api-filter-items/workflows/PHP%20Unit%20Tests/badge.svg)](https://github.com/bueltge/wp-rest-api-filter-items/actions) [![Build Status](https://travis-ci.org/bueltge/wp-rest-api-filter-items.svg?branch=master)](https://travis-ci.org/bueltge/wp-rest-api-filter-items) [![Code Climate](https://codeclimate.com/github/bueltge/wp-rest-api-filter-items/badges/gpa.svg)](https://codeclimate.com/github/bueltge/wp-rest-api-filter-items) [![License](https://poser.pugx.org/bueltge/wp-rest-api-filter-items/license)](https://packagist.org/packages/bueltge/wp-rest-api-filter-items) A WordPress plugin to filters [WordPress REST API](http://wp-api.org/) items for your request. Its removing key and values from WP API response on your request. ## Description Per default, a post via WordPress REST API would fetch all data in `wp-json/wp/v2/posts`. For many reasons, you might want to exclude certain fields from WP API response in certain circumstances. This plugin enables you to filter your request for fields you require. Add items to the `GET` attribute on the url, like `wp-json/wp/v2/posts?items=id,title,content` in order to get only according field values. The plugin currently supports the filtering of post, taxonomy and comments. ## WP-API Versions * __Use the branch [`wp-api-v1`](tree/wp-api-v1) if you use WP-API Version 1.__ * The **`master` branch** is for development, currently ready and open for feature requests for the **WP API Version 2**. ## Installation Install static via download, clone the repository or use dependency management via Composer `composer require bueltge/wp-rest-api-filter-items` ## Examples #### Result for post: `wp-json/wp/v2/posts?_wp_json_nonce=4355d0c4b3&items=id,title,content` ```json [ { "id": 1, "title": { "rendered": "Hello world!" }, "content": { "rendered": "<p>Welcome to <a href=\"http://localhost/wpbeta/\">WP Beta Dev Sites</a>. This is your first post. Edit or delete it, then start blogging!</p>\n" } } ] ``` #### Result for taxonomy: `p-json/wp/v2/taxonomies/category?_wp_json_nonce=4355d0c4b3&items=name,slug,types`. ```json { "name": "Categories", "slug": "category", "types": [ "post", "archiv" ] } ``` #### Result for comments: `wp-json/wp/v2/comments?items=id,author_name` ```json [ { "id": 1, "author_name": "Mr WordPress" }, { "id": 2, "author_name": "admin" } ] ``` ## Requirements * PHP 5.4 * WordPress 4.* * WP REST API ## Kudos Thanks @dnaber-de for his [modular, extendable PHP autoloader](https://github.com/dnaber-de/Requisite).

WordPress Themes & Plugins API Tools
64 Github Stars
wp-offline
Open Source

wp-offline

# Offline Mode for WordPress Block external calls, like HTTP, for scripts, styles, and updates. Helpful for local development, audits, and also for intranet solutions. ## Description Deactivate auto-update for core, plugins, themes, and HTTP calls. Also, it replaces all instances of Gravatar services with an empty value. ### License The good news, this plugin is free for everyone! Since it's released under the GPL, you can use it free of charge on your personal or commercial blog. ### Contact & Feedback The plugin is designed and developed by me [Frank Bültge](https://bueltge.de) Please let me know if you like the plugin, or you hate it or whatever. Please fork it, add an issue for ideas and bugs. ### Disclaimer I'm German, and my English might be gruesome here and there. So please be patient with me and let me know of typos or grammatical parts. Thanks

Developer Tools WordPress Themes & Plugins
47 Github Stars