Functions

Quick and dirty way to know a variable value.

debug(mixed $var) 

It uses the last changed mode.

package debug
version 1.0.0

Parameters

$var

mixed

the variable to be dumped

Quick and dirty way to know the assets list at the end of the page

debug_assets() 
package debug
version 1.0.0

Quick and dirty way to know the stack trace of a deprecated function

debug_deprecated() 
package debug
version 1.0.0

Build a URL.

http_build_url(array $parsed_url) : string

The parts of the second URL will be merged into the first according to the flags argument. PECT_HTTP is usually missing on many environment. This function provides the same feature as the function included in PECT_HTTP.

see http://php.net/manual/en/function.http-build-url.php
package core

Parameters

$parsed_url

array

the array to be merged

Returns

stringthe url

twitteroauth_header()

twitteroauth_header($header) 

Parameters

$header

twitteroauth_row()

twitteroauth_row($method, $response, $http_code, $parameters) 

Parameters

$method

$response

$http_code

$parameters

Quick and dirty way to know a variable value Usefull in a loop cause it doesn't break the execution with die

v(mixed $var) 
package debug
version 1.0.0

Parameters

$var

mixed

the variable to be dumped

Quick and dirty way to know a variable value in a production enviroment vc stays for <b>v</b>ar_dump() on a <b>c</b>omment

vc(mixed $var) 
package debug
version 1.0.0

Parameters

$var

mixed

the variable to be dumped

Quick and dirty way to know a variable value vd stays for <b>v</b>ar_dump() and <b>d</b>ie()

vd(mixed $var) 
package debug
version 1.0.0

Parameters

$var

mixed

the variable to be dumped

Fill the default credit line in the footer

wordpress_theme_utils_credits() : string

Returns

string

Automatic initialization for the framework settings

wordpress_theme_utils_initialize_hook() 
package core
version 1.0.0

Initializes the WordPress Theme Utils.

wtu_init() 

Use this in your child theme functions.php

Classes and interfaces

AjaxImageGenerator

Hooks the ImageGenerator class to admin-ajax action

« More »

AutomaticAssetsManager

Manages the assets

« More »

ClassAutoloader

Autoload needed classes

« More »

DebugUtils

Utils to debug the code while writing it.

« More »

DefaultAssets

Register some useful assets in WordPress

« More »

DefaultAssetsCDN

Registers some assets from public available CDNs: ajax.googleapis.com cdnjs.cloudflare.com cdn.jsdelivr.net

« More »

EscapeRoute

Manages the navigation links on a 404 page

« More »

FeatureWithAssets

Manages the assets loading for a feature.

« More »

ForceDownload

Force an attachment to be downloaded

« More »

GMapDataRetriever

Retrieves GMaps data for the gmap.js integration

« More »

GalleryHelper

Manages the markup for a generic set of images Extend this with your nice and candy classes!

« More »

GaussianMath

The following object is used to compute numbers with a gaussian distribution

« More »

GeneratorDictionary

Maintans a set of words for a sentences generator

« More »

HashAnchorWalkerNavMenu

Menu Walker to have the la tocke of the url as hash ex: http://www.fastbooking.net/clients/#africa

« More »

HeadHelper

Some helper for the code inside tag

« More »

Hotel

« More »

HotelManager

Manages multiple hotels in a single website

« More »

HtmlBuilder

Inner class to build some very basic html nodes

« More »

HtmlHelper

Helper class useful to generate some html tags

« More »

ImageGenerator

Generates paceholder images

« More »

ImagePreload

Takes care of image preloading with jQuery imagesloaded

« More »

ImageProgressiveLoading

Takes care of image sequential loading with jQuery Cycle 2

« More »

LevelWalkerNavMenu

Adds the level for the current menu element

« More »

LinksManager

Manages the links subsection

« More »

LipsumGenerator

Generates Lorem Ipsum text

« More »

LoremIpsumDictionary

Stores the dictionary for generating 'Lorem ipsum.

« More »

MergedSlideshow

Merge all the images into a big one and serve it as div background

« More »

MinigalleryBigImageWithThumbs

Manages the markup for the minigallery with a big image and some small thumbs

« More »

MinigalleryThumbsLinkToBig

Generates a list of thumbnail each one is an anchor to the image with 'full' media dimensions.

« More »

