Removing an input element from one of the widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8070
    a-surbakt2000
    Participant

    Hi I was just wondering how we could hide/remove one of an input element from one of the widget. For example for the ‘WP Travel Widget’ I would like to hide/remove the ‘Location’ input element. Is this possible? If so how can I do this? Thanks!

    #8079
    Support Team
    Keymaster

    Hello @a-surbakt2000,

    With the provided description, we are actually having trouble understanding the query correctly.

    Please provide details on the widget that you are referring to ( with your website URL and/or screenshot image ) of the widget that you are willing to change so that we can help you with a precise fix.

    Best Regards !!

    #20959

    I would like to remove the Location option from the search filter, also would like to make the grid of 4 columns and show more results per page. How should I do it?

    #20967
    Support Team
    Keymaster

    Hello @

    To remove the location filter, please add below-given CSS by going to Admin Panel > Appearance > Customize > Additional CS.

    .wp-toolbar-filter-field.wt-filter-by-travel-locations {
        display: none;
    }

    As for displaying the trip in grid form by default and setting the column to four, please add below-given code in your child theme functions.php file.

    function wp_travel_view_mode(){
    	return "grid";
    }
    add_filter('wp_travel_default_view_mode','wp_travel_view_mode');
    function wp_travel_manage_column(){
    return 4;
    }
    add_filter('wp_travel_archive_itineraries_col_per_row','wp_travel_manage_column');

    Hope this helps.

    Thank you.

    #21144

    Great!! Thanks. One more thing. the grid shows up to 5 results in grid view. How can I set it up to 8 results?

    Also I would like to set a padding for the border of the grid what should be done?

    Thanks in advance for your help.

    #21159
    wensolutions
    Keymaster

    Hello,

    Actually, we are not quite clear with your query. So, if you are willing to show 8 results in grid view per page then you can change the number of posts to show in grid view per page by going to Admin Panel > Settings > Reading

    screenshot:http://prntscr.com/pu2ey2

    If it is not what you meant, please explain the issue in detail.

    Regarding your query related to padding, we are not quite clear with your query. So, can you please provide us with screenshot of specific section where you are willing to set padding?

    Regards.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘WP Travel’ is closed to new topics and replies.