Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Inigo Gonzalez

    (@inigoini)

    Hi,

    Please, test with this. TheCartPress supports a template function and a shortcode both called: “tcp_the_taxonomy_list”

    the argument is this:
    array(
    ‘child_of’ => 0,
    ‘parent’ => ”,
    ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’,
    ‘hide_empty’=> 1,
    ‘taxonomy’ => TCP_PRODUCT_CATEGORY,
    );

    Best regards

    Thread Starter KySo

    (@kyso)

    WordPress: 3.8.1
    TPC: 1.3.5
    Theme: Pilot Fish

    Hello,
    thank you for your answer.
    Question:
    1)
    Some days ago you wrote in the thread:
    http://wordpress.org/support/topic/productlist-shortcode?replies=2

    “You can create a page, and add the default shortcode [tcp_list id=”all_products”].”

    When I create a new page: Admin/Pages/Add New and paste [tcp_list id=”all_products”] in the visual editor it shows NOTHING.

    It is in ‘Tool/ShortCode Generator’ the default one. Do I have to activate it?

    2)
    Where do I have to use the argument you gave me?
    array(
    ‘child_of’ => 0,
    ‘parent’ => ”,
    ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’,
    ‘hide_empty’=> 1,
    ‘taxonomy’ => TCP_PRODUCT_CATEGORY,
    );

    Do I have to add it to the function.php?

    Do you have more information how to use the ‘ShortCode Generator’?

    Where is the ‘template function and a shortcode both called: “tcp_the_taxonomy_list”‘?

    Thanks.

    Plugin Author Inigo Gonzalez

    (@inigoini)

    Hi,

    In the visual editor you only see the shortcode [xxxx]. You have to see the result in the page, not in the editor.

    List of params must be added using shortcode format:

    [tcp_the_taxonomy_list hide_empty=”0″, taxonomy=”my_own_taxonomy”]

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show only categories, not products in page’ is closed to new replies.