• Resolved create24

    (@create24)


    I would like to permanently add the ACF code to the file premium-addons-for-elementor/includes/class-premium-template-tags.php, just few lines after the .premium-blog-thumbnail-overlay container. Could someone tell me how to use hooks to do this? Now i’m adding it every time after update plugin, it’s not good solution. Searching for something better.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Leap13

    (@leap13)

    Please share a screenshot showing where exactly do you want to have this so we can pass it to our devs team to add a PHP hook for it.

    Regards

    Thread Starter create24

    (@create24)

    Sure, we have in class-premium-template-tags.php in line 1112

    <div class="premium-blog-thumbnail-overlay">
        <a class="elementor-icon" href="<?php the_permalink(); ?>" target="<?php echo esc_attr( $target ); ?>" aria-hidden="true"><!--<span><!?php esc_html( the_title() ); ?></span>--></a>
    </div>

    First – i want could turn off span (now i comment it).
    Second – bellow .premium-blog-thumbnail-overlay container I adding date entered manually in ACF. In my case:

    https://ibb.co/rwJPsFj

    Plugin Author Leap13

    (@leap13)

    Hi @create24,

    For the <span> inside the “.premium-blog-thumbnail-overlay”, we already hide this using CSS. This is important to improve SEO. Unfortunately, we will not be able to change that. If it’s showing on your website, please share a link so I can check.

    We have added this PHP hook and it will be included in the next version.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hook / filters for extra ACF code after .premium-blog-thumbnail-overlay’ is closed to new replies.