• I see that YTIR sets up its own loop to cycle through the YTIR type posts. This, then would be nested inside the main loop, with non-deterministic results, like the main page excerpt showing in the slider info area. Function calls that are reserved for use inside the loop should be replaced with appropriate alternatives.

    For example, replace:
    get_the_excerpt()
    with something like:
    apply_filters('get_the_excerpt', $YTIR_ID->post_excerpt);

    https://www.ads-software.com/plugins/featured-youtubeimage-slider/

Viewing 1 replies (of 1 total)
  • Plugin Author pizzli

    (@pizzli)

    I will be releasing an update within the next few days to address this. I have been busy with a new job which has diverted my attention from my plugins. I will update this post and push and update when it is ready.

    Thanks!
    Alexander Block

Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect use of the function calls outside the loop’ is closed to new replies.