Archives: References

gdpc_title_companies_archive

gdpc_title_companies_archive File name: code/core/seo.php Parameters: $new_title: title generated by the plugin $title: title for company archive pages, generated by WordPress $company_type: current company type object $archive_parts: associated list of elements to be used in title Notice: Plugin will generate title based on current company type, page number in the archives and current filter (partially). Plugin uses […]

gdpc_title_company

gdpc_title_company File name: code/core/seo.php Parameters: $new_title: title for single company, used in the page HEAD block. $title: title generated by WordPress, unchanged $company_type: current company company type object $single_parts: associated list of elements to be used in title Notice: Plugin will generate title based on current company and page type. Plugin uses $archive_parts to assemble title.

CODE

Render value for a single product code (international product code). %CODE:NAME% Name represents code to display value for: ASIN EAN8 EAN13 UPC

COMPANY_PRODUCTS

Render product types and products for company. %COMPANY_PRODUCTS:MODE|COUNT.ORDER.TEMPLATE% Mode This parameter can take one of the following values: PRODUCTS – show list of products for each type TYPES – show only list of product types Settings 1st – number of products to show. default is 10. 2nd – sorting order for products: post_date, post_title. 3rd […]

gdpc_get_linked_products

gdpc_get_linked_products($post_id = 0) $post_id: post to get linked products for. If zero, current post is used. Get all products linked to this post. You will get array where key is the post type name for product type and it will have array for each one with the value ‘list’ that will have products inside (as […]

gdpc_title_compare

gdpc_title_compare File name: codecorefrontend.php Parameters: $title: title for compare products page, used in the page HEAD block. Notice: Plugin will generate title based on products to compare and products type.

gdpc_title_product

gdpc_title_product File name: code/core/seo.php Parameters: $new_title: title for single product, used in the page HEAD block. $title: title generated by WordPress, unchanged $product_type: current product product type object $single_parts: associated list of elements to be used in title Notice: Plugin will generate title based on current product and page type. Plugin uses $archive_parts to assemble […]