Home Forums Plugins WP Travel Pro Hello? Could you please tell me where is source code of the section

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119448
    Tselmeg Erdenekhuu
    Participant

    Hello? Could you please tell me where is source code of the section which is shown in the pic, /from which directory can I find it?/ I would like to add Custom Field on it, hope you can help, xDpic

    #119500
    wensolutions
    Keymaster

    Hello,

    Actually we are not quite clear with your query. Also, since your image is broken, we are not sure which section you are referring to?

    So can you please explain in detail with screenshots so that we can help you further? The image you provided is not supporting. You can send us the screenshot with the light shot.

    https://app.prntscr.com/en/download.html

    Regards.

    #119507
    Tselmeg Erdenekhuu
    Participant
    #119524
    wensolutions
    Keymaster

    Hello,

    Regarding your query, the code for the tabs comes from the folder path: wp-travel/inc/template-functions.php. In this file you can find the function : wp_travel_frontend_contents .

    You can find the function wrapped in the below given hook:

    add_action( 'wp_travel_single_trip_after_header', 'wp_travel_frontend_contents', 15 );

    From this function, you can replace the custom function to get the custom fields.

    Make the changes mentioned above from the child theme’s function.php

    Below is the link to assist you in creating a child theme.

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

    Hope this helps.

    If you have further queries, let us know.

    Regards.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.