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 […]

Server

Basic Server Requirements PHP: 5.2.4 or newer mySQL: 5.0 or newer Special Server Requirements Nothing.

Plugin Installation

Install Through Dev4Press Updater (recommended) Setup Dev4Press Updater plugin following instructions. Open Dev4Press menu, Install New panel. You will see the list of products you have a license for. Select plugin you want to install, and click Install Now link. Plugin will be installed, and you will get option to activate it. Install Through WordPress […]

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 […]

gdpc_title_products_archive

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

gdpc_render_button_compare_title

gdpc_render_button_compare_title File name: codecorerender.php Parameters: $title: title for compare button. Default: Add to Comparison. Notice: This is used for normal button title, when the product is not yet in compare box.