1. Home Page
  2. Documentation
  3. Templates

List of informative functions

pxInfo

pxInfo( $name )

Parameters

Display some information about the website. The name parameter can take the following values:

Example:

<a href="<?php pxInfo('url'); ?>"><?php pxInfo('name'); ?></a>

pxHeadLinks

pxHeadLinks( )

Generate the 'link' links just need to put it in the head of the template.

<head>
<?php pxHeadLinks(); ?>
</head>

pxRssSeq

pxRssSeq( )

Generate the RSS sequence description

pxRssItems

pxRssItems( )

Generate the RSS item sequence

pxSingleCatTitle

pxSingleCatTitle( $s )

Parameters

Display the title of the current category.

pxSingleCatDescription

pxSingleCatDescription( )

Display the description of the current category.

pxSingleCatPath

pxSingleCatPath( $s )

Parameters

Display the category path

pxSingleCatNbResources

pxSingleCatNbResources( $no, $one, $more )

Parameters

Give the number of resources in the current category, when displaying a category page

pxSingleCatNextPage

pxSingleCatNextPage( $dir, $s )

Parameters

Give a link to the previous/next page if available

pxSingleCatTree

pxSingleCatTree( $s )

Parameters

Display the list of categories for a breadcrumb. Like Home >> Subcategory >> Subsubcategory

pxParentCatTitle

pxParentCatTitle( $s )

Parameters

Display the parent name cat, only if not in homepage

pxParentCatDescription

pxParentCatDescription( )

Display the parent description cat, only if not in homepage

pxParentCatPath

pxParentCatPath( $s )

Parameters

Display the parent category path, only if not in homepage

pxPrimaryCategories

pxPrimaryCategories( $s )

Parameters

Display the list of primary categories

pxSubCategories

pxSubCategories( $s )

Parameters

Display the list of subcategories in the form of an unordered list.

pxSearchQuery

pxSearchQuery( $s )

Parameters

Display the query string.

To be used only in the search template.

Share your ideas about this article.

Back to the top of the page