- This topic has 5 replies, 4 voices, and was last updated 3 years, 6 months ago by
wensolutions.
- AuthorPosts
- September 22, 2018 at 6:46 pm #8070
a-surbakt2000
ParticipantHi 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!
September 25, 2018 at 7:32 am #8079Support Team
KeymasterHello @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 !!
October 30, 2019 at 5:12 pm #20959nathachecaf@gmail.com
ParticipantI 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?
October 31, 2019 at 5:29 am #20967Support Team
KeymasterHello @
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.
November 7, 2019 at 2:53 pm #21144nathachecaf@gmail.com
ParticipantGreat!! 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.
November 8, 2019 at 6:48 am #21159wensolutions
KeymasterHello,
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.
- AuthorPosts
- The forum ‘WP Travel’ is closed to new topics and replies.