Support » Plugin: Insert Post Ads » Is the plugin still maintained?

  • Hi,

    Is this plugin still maintained? It’s my favorite solutions for inserting ads, but it was not updated for a couple of years, so I’m wondering if I need to start searching for other options.

    Would appreciate any answer on that.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • thommo66

    (@thommo66)

    Any answer would be good…

    supermagicien

    (@supermagicien)

    Bonjour,

    oui on a besoin de savoir car en terme de sécurité cela fait deux anx qu’il n’a pas été mis à jour.

    maxidavis

    (@maxidavis)

    Will you update the plugin?

    L’absence de réponse n’est pas très pro… Si quelqu’un connait un plugin équivalent qui lui est suivi…

    Bon, problème résolu, j’ai viré l’extension et l’ai remplacée par https://fr.wordpress.org/plugins/wp-insert/

    Thread Starter woorooo

    (@woorooo)

    I found another way to replace this plugin, just use the following small php snippets and insert them in your functions.php or use Code Snippet plugin for that.

    To insert a code before post content:

    add_action('the_content', 'add_content_before');
    function add_content_before ( $content ){
        if ( is_singular ('post') ) {
            $before_content = 'YOUR CODE HERE';
    		$full_content = $before_content . $content;
     		return $full_content;
        } else {
    		return $content;
    	}
    }

    To insert a code after post content:

    add_action('the_content', 'add_content_after');
    function add_content_after( $content ){
        if ( is_singular('post') ) {
            $after_content = 'YOUR CODE HERE';
    		$full_content = $content . $after_content;
     		return $full_content;
        } else {
    		return $content;
    	}
    }

    Just replace YOUR CODE HERE with anything you need: shortcode, adsense code or html

    • This reply was modified 11 months, 2 weeks ago by woorooo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Is the plugin still maintained?’ is closed to new replies.