Viewing 15 posts - 1 through 15 (of 18 total)
  • Posted in: Dante
  • #83559
    Steve
    Member
    Post count: 54

    hej.

    i am struggling with a line in the archive.php
    <h1><?php wp_title(''); ?></h1>
    what it does with my custom taxonomy is it echos everything a little mixed up!
    e.g. ‘the overall custom taxonomy’.’ ‘.’my selction’.’the blog title’
    in my page head (yes, same page!) output looks like ‘my selction’.’ | ‘.’the overall custom taxonomy’.’ | ‘.’my selction’.’the blog title”the blog title’
    is there anything in dante that reorganizes wp_title for the archive output?
    or is there additional code available to use inside (”) and put everything back in order?

    thanks in advance for your hints!

    #83679
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi,
    maybe you can read through this

    http://codex.wordpress.org/Function_Reference/wp_title#Customizing_with_the_filter

    Let me know if that works!

    #110445
    alemarengo
    Member
    Post count: 695

    Hi!
    Just a recall of this thread because I have a question about title in woocommerce archive pages.
    I’d like to know the reason why I cannot set woocommerce archive page title. Simply they don’t exist. Title is blank. I have Yoast SEO installed. Title settings are ok. What may cause a blank <h1></h1>?
    Thanks to you all, regards.

    Attachments:
    You must be logged in to view attached files.
    #110587
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Are you using the latest version of the theme?

    – Kyle

    #110669
    alemarengo
    Member
    Post count: 695

    Yes, of course!

    #110673
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Could you please provide a link and login so I can check the issue?

    – Kyle

    #110675
    alemarengo
    Member
    Post count: 695
    This reply has been marked as private.
    #110678
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    This reply has been marked as private.
    #110696
    alemarengo
    Member
    Post count: 695
    This reply has been marked as private.
    #110721
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    This reply has been marked as private.
    #110760
    alemarengo
    Member
    Post count: 695

    Kyle, I updated theme you sent me. Problem’s still there. 🙁

    #110763
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    It has to be a plugin issue, it’s fine on my install, so must be something specific to yours.

    – Kyle

    #110766
    alemarengo
    Member
    Post count: 695

    Ok, I’ll check. Even if I disabled ALL the plugins except for Woocommerce and problem’s still there. I’m trying and let you know.

    #110768
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok thanks

    #110771
    alemarengo
    Member
    Post count: 695

    I tried. All plugins down, except for woocommerce.
    Please, see screenshot.
    What do you think it’s happening?

    *** EDIT ***

    <div class="heading-text">
    				
    				<?php if ( version_compare( WOOCOMMERCE_VERSION, "2.0.0" ) >= 0 ) { ?>
    					<h1><?php woocommerce_page_title(); ?></h1>

    is correctly set in archive-product.php within dante/woocommerce folder, isn’t it?

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in to reply to this topic.