Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter TheStingPilot

    (@thestingpilot)

    By the way: the class ‘no_translate’ must be added to the header where ‘Rumpun Padi Kencur’ is mentioned. If translated to Dutch, the header has become ‘Rijstklompjes’ which is complete nonsense.

    Plugin Author ndre

    (@ndre)

    Hi @thestingpilot,

    To solve the double category name problem, please uncheck the ‘Force category name display’ checkbox in the catalog general settings.

    All template files are located in the /templates/full and templates/template-parts.

    Please see the docs for details: https://implecode.com/docs/ecommerce-product-catalog/product-listing-page-template/.

    The product name is located in templates/template-parts/product-page/product-name.php. You should copy this file to your child theme ‘implecode’ folder and customize it.

    Thread Starter TheStingPilot

    (@thestingpilot)

    Hello,

    I am sorry to inform you but the issue is still there. The ‘Force category name display’ has been unchecked now.

    This is what I get now:

    Alle drankjes is still visible. And that should be invisible.

    The text is still translated, and that should not be translated. The product-name.php file in the implode folder in Sydney has been used.

    The used CSS.

    Thanks for your excellent help.

    With kind regards,
    Willem-Jan

    Plugin Author ndre

    (@ndre)

    Hi @thestingpilot,

    You can remove the label for Subcategories Header Label (and others if necessary) in Catalog Settings > Front-end labels > Listing pages. Making the label empty should disable the Alles Drankjes header.

    Your theme generates the product name, so you have to look in your theme page.php or another similar file that handles the page title.

    Thread Starter TheStingPilot

    (@thestingpilot)

    Hello @ndre ,

    Many thanks for all your efforts. One part has been solved: the product name is no longer translated. And that is fine.

    There is one point left, which is all about the ‘Drinks’: it is still there. See this screen print, the settings included.

    I am still using the Simple mode with these settings.

    Also, the page settings are in the file wp-content/themes/sydney-child/content-page.php. Both the catalogue-page and the product-page use the same content-page.php file.

    <?php
    /**
     * The template used for displaying page content in page.php
     *
     * @package Sydney
     */
    ?>
    
    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    	<header class="entry-header">
    		<?php the_title( '<h1 class="title-post entry-title no_translate" ' . sydney_get_schema( "headline" ) . '>', '</h1>' ); ?>
    	</header><!-- .entry-header -->
    
    	<?php if ( has_post_thumbnail() && ( get_theme_mod( 'page_feat_image', 1 ) != 1 ) ) : ?>
    	<div class="entry-thumb">
    		<?php the_post_thumbnail('large-thumb'); ?>
    	</div>
    	<?php endif; ?>
    
    	<div class="entry-content" <?php sydney_do_schema( 'entry_content' ); ?>>
    		<?php the_content(); ?>
    		<?php
    			wp_link_pages( array(
    				'before' => '<div class="page-links">' . __( 'Pages:', 'sydney' ),
    				'after'  => '</div>',
    			) );
    		?>
    	</div><!-- .entry-content -->
    
    	<footer class="entry-footer">
    		<?php edit_post_link( __( 'Edit', 'sydney' ), '<span class="edit-link">', '</span>' ); ?>
    	</footer><!-- .entry-footer -->
    </article><!-- #post-## -->

    Maybe it helps…

    Your feedback is appreciated and with kind regards,
    Willem-Jan

    Thread Starter TheStingPilot

    (@thestingpilot)

    Hello @ndre ,

    My last point has also been solved. I added the following CSS code:

    .tax-al_product-cat .entry-header {
         Display: None;
    }

    I found that CSS class in the body class.

    Case closed. ??

    With kind regards,
    Willem-Jan

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to get the title back?’ is closed to new replies.