Trips page issue

Homepage Forums WP Travel Trips page issue

This topic contains 20 replies, has 4 voices, and was last updated by  Support Team 2 months, 3 weeks ago.

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #6517

    MandeepDebnath
    Participant

    Hi! I have an issue with the trips page. In the trips page, the page header appears ar “Archives: Trips” so I wanna change that and I wanna remove the “Archives” word from it. Any help to do that would be appreciated. Thanks

    #6525

    Support Team
    Keymaster

    Hello @mandeepdebnath,

    To remove the “Archive:” from the archive page, you have to activate the child theme.

    After activating the child theme in your child theme functions.php file paste below given code:

    https://gist.github.com/Steeru/2864f85e0a979528a6f8c3c2dd98ef79

    Hope this helps.

    Best Regards!!

    #6560

    MandeepDebnath
    Participant

    How do I activate the child theme

    #6565

    Support Team
    Keymaster

    Hello @mandeepdebnath,

    You can activate the child theme manually and for this you can refer to below-given link as a reference:

    https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/

    You can even activate the child theme using the plugin given below:

    https://wordpress.org/plugins/child-theme-configurator/

    Hope this helps.

    Best Regards!!

    #17051

    paulo232
    Participant

    HI

    Have tried this code to remove archive, not working, added code, archive still showing even after clearing cache

    #17061

    Support Team
    Keymaster

    Hello @paul0232,

    Please replace above-provided code with the code given below:

    function travel_log_child_remove_cat_titles($title) {
    
        if ( is_archive() ) {
            $title = single_cat_title( '', false );
        } elseif ( is_tag() ) {
            $title = single_tag_title( '', false );
        } elseif ( is_author() ) {
            $title = '<span class="vcard">' . get_the_author() . '</span>' ;
        }
        return $title;
    }
    add_filter( 'get_the_archive_title', 'travel_log_child_remove_cat_titles' );

    Hope this helps.

    Also, make sure to add the code in your child theme functions.php file.

    Thank you.

    #17073

    paulo232
    Participant

    Hi

    Just trie this old band we get “The site is experiencing technical difficulties.” and cant access?

    #17074

    paulo232
    Participant

    Just tried this and we get “The site is experiencing technical difficulties.” and cant access?

    #17098

    wensolutions
    Keymaster

    Hello @paulo232,

    The code was only provided after testing it locally in our side. You can in the screen record as well.

    https://www.loom.com/share/66e1788e1d0045b0812894526ea702e1

    So make sure you have pasted the correct code as the code works absolutely fine.

    If this does not work then we need to inspect your backend for which we require the admin login. You can send in the login in the mailing address as we have mentioned earlier.

    Thank you.

    #17104

    paulo232
    Participant

    Ok, that seems fine now, perhaps we got part of code incorrect,

    The biggest issue we have now is not being able to complete a booking which we logged under https://wptravel.io/support-forum/topic/book-now-button-not-working-in-multiple-dates-options/#post-17058

    Can someone look at this?

    #17105

    wensolutions
    Keymaster

    Hello @paulo232,

    We have suggested you to add below-given code in your child theme functions.php.

    function wpdocs_dequeue_script() {
        wp_dequeue_script( 'wp-travel-utilities-slick-js' );
    }
    add_action( 'wp_enqueue_scripts', 'wpdocs_dequeue_script', 100 );

    Have you added the code?

    If this does not resolve the issue then we need to inspect your admin setting.

    Let us know if that works or not?

    Thank you.

    #17106

    paulo232
    Participant

    It gives a “The site is experiencing technical difficulties.” error, also teh code also shows a syntax error in dreamweaver, see screenshot http://prntscr.com/o4uqkg

    #17107

    paulo232
    Participant

    OK, managed to upload the code without crashing the site, but still have the booking issue

    #17167

    Support Team
    Keymaster

    Hello @paulo232,

    Actually, only with the site URL, we could not precisely inspect the issue further so since the problem is not solved with the addition of the code, we need your admin login.

    So please provide them in our official email below.

    wptravel.io[at]gmail.com

    Thank you.

    #17184

    Support Team
    Keymaster

    Hello @paulo232,

    We would like to apologize for the delay but we are inspecting the issue so it may take some time.

    But we will get back to you as soon as we figure out the issue.

    Hoping for your kind co-operation.

    Thank you.

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

You must be logged in to reply to this topic.