Slider Content

Homepage Forums Travel Log Slider Content

This topic contains 8 replies, has 3 voices, and was last updated by  WP Travel Admin 1 year, 4 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6301

    maxbuzz
    Participant

    Hi,

    I just came across this theme and found it very appropriate for a travel site. Great work!
    I am trying it out and plan to build a website using it.
    A query regarding the slider. I notice you can add trips or categories to it.
    When you add trips it automatically chooses some trips and puts it in it.
    I haven’t been able to figure out how to use categories though.

    Is it possible to have just the ‘category’ as a slider content? eg. I have categories (using that word as I can’t figure how else to describe it) domestic & international OR something like spring break, summer, autumn & winter. Each one of these could have their own image and text. Clicking on MORE INFO would go to a page where all trips for that category are listed.
    I dont want it as per trip type or location.
    Is there anyway I can achieve that?
    Can I control the number of items in the slider

    #6306

    Support Team
    Keymaster

    Hello @maxbuzz,

    First of all thank you very much for the appreciations and using the travel log theme 🙂 .

    Currently, there is no such feature in the theme. You can set the slider by choosing the particular category. After choosing the required category the slider will display 5 posts associated to that particular category.

    However, if you want to set the slider as per your wish then you can always consider hiring the professional developer.

    To hire a developer please refer to below given link:

    http://wensolutions.com/hire-wordpress-customizer/

    Hope this helps.

    Best Regards!!

    Have a good day 🙂 .

    #6313

    maxbuzz
    Participant

    Thanks for the prompt response.
    How do I set a category? I didnt find a way to do it.
    Apologies if this is stupid question

    #6314

    Support Team
    Keymaster

    Hello @maxbuzz,

    No its alright. You can ask any queries related to the theme here.

    Now for the slider at first, you need to create the category of your choice from Admin Panel > Posts > categories.

    Screesnhot:

    http://prntscr.com/jdnbof

    Then create the posts as per your wish by going to Admin Panel > Posts > Add New. While creating those post assign to that category which you have created and save them.

    http://prntscr.com/jdndwf

    Finally, go to Admin Panel > Appearance > Customize > Homepage Sections > Slider Section and chose the option “Post Categories” in content type option and then select that particular cateogry in “Select Category” option.

    As for the query to control the no of slider, theme has already provide the filter.

    So now if you want to increase/decrease the no of slider in slider section just add below given code in your child theme functions.php file.

    function travel_log_child_customize_slider_number(){
    
    return 10;
    
    }
    add_filter('travel_log_slider_posts_limit','travel_log_child_customize_slider_number');

    You can return as many no as you want.

    Hope this helps.

    Best Regards!!

    #6315

    maxbuzz
    Participant

    Thanks.
    That was quite easy once you pointed out how to do it.

    I am still thinking of ways that I can solve my problem without having to write custom code.
    1. Is it possible to embed a link to a custom page in the MORE INFO button
    2. Is there a short code that can show a grid list of trips, like in Section 3 “Find your perfect Tour”
    If I can list all trips based on trip type also it could help me.

    Thanks in advance.

    #6316

    maxbuzz
    Participant

    Hi,

    I could manage using a category and a shortcode in the post to achieve what I wanted.

    Thanks

    #6324

    Support Team
    Keymaster

    Hello @maxbuzz,

    Glad we could help you and nice to know that you solved your query by yourself.

    Now coming back to your query about linking “More Info” button to some other page, if you want to link the button of all the slider to one particular page then you could do so by adding the custom code in your child theme functions.php file.

    Code to add:

    https://gist.github.com/Steeru/dedb8fe9993f11872b6e4f2ed084dd79

    Here replace “YOUR LINK” text with the link that you want to link with.

    But in case if you want to link each slider with the individual post then you can always consider hiring the professional developer.

    To hire a developer please refer to below given link:

    http://wensolutions.com/hire-wordpress-customizer

    Thank you.

    Best Regards!!

    #6332

    maxbuzz
    Participant

    Thanks.
    Will try it.

    #6333

    WP Travel Admin
    Keymaster

    Hello @maxbuzz,

    You are welcome.

    Do let us know if you have any issues further.

    Thank you.

    Best Regards!!

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

You must be logged in to reply to this topic.