Download the PHP package nikitaglobal/wptheme without Composer

On this page you can find all versions of the php package nikitaglobal/wptheme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wptheme

nikita.global WP theme

This package is to make WordPress theme development easier. I have created it for my needs, but it might be useful for you too.

Features:

Basic installation

  1. In installed and working WordPress create your theme folder in wp-content/themes.
  2. Run composer require nikitaglobal/wptheme in it.
  3. Run sh vendor/nikitaglobal/wptheme/bin/mktheme or copy vendor/nikitaglobal/wptheme/toTheme files to your theme folder.
  4. Rename theme.php.sample to theme.php and edit it.

theme.php Configuration

The theme.php file contains all theme configuration constants:

Example:

Menus

Method Wptheme\Menu::items( 'topmenu' ) returns array of WP Objects for menu items for topmenu location. Also the object has extra keys:

Example:

Tags

For single post

Wptheme\Theme::tags( $pid = false ) - Returns array of tags for the current post or specified post ID. Each tag contains:

Returns false if no tags found.

Example:

Social Sharing

Wptheme\Theme::share( $network, $link = false ) - Get share URL for social networks.

Supported networks: fb (Facebook), vk (VKontakte), tg (Telegram).

Example:

Utility Methods

Get Current Link

Wptheme\Theme::get_current_link() - Returns current page URL with query parameters.

Script Path

Wptheme\Theme::script_path( $file ) - Converts relative file path to absolute URL. If path starts with http, returns as is.

Version

Wptheme\Theme::version() - Returns theme version. In debug mode (WP_DEBUG), returns current timestamp for cache busting.

Hooks and Filters

The theme automatically registers hooks and filters based on method naming conventions in your NgTheme class:

nikita.global

Changelog

[v2.22] - 2025-11-17

Fixed

[v2.21] - 2025-11-17

Fixed

[2.19] - 2025-11-17

Changed

[v2.18] - 2025-11-17

Changed

[v2.17] - 2025-06-14

Added

[v2.16] - 2025-06-08

Fixed

[v2.15] - 2025-06-06

Changed

[v2.14] - 2025-05-31

Changed

[v2.13] - 2023-05-18

Fixed

[v2.12] - 2023-01-13

Added

[v2.11] - 2022-12-25

[v2.1] - 2022-12-25

Fixed

[v2.0] - 2022-12-25

Added

Fixed

[1.9] - 2022-04-21

[1.8] - 2022-04-21

Changed

[1.7] - 2022-02-07

[1.6] - 2021-06-15

[1.5] - 2020

Added

[1.4] - 2020

[1.3] - 2020

[v1.2] - 2020

Changed

[v1.1] - 2020

Changed

[v1.0] - 2020

Added


All versions of wptheme with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
htmlburger/carbon-fields Version ^3.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nikitaglobal/wptheme contains the following files

Loading the files please wait ...