NewBlogInitializator

Fills the brand new blog with starting data

« More »

OAuthConsumer

« More »

OAuthDataStore

« More »

OAuthException

« More »

OAuthRequest

« More »

OAuthServer

« More »

OAuthSignatureMethod

A class for implementing a Signature Method See section 9 ("Signing Requests") in the spec

« More »

OAuthSignatureMethod_HMAC_SHA1

The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.

« More »

OAuthSignatureMethod_PLAINTEXT

The PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS.

« More »

OAuthSignatureMethod_RSA_SHA1

The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for EMSA-PKCS1-v1_5.

« More »

OAuthToken

« More »

OAuthUtil

« More »

OffersManager

Manage the Offers linked to the booking engine by promo code

« More »

OneImageForAll

Merges all images of a gallery in only one and serve it as a sprite Important: every image have the same sizes and jpeg quality.

« More »

PhotogalleryThumbWithFancybox

Manages images and markup for a photogallery where clicking on a little thumb opens the big image in fancybox

« More »

RemoveSpacesWalkerNavMenu

Remove spaces and newlines from the current menu.

« More »

RuntimeInfos

Manages a set of info to be printed as a json generally at the endo of the page

« More »

ShortcodeForTabs

Manages tabs design with shortcodes.

« More »

ShowItemExcerptWalkerNavMenu

Shows the title, the post thumbnail and the excerpt for every menu entry.

« More »

ShowTitleThumbExcerptWalkerNavMenu

Shows the title, the post thumbnail and the excerpt for every menu entry.

« More »

ShowcaseSlider

Manages the markup for a generic set of images Extend this with your nice and candy classes!

« More »

SimpleFieldsQuickConfig

Perform a quick configuration for Simple Fields plugin

« More »

SpecialOffersSnippet

Manages the integration of the special offers snippet

« More »

SpecialOffersSnippetAjax

Hook to WP Ajax system to get the special offers snippet url

« More »

SubstitutionTemplate

Manages a string substitution set

« More »

ThemeHelpers

Stores some static methods that may be useful for html management

« More »

ThemeUtils

Initializes and manages the parent theme config and constants

« More »

TinyMCEExcerptCustomization

This class removes the default excerpt metabox and adds a new box with the wysiwyg editor capability

« More »

TwitterManager

Manages the connection with Twitter

« More »

TwitterOAuth

Twitter OAuth class

« More »

Constants

 

CONSUMER_KEY

CONSUMER_KEY 
 

CONSUMER_KEY

CONSUMER_KEY 
 

CONSUMER_SECRET

CONSUMER_SECRET 
 

CONSUMER_SECRET

CONSUMER_SECRET 
 

ICL_DONT_LOAD_LANGUAGES_JS

ICL_DONT_LOAD_LANGUAGES_JS 
 

ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS

ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS 
 

ICL_DONT_LOAD_NAVIGATION_CSS

ICL_DONT_LOAD_NAVIGATION_CSS 
 

OAUTH_CALLBACK

OAUTH_CALLBACK 
 

OAUTH_CALLBACK

OAUTH_CALLBACK 
 

WORDPRESS_THEME_UTILS_AUTOLOADER_RELATIVE_PATH

WORDPRESS_THEME_UTILS_AUTOLOADER_RELATIVE_PATH 
 

WORDPRESS_THEME_UTILS_LIBRARIES_ABSOLUTE_PATH

WORDPRESS_THEME_UTILS_LIBRARIES_ABSOLUTE_PATH 
 

WORDPRESS_THEME_UTILS_LIBRARIES_RELATIVE_PATH

WORDPRESS_THEME_UTILS_LIBRARIES_RELATIVE_PATH 
 

WORDPRESS_THEME_UTILS_PARTIALS_RELATIVE_PATH

WORDPRESS_THEME_UTILS_PARTIALS_RELATIVE_PATH 
 

WORDPRESS_THEME_UTILS_PATH

WORDPRESS_THEME_UTILS_PATH 
 

WORDPRESS_THEME_UTILS_REGISTER_BOTTOM_MENU

WORDPRESS_THEME_UTILS_REGISTER_BOTTOM_MENU 
 

WORDPRESS_THEME_UTILS_REGISTER_TOP_MENU

WORDPRESS_THEME_UTILS_REGISTER_TOP_MENU