New Landing How can we help? Atelier POSTS TAGGED WITH phrase

Viewing 15 posts - 1 through 15 (of 27 total)
  • Posted in: Atelier
  • #203874
    NiO
    Member
    Post count: 233

    Hi Swiftideas,

    I was wondering if there is a simple way to get rid of the phrase “POSTS TAGGED WITH ” in the archive pages for tags?

    Thank you,
    Johan

    #204052
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Sure, go to Atelier/swift-framework/core/sf-page-heading.php and find line 314:

    <?php /* If this is a tag archive */
                                    if ( is_tag() ) { ?>
                                        <h1 <?php echo $article_heading_text; ?>><?php _e( "Posts tagged with", "swiftframework" ); ?>
                                            &#8216;<?php single_tag_title(); ?>&#8217;</h1>

    – Kyle

    #204206
    NiO
    Member
    Post count: 233

    Thanks Kyle …in a child theme set-up, should I create the swift-framework/core/ directory in the child, copy the file over and then edit? Or should I copy that full function to functions.php?

    #204209
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    In this specific case copying the file won’t work. Just copy the changed function to the functions.php of the child theme.

    -Rui

    #204220
    NiO
    Member
    Post count: 233

    Hi Rui,

    I tried that, but for some reason the breadcrumbs moved under the title after just copying the function over. Any clue why that is?

    Will try again in a few days when I have a bit more time …

    Thanks,
    Johan

    #204221
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #204712
    NiO
    Member
    Post count: 233

    Hi Rui,

    Yes, I cleared the cache. As soon as I copy the sf_page_heading in functions.php of my child theme, the breadcrumb moves under title, regardless of the page I am looking at. I deleted it again now, because my site is live.

    If you cannot simulate it, I can see if I can simulate it in my test environment and give you access to that …

    Thanks,
    Johan

    #204821
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Did you copy the whole function? Or just the bit of code I pasted above?

    – Kyle

    #204845
    NiO
    Member
    Post count: 233

    Hi Kyle,

    sf_page_heading consists of 2 functions and I copied over the first function in full … so skipped the sf_post_split_heading_buttons part.

    Cheers,
    Johan

    #204916
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Can you please provide me with a login so I can try and sort this for you

    – Kyle

    #204956
    NiO
    Member
    Post count: 233
    This reply has been marked as private.
    #204966
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    What’s the site login?

    – Kyle

    #205013
    NiO
    Member
    Post count: 233
    This reply has been marked as private.
    #205520
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Johan,

    I have a tried and tested solution, please copy this code, into your functions.php file. Make a backup first of course.

    I can confirm this is working for me.

    Thanks,
    David.

    #205928
    NiO
    Member
    Post count: 233

    Hi David,

    Apologies for the late reply. Was travelling the past few days…

    I tried the code you suggested. Copied the whole thing into my functions.php, but still get the breadcrumbs underneath the title/subtitle when I do that.

    Did you test with fancy titles and the breadcrumb in a separate div like I use it?

    Thanks,
    Johan

Viewing 15 posts - 1 through 15 (of 27 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register