- This topic has 20 replies, 4 voices, and was last updated 3 years, 11 months ago by
Support Team.
- AuthorPosts
- May 12, 2018 at 10:34 am #6517
MandeepDebnath
ParticipantHi! 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
May 14, 2018 at 6:46 am #6525Support Team
KeymasterHello @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!!
May 15, 2018 at 5:13 am #6560MandeepDebnath
ParticipantHow do I activate the child theme
May 15, 2018 at 6:34 am #6565Support Team
KeymasterHello @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!!
June 20, 2019 at 2:40 pm #17051paulo232
ParticipantHI
Have tried this code to remove archive, not working, added code, archive still showing even after clearing cache
June 21, 2019 at 4:18 am #17061Support Team
KeymasterHello @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.
June 21, 2019 at 9:50 am #17073paulo232
ParticipantHi
Just trie this old band we get “The site is experiencing technical difficulties.” and cant access?
June 21, 2019 at 9:51 am #17074paulo232
ParticipantJust tried this and we get “The site is experiencing technical difficulties.” and cant access?
June 21, 2019 at 11:34 am #17098wensolutions
KeymasterHello @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.
June 21, 2019 at 12:04 pm #17104paulo232
ParticipantOk, 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?
June 21, 2019 at 12:22 pm #17105wensolutions
KeymasterHello @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.
June 21, 2019 at 12:39 pm #17106paulo232
ParticipantIt 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
June 21, 2019 at 12:51 pm #17107paulo232
ParticipantOK, managed to upload the code without crashing the site, but still have the booking issue
June 24, 2019 at 5:38 am #17167Support Team
KeymasterHello @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.
June 24, 2019 at 12:29 pm #17184Support Team
KeymasterHello @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.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.