Forum Replies Created

Viewing 30 posts - 31 through 60 (of 137 total)
  • Author
    Posts
  • in reply to: Easy Slider – YouTube Share #1047010

    Sorry, just noticed that the YouTube “share” works but when you click on it, the social channel icons cannot be clicked on. When I use the video in the easy slider, it doesn’t show on mobile so I removed it and am using Soliloquy instead.

    Thanks

    in reply to: Easy Slider – YouTube Share #1046371

    Perfect! Thanks!

    in reply to: Calendar Pro | single-event.php #1040392

    Thanks for trying and all of your help.

    in reply to: Calendar Pro | single-event.php #1038979

    Hi Ismael,
    The code is still not being injected into the calendar month view page. :-(

    in reply to: Calendar Pro | single-event.php #1036181

    JQuery is not set to load in the footer.

    Not sure where I should be see this?
    You can also try to replace “on” with “addEventListener”.

    Thanks

    in reply to: Calendar Pro | single-event.php #1035258

    Hi Ismael,
    It is stripping out the injected JS style on the calendar view. I can see the style in the single event but not in calendar view.

    Thanks

    in reply to: Calendar Pro | single-event.php #1034057

    Hi Ismael,
    Your last bit of code did not work on with the single event listing or the calendar view.
    I have this running on localhost, all plugins disabled except the calendar pro software, running a child theme with just your code in the child functions file. As mentioned, works on the single event page but not in the main calendar view. What is your local config, maybe I can reproduce it?

    Thanks

    in reply to: Calendar Pro | single-event.php #1033043

    Hi Ismael,
    It is still not working in the calendar view for some reason – look at 11/22.

    Thanks

    in reply to: Calendar Pro | single-event.php #1032621

    Hi Ismael,

    Here is a summary of where we are at-

    1.
    add_action(‘wp_footer’, ‘ava_color_closed_event’, 9999);
    function ava_color_closed_event() {
    ?>
    <script>
    (function() {
    let et = document.querySelector(‘.tribe-events-single-event-title’); This throws a 500 server error.
    et = et ? et : document.querySelector(‘.tribe-events-month-event-title a’);
    if( ( et ) && ( et.textContent == ‘Closed’ || et.textContent == ‘Library Closed’ ) ) {
    et.style.color = ‘#c20b1a’;
    }
    })();
    </script>
    <?php
    }
    _________________________________________________________________________________________________________
    2. This doesn’t work-
    add_action(‘wp_footer’, ‘ava_color_closed_event’, 9999);
    function ava_color_closed_event() {
    ?>
    <script>
    (function() {
    const et = document.querySelector(‘.tribe-events-single-event-title’);
    const etm = document.querySelector(‘.tribe-events-month-event-title a’);
    if( ( et.textContent == ‘Closed’ || etm.textContent == ‘Library Closed’ ) ) {
    et.style.color = ‘#c20b1a’;
    etm.style.color = ‘#c20b1a’;
    }
    })();
    </script>
    <?php
    }
    ________________________________________________________________________________________________________
    3. This only works on the single event page itself, but not in the calendar view.
    add_action(‘wp_footer’, ‘ava_color_closed_event’, 9999);
    function ava_color_closed_event() {
    ?>
    <script>
    (function() {
    const et = document.querySelector(‘.tribe-events-single-event-title’);
    if(et && et.textContent == ‘Closed’ ) {
    et.style.color = ‘#c20b1a’;
    }
    })();
    </script>
    <?php
    }

    • This reply was modified 6 years ago by xyzb.
    in reply to: Calendar Pro | single-event.php #1031711

    Hi,
    Couple of things – “let” is invalid according to my PHP editor so I changed it to “const”. The new script didn’t work – it didn’t change the title color on the event page or the calendar page title/link so I went back to the first script you had sent.

    Other ideas?
    Thanks

    in reply to: Calendar Pro | single-event.php #1030500

    Thanks! This works on the single event but not on the calendar view itself. Could this be changed as well?

    Thanks!

    in reply to: Calendar Pro | single-event.php #1029395

    The events cal uses the event(post) title on the calendar. When we are closed, I want the title to be styled so it is red, etc. I am able to do this using a filter in the functions file but it retains the markup in the tile which is displayed in the browser<head> tag.

    Take a look at the page included.

    Thanks

    in reply to: Calendar Pro | single-event.php #1028063

    That works but that is not what I wanted. I want to add HTML to the event post title so if we are closed that day, it will be red and bold in the calendar, the list and in the post itself.

    Other ideas?

    Thanks

    in reply to: Calendar Pro | single-event.php #1026363

    Sorry! Spoke too soon.

    Is there a way to remove the HTML from the <title></title> tag in the the post page <head>? Here is the filter I am using while calling the “closed” custom field in my child theme functions file.

    This code works great on a a standard blog post, but not on an event entry(post).

    Thanks!

    add_filter( ‘the_title’, ‘wpse33385_filter_title’, 10, 2 );
    function wpse33385_filter_title( $title, $post_id )
    {
    if( $new_title = get_post_meta( $post_id, ‘closed’, true ) )
    {
    return $new_title;
    }
    return $title;
    }

    • This reply was modified 6 years ago by xyzb.
    in reply to: Calendar Pro | single-event.php #1026064

    Never mind – I figured it out- you can close this ticket.

    Thanks!

    in reply to: Mobile Menu #987433

    Hi,
    It was related to my header.php and avia.js in my child theme. It is resolved.

    Thanks

    in reply to: JS Error #987181

    I made changes to the header.php by adding the Google Tag Manager noscript just inside the body tag. I didn’t touch the avia.js file but for some reason had to add it to the child theme folder.

    Is there a preferred way of adding the tag manager noscript code ?

    Thanks much!

    in reply to: JS Error #987154

    Here is what I found. I had to move the js/avia.js file into my child theme. I also noticed that there is a header.php file in both my child and parent theme for some reason. I’m not sure if this is from the update to Enfold. There must be something in my child theme that is creating issues.

    Comments?

    Thanks

    in reply to: Need more buttons in fullscreen slider, #967313

    Hello.,
    I’ve modified the files to add an additional button to the full screen slideshow –
    slideshow_fullscreen.php
    av-helper-slideshow.php

    When opening the modal window to add the caption/buttons I can see the 3 button selection in the code, but the modal window is only showing attributes for button 1 and button 3. It appears that the window height needs to be tweaked but I’m not having any luck thus far.

    Also, I’m hoping I can include the modified files in my child theme so I would really appreciate your insight on all items mentioned here. I’m running the latest Enfold rev.

    Thanks!

    in reply to: Time Format #954706

    Hi Mike,
    I looked at the docs and didn’t see how to add a period after a and m, so it is a.m. It looks like it is just am or AM or pm or PM. Please advise.

    Thanks

    in reply to: Event Calendar Pro #952743

    Will the theme calendar theme overrides still work as outlined on the Modern Tribe website?

    Themer’s Guide

    Thanks

    in reply to: Events Calendar Pro #951907

    It’s resolved.

    Thanks

    in reply to: Event Calendar Pro #951017
    This reply has been marked as private.

    Just an fyi…
    There is a typo-
    remove_action(‘tribe_events_template’, ‘avia_events_tempalte_paths’, 10, 2);

    Awesome info though.

    Thanks much!

    in reply to: Event Calendar Pro #950826

    Awesome, thank you, but this really didn’t help. The layout and links that are created by a default WP theme cannot be replicated by adding the code into my child theme functions file. Disappointed. I have spent the last 2 days trying to get Enfold to work with Events Calendar Pro and it has not worked well at all.

    in reply to: Designated Mobile Menu not displaying #950288

    Thanks much!

    in reply to: Hide sidebar on tag/archive pages #949647

    Please close .

    Thanks

    in reply to: Hide sidebar on tag/archive pages #949638

    I found a filter function that Ismael posted a few years ago that worked. I put it in my child themes function file. Hopefully it will work on future updates.

    Thanks

    in reply to: Designated Mobile Menu not displaying #949077
    This reply has been marked as private.
    in reply to: Designated Mobile Menu not displaying #947967

    I don’t understand why the developers did this. Allowing to create a dedicated mobile menu was awesome. Could you provide the CSS to hide the secondary menu on mobile(phones) and then I will need to add code to add those items to the main menu. I don’t like the new change, wondering why this was done????

    Thanks

Viewing 30 posts - 31 through 60 (of 137 total)