Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts

  • annola00
    Participant

    Hi BJ,
    Could you help me to understand the reason why none of the suggestions I received to change the event order is going to work on my web site?

    Thank BJ!
    Have a nice day!


    annola00
    Participant

    Hi BJ,
    I’ve tried to copy your snippet on the functions.php theme file, but nothing is changed, so I removed the snippet for now. Any suggestions on the reason why it is not working?
    In order to show the last event first I’ve temporarly changed the past event dates 2019 in 2020, but obviously this is a wrong information and I need to correct it.
    I hope you can help me!

    Thanks a lot!


    annola00
    Participant

    Hi BJ,
    Thank you very much for your video!
    I would like to change the event order in all the pages were they appear, I mean front end. So for now I have event on this two pages:

    Home

    and in the events page:

    MonicaT-Footer

    I think is better for me in the future that events will appear everywhere in the website in this order:
    Newest event first.

    If you tell me that I just need to copy the plugin snippet in a specific file, I can even do it by myself,..but unfortunately I cannot do more than this I think, I’m not good with code.

    Thanks BJ!!!


    annola00
    Participant

    I’m sorry, I’ve copied the wrong one.

    Solution 1:
    add_filter(‘tribe_ce_my_events_query’, ‘lagom_ce_my_events_query’);
    function my_custom_ce_my_events_query ( $args ) {
    $args[‘order’] = ‘ASC’;
    return $args;
    }


    annola00
    Participant

    Hi BJ, how are you?
    Sorry but I’ve already the problem with the events order. The events are showed from the oldest to the newest and I really need the opposite.
    I’ve tried to add some snippet code that I’ve copied from The Event Calendar plugin page, into the “functions.php” lagom file, but nothing is going to change.
    I’m going to copy the 2 snippets I’ve tried, but maybe I’ve done it in a wrong way.
    Could you help me please?

    Solution 1:

    add_filter(‘tribe_events_query’, ‘lagom_events_query’);
    function lagom_events_query ( $args ) {
    $args[‘order’] = ‘DESC’;
    return $args;
    }//

    Solution 2:
    /**
    * Changes Past Event Reverse Chronological Order
    *
    * @param array $template_vars An array of variables used to display the current view.
    *
    * @return array Same as above.
    */
    function tribe_past_reverse_chronological_v2( $template_vars ) {

    if ( ! empty( $template_vars[‘is_past’] ) ) {
    $template_vars[‘events’] = array_reverse( $template_vars[‘events’] );
    }

    return $template_vars;
    }
    // Change List View to Past Event Reverse Chronological Order
    add_filter( ‘tribe_events_views_v2_view_list_template_vars’, ‘tribe_past_reverse_chronological_v2’, 100 );
    // Change Photo View to Past Event Reverse Chronological Order
    add_filter( ‘tribe_events_views_v2_view_photo_template_vars’, ‘tribe_past_reverse_chronological_v2’, 100 );

    Thanks a lot!!


    annola00
    Participant

    Hi BJ,
    Thanks for your suggestions. I’ve installed the plugin but unfortunately, even if I flag the Reverse order, nothing is going to change.

    Not all the events appear on the “Re-order page”, but just the last one, I guess because the other are older than Today, so I cannot set the order manually. So could you help me to fix it in another way please.
    Thank you very much!
    ..I’m sorry


    annola00
    Participant

    Hi BJ,
    Thanks a lot for your help! I’ve changed it. Great!

    Just one more little thing. I’ve added a new event, so I’ve seen only now that the order of the events is from the older to the newest. I’ve even tried to add some snippet code to the function.php file, (code that I’ve copied from the plugin’s web site), but the order didn’t change for me. Could you help me please? I need the event preview showing from the newest to the older.
    Thank you very very much!


    annola00
    Participant

    Hi BJ,
    Thanks very much for your help! Just one more little thing. I translated the READ MORE in the service- bordered, but I would like to translate it even for the Event Preview section (>See the Event section in the home page). Could you tell me were it is, so I will translate even this, please?

    Thank you very much!!


    annola00
    Participant

    Hi BJ,

    I hope you are good.
    I’ve some other little problem that I don’t know how to solve alone.

    1. I need to change/translate the READ MORE text(for the service section and the event section) in some italian sentence, but I don’t know where I can change it.
    2. In the Service Section, in the mobile version, the little text in the white box with the READ MORE, go outside the picture boxes, flowing randomly. Could you help me to “stop” all the text in the white box please, thanks.

    Thank you very much BJ!!

     


    annola00
    Participant

    Hello BJ,

    Thank you very much for your big help and for your explanation. The custom heading is a really good tool, but I didn’t imagine that I could customize the menu there too. Good to know! ­čśë

    I’ve some other little problem, I don’t know if I’m doing something wrong, but in the home page, in the SERVICE section, I need to have 5 services instead of 3, and the service in the 2nd row doesn’t looks like the first and the ┬á3rd row. Can I correct ┬ásomething in order to have all the service of the same size?

    Another little problem is the heading, every kind of heading I select, in the mobile version it goes below  the menu, so is not possible to read the title well. Can I do something to correct it?

    In the mobile version the footer menu has some sort of padding, so it doesnt’ seem to be alligned to left as the other footer sections, but I don’t know how to adjust it.

    I’m sorry…

    Thanks a lot BJ!

     


    annola00
    Participant

    Hello BJ,

    Thanks a lot for your great help! I’ve checked and everything is working now, but I’ve 2 more problems, sorry to bother you:

    MAIN MENU

    I’ve created a new main men├╣, but even if I selected it as “Main men├╣” the web site continue to show as main menu the demo one. This happen in the laptop version, the mobile version is different. In the mobile version, if I click on the sandwich men├╣ the main menu is the right one, I mean the one I’ve created. Do you have any idea about the reason?

    I’ve noticed that the sandwich men├╣ in the mobile version is not visible, I can see just one line of the 3 of the sandwich, because of the slider that comes up to the logo and the men├╣. The logo to is cutted.

    Thanks a lot BJ!


    annola00
    Participant

    I’m trying to attach even the other 2 files but it’s not uplaoding, so I’ll explain.

    1. Home page: The background of the “ABOUT US” Section, is just in the right part of the page so the with title is not readable.

    2. Home page: The arrows of the “GALLERY” section are out and the boxes, and the boxes look half size.

    Plus the in the FOOTER there is not the “subscribe” section and the menu has arrows before each voice, as you can see in the screenshot I’ve attached before.

    Thanks a lot!

     


    annola00
    Participant

    annola00
    Participant

    Good morning BJ,

    Thanks for your help, I’ve checked and I’ve seen the editing. Great.

    I still have some other problem, I’ll attache the screenshot of my web site like this it will be easy for me to explain which parts are different, ok?

    Thanks a lot!

     

    Attachments:
    You must be logged in to view attached files.

    annola00
    Participant

    Hi,

    Unfortunately I couldn’t check your changes, because the site is unreachable.

    Do you have any idea about the reason? When I wrote to you, some hours ago it was ok and then I didn’t work on it until now, when I’ve tried to reach it.

    The connection is working well.

    I hope you can help me.

    Thanks

     

Viewing 15 posts - 1 through 15 (of 18 total)