• Resolved wojewodzic

    (@wojewodzic)


    Hi, it’s possible to set options for posts by date, for example, all posts older than 12 months automatically get nofollow for external links.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry, no, we do not have that option 🙁

    Thread Starter wojewodzic

    (@wojewodzic)

    Is it possible to add such functionality for a fee?

    Thread Starter wojewodzic

    (@wojewodzic)

    @talextech bump 🙂

    Thread Starter wojewodzic

    (@wojewodzic)

    I’ve changed code in includes/class-wpel-front.php file and add some additional filter for posts older than 1 year.

    
    $post_date = get_the_date('Y-m-d H:i:s');
    $apply_settings = apply_filters( 'wpel_apply_settings', true );
    
    if ( false === $apply_settings || strtotime($post_date) > strtotime('-365 days')  ) {
        return $content;
    }
    

    @talextech
    It’s possible to add similar functionality to the plugin in the future version? I can pay for this.

    • This reply was modified 6 years, 3 months ago by wojewodzic.
    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    Sorry for my delayed response, I’m happy to hear you managed to add the date filter using the wpel_apply_settings filter!

    I have added to our ToDo list to make that an option but I can’t give you any date when we will be able to get that in 🙁

    If you have any other questions, don’t hesitate to ask!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Filter by date’ is closed to new replies.