User Tools

Site Tools


g_style_identifiers_for_ce3_engines

G_STYLE Identifiers for CE3 Engines

G_STYLE identifiers are used to target specific gallery types when authoring PHPlugins. The following list is a comprehensive reference of G_STYLE identifiers for CE3 plug-ins.

TTG CE3 Auto Index

CE3-AUTOINDEX

CE3-CRG

CE3-GALLERY

TTG CE3 Pages

CE3-PAGES-HOME
CE3-PAGES-MOBILE
CE3-PAGES-GALLERIES
CE3-PAGES-SERVICES
CE3-PAGES-INFO
CE3-PAGES-ABOUT
CE3-PAGES-CONTACT
CE3-PAGES-THANKYOU

// TARGET ALL PAGES IN TTG CE3 PAGES
function ttg_user_function( $style, $path ) { 
	if(preg_match('/^CE3-PAGES-(.*)$/', G_STYLE)) {

	// FUNCTION HERE

	}
} // END

// TARGET SPECIFIC PAGE IN TTG CE3 PAGES
function ttg_user_function( $style, $path ) { 
	if (G_STYLE == 'CE3-PAGES-HOME') {

	// FUNCTION HERE

	}
} // END

TTG CE3 Stage

CE3-STAGE

TTG CE3 Theme for WordPress

CE3-WORDPRESS

CE3 mobile galleries

Mobile galleries are created conditionally by TTG CE3 Client Response Gallery, TTG CE3 Gallery and TTG CE3 Stage. The mobile gallery may or may not be created, depending upon your gallery configuration and preferences.

CE3-MOBILE

In some circumstances, TTG CE3 Pages also creates a mobile gallery to represent its “Home” page on handheld devices. The G_STYLE identifier for this mobile gallery is:

CE3-PAGES-MOBILE

g_style_identifiers_for_ce3_engines.txt · Last modified: 2013/08/08 05:08 by admin