List of informative functions
pxInfo
pxInfo( $name )
Parameters
- $name - Property to display ('name')
Display some information about the website. The name parameter can take the following values:
- name : name of the website
- url : relative url of the website
- fullurl : full url of the website
- filesurl : relative url to the files and images of the website
- lang : the lang of the website
- namexml : name utf-8 encoded
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
- $s - Substitution string ('%s - ')
Display the title of the current category.
pxSingleCatDescription
pxSingleCatDescription( )
Display the description of the current category.
pxSingleCatPath
pxSingleCatPath( $s )
Parameters
- $s - Substitution string ('%s')
Display the category path
pxSingleCatNbResources
pxSingleCatNbResources( $no, $one, $more )
Parameters
- $no - String for no resources ('no resources')
- $one - String for 1 resource ('1 resource')
- $more - Substitution string for 2 or more resources ('%s resources')
Give the number of resources in the current category, when displaying a category page
pxSingleCatNextPage
pxSingleCatNextPage( $dir, $s )
Parameters
- $dir - Direction -1 previous, (1) next
- $s - substitution string ('%s')
Give a link to the previous/next page if available
pxSingleCatTree
pxSingleCatTree( $s )
Parameters
- $s - substitution string ('<ol>%s</ol>')
Display the list of categories for a breadcrumb. Like Home >> Subcategory >> Subsubcategory
pxParentCatTitle
pxParentCatTitle( $s )
Parameters
- $s - Substitution string ('%s - ')
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
- $s - Substitution string ('%s')
Display the parent category path, only if not in homepage
pxPrimaryCategories
pxPrimaryCategories( $s )
Parameters
- $s - Substitution string ('<ul>%s</ul>')
Display the list of primary categories
pxSubCategories
pxSubCategories( $s )
Parameters
- $s - Substitution string ('%s')
Display the list of subcategories in the form of an unordered list.
pxSearchQuery
pxSearchQuery( $s )
Parameters
- $s - Substitution string ('%s')
Display the query string.
To be used only in the search template.
Share your ideas about this article.


