Provide zblog template_zblog them_wordpress template download and customization

GetCategoryByName of zblog function: Obtain classification data by classification name

Tianxing Studio 2022-04-12 15:17 Zblog function six hundred and forty-seven 0 Comments


GetCategoryByName This function obtains classification data by classification name. The function is constructed in“ zblogphp . php ". As follows:

  GetCategoryByName of zblog function: Get classification data through classification name GetCategoryByName zblog function zblog function Page 1

Function parameters:

$name: string type, classification name, required item;

$type: string type, sorting type, which can be added to query by specified sorting, optional;

Function output:

Output an object object whose contents are all values of the specified classification.

For example, output the alias of the category whose category name is "Product":

 $zbp ->GetCategoryByName ('product ') ->Alias;

Other classified object objects are as follows:

  GetCategoryByName of zblog function: Get classification data through classification name GetCategoryByName zblog function zblog function Page 2


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login