• Hi,
    In the file page.php on line 17 is the following code:

    <header><h1><?php the_title(); ?></h1></header>

    In a single product page it shows the TITLE of the product. Correct, Perfect!

    But in a multiple product page the TITLE shows the word ‘Category, ‘ (Category with comma) followed the category name of the products.

    When I change the code to:
    <header><h1><?php single_cat_title(); ?></h1></header>

    then in a multiple product page the problem is solved and it shows only the category of the product (no more comma and not the word: category)

    but:
    in the single product page the title is gone.

    I use the theme pilot fish together with ThePressCart.

    What can I do? It is very important to me to solve this problem!

    https://wordpress.org/plugins/thecartpress/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multi product page title problem.’ is closed to new replies.