Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Joyn
  • #201228
    sitdowndisco
    Member
    Post count: 6

    Hi. In TAG archives, how do I remove – Posts tagged with ‘xxxx’ – site wide?

    #201242
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Go to Joyn/swift-framework/core/sf-page-heading.php and find this code:

    <?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>
                                        <?php /* If this is a daily archive */

    You’ll need to change the text in the quotes

    – Kyle

    #201244
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-
    .tags-wrap{display:none !important;}
    Thanks
    Mohammad

    #201246
    sitdowndisco
    Member
    Post count: 6

    Thanks for that. I’ve entered the custom CSS and it doesn’t change what is displayed. I know I could edit sf-page-heading.php direct, but I don’t want to lose changes after an update.

    #201247
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry I think Mohammad misunderstood the question, you’re referring to the page title on the arhive page, correct?

    The only way to change it is my method. If you wanted to add to your child theme to prevent losing your changes, you would have to copy the whole of the code starting from:

    /* PAGE HEADING
        ================================================== */
        if ( ! function_exists( 'sf_page_heading' ) ) {
            function sf_page_heading() {

    – Kyle

    #201251
    sitdowndisco
    Member
    Post count: 6

    OK, thanks for that. Do I need to create a copy of Joyn/swift-framework/core/sf-page-heading.php in my child theme? In other words, mimic the entire directory structure as well and then create that file in order to edit it within the child theme?

    #201253
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No, just copy the function itself to your functions.php file

    – Kyle

Viewing 7 posts - 1 through 7 (of 7 total)

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

License required for one of the following items
Login and Registration Log in · Register