Couple Questions here: Custom Filter, Details, Trip Type, Archives

Homepage Forums WP Travel Couple Questions here: Custom Filter, Details, Trip Type, Archives

This topic contains 7 replies, has 3 voices, and was last updated by  wensolutions 3 days, 4 hours ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24864

    Hi, have 4 questions here.

    1) For the “Custom Filters” addon in the Pro version, is it for the widget only? Or it is applicable to the horizontal task bar on the top of the archives page?
    2) Is it possible to include more details on the trips in the archive pages. E.g Include the organizer of the trip or keywords.
    3) When I search by trip type (e.g cycling) the word will be dragged to the left. Is it possible to centre it or remove it completely? https://imgur.com/a/9UTmfy4
    4) Is it possible to rename the page title “Archives: Trips” shown on my Chrome tab to just “Trips” ? The word “Archives” looks rather odd to visitors.

    #24867

    Support Team
    Keymaster

    Hello,

    Please find answers to your queries below:

    Query 1. For the “Custom Filters” addon in the Pro version, is it for the widget only? Or it is applicable to the horizontal taskbar on the top of the archives page?

    Response: Regarding your query related to the ‘WP Travel Custom Filters’, it works in the widget but not in the archive page search widget. The feature you are requesting requires hiring code customization so, you can consider hiring a freelancer or our professional developer.

    Query 2. Is it possible to include more details on the trips in the archive pages? E.g Include the organizer of the trip or keywords.

    Response: Regarding your query, you can add keywords which will be displayed in the single trip page as shown in the screenshot given below:

    https://prnt.sc/rlo3vp

    Query 3. When I search by trip type (e.g cycling) the word will be dragged to the left. Is it possible to center it or remove it completely? https://imgur.com/a/9UTmfy4

    Response: To center the trip type title, you can add CSS following the path Admin Panel > Appearance > Customize > Additional CSS,

    .archive header.page-header{
      text-align: center;
    }

    To remove the trip type title, you can add CSS following the path Admin Panel > Appearance > Customize > Additional CSS,

    .archive .page-header h1.page-title{
          display: none;
    }

    Query 4. Is it possible to rename the page title “Archives: Trips” shown on my Chrome tab to just “Trips”? The word “Archives” looks rather odd to visitors.

    Response: Regarding your query, you can add the below-given code in the child theme’s function.php file,

    add_filter('get_the_archive_title', function ($title) {
        return preg_replace('/^\w+: /', '', $title);
    });

    To create a child theme you can refer to the documentation link below:

    https://wptravel.io/how-to-create-a-child-theme/

    Hope this helps.

    If you have further queries, let us know.

    Thank you.

    #24873

    Hi admin, thanks for the reply.

    Regarding query 2, I’m referring to the archives page. Is it possible for the keywords to be shown on the individual trips (post) on the archives page.

    For query 4, the code doesn’t seem to work. I’ve replaced the ” with ‘TEST’ and it doesn’t seem to work. My website is

    #24881

    Support Team
    Keymaster

    Hello,

    Regarding your second query, the keywords you set can be seen only on the individual page but not on the archive page. However, it requires code customization if you want the keywords to appear on the archive page too.

    Also, regarding query 4, please once verify that the code you add in child theme’s function.php as the screenshot given below:

    https://prnt.sc/rm9y2d

    Hope this helps.

    Regards.

    #24886

    Thanks for the response.
    I’ve cut and paste the script and it does not seem to be reflected on the front end
    https://imgur.com/a/se5jQrP.

    Regarding the code customization, I’ll let you know when the time comes. Thanks!

    #24889

    Support Team
    Keymaster

    Hello,

    Regarding your query, ‘The SEO Framework’ plugin might have set the default value so maybe the settings of ‘The SEO Framework’ plugin does have the option to change. So, once check the settings and verify.

    If you have further queries, let us know.

    Regards.

    #24918

    The issue seems to be with The SEO Framework. The code works when the plugin is deactivated.
    I’ll work it out with the developers of The SEO Framework. Thanks for all the help! Looking forward to WP Travel Pro!

    #24932

    wensolutions
    Keymaster

    Hello @hellodiscoverchinagmail-com,

    Glad you found the workaround.

    Let us know if you have any issues further.

    Thank you.

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

You must be logged in to reply to this topic.