Wordpress Plug-In That Adds Promotion Box After Blog Post

15 replies
  • WEB DESIGN
  • |
Hi Warriors,

I hope someone can help me out here.

I want to add a box that appears after each post on my blog where I can place a promotion for an affiliate product or maybe an opt-in form.

Here's an example of what I want to add...

Double Your Blog Profits in 2013?! : @ProBlogger

If you scroll past the end of the blog post to the box which says "ProBlogger runs on the Genesis Framewrok..." < That's what I want!

Now I know that the plug-in used to do that is Genesis Promotion Box. I've tried that out but it caused a conflict with another plug-in so I can't use that - so are there any other plug-ins I can use?

Ideally it will enable me to set a default box that is shown on all blog posts, but also allow me to add specific promotions for certain blog posts.

Any ideas?

Thanks,
James
#adds #blog #box #plugin #post #promotion #wordpress
  • Profile picture of the author Istvan Horvath
    There was a wso I was offered a "review" copy... you could insert an ad, even a small graphic, plus, you can have a default and specific for posts (provided you create those in the backend of the plugin) ... maybe there was an option even for optin box.

    The name was something 'call to action' or similar.
    Signature

    {{ DiscussionBoard.errors[7620410].message }}
    • Profile picture of the author JamesPenn
      Originally Posted by Istvan Horvath View Post

      There was a wso I was offered a "review" copy... you could insert an ad, even a small graphic, plus, you can have a default and specific for posts (provided you create those in the backend of the plugin) ... maybe there was an option even for optin box.

      The name was something 'call to action' or similar.
      Thanks Istvan

      I've just done a few searches through the WSO archives and haven't found it. Do you remember how long ago it was so I can narrow my search?

      Thanks,
      James
      {{ DiscussionBoard.errors[7620435].message }}
      • Profile picture of the author David V
        These two will do what you want:
        MD Custom Content
        Ads Within Contents

        These types of plugins are basically all the same regardless of the marketing spin.
        They hook after post/page, before post/page, etc... and let you add content.
        {{ DiscussionBoard.errors[7622153].message }}
        • Profile picture of the author JamesPenn
          Originally Posted by David V View Post

          These two will do what you want:
          MD Custom Content
          Ads Within Contents

          These types of plugins are basically all the same regardless of the marketing spin.
          They hook after post/page, before post/page, etc... and let you add content.
          Thanks David

          Those two seem to add the promotion within the main blog post though. I'm looking for something that adds a custom piece of text or opt-in etc in a box displayed separately from the blog post.

          Like in this example if you scroll down and look for the promotion box for the Genesis Framework...

          Double Your Blog Profits in 2013?! : @ProBlogger

          James
          {{ DiscussionBoard.errors[7622644].message }}
          • Profile picture of the author David V
            Actually the md custom content places the content exactly in the same spot as your example. It seems different because of extensive css styling.
            The only difference is the plugin uses a default wordpress hook (so it works for any theme) while probloggers genesis theme is likely using a custom "genesis_after_post_content" hook. Exactly the same location though, after the blog post.
            I do see what your trying to accomplish but the cool styling of problogger might be a little misleading.

            He's adding custom content right after the blog post. Author box, then related box, then promotion box, then comments template.
            That's exactly what the md custom content does.
            You need to create the style, spacing, etc...
            Look at problogger's css.

            Adding author box, related, the powered by, is the same.
            What it looks like is a different story.
            His styling give the impression of being separated from the post, but that's just the style/css.
            The only reason I mention any of this is because I think there might be a misconception about how problogger created that box after the content.

            I don't use that plugin I mentioned and there are many more like it at wordpress.org, I just want clarify a little that it doesn't add the content in the blog post anymore then probloggers does, same place.
            {{ DiscussionBoard.errors[7622914].message }}
            • Profile picture of the author JamesPenn
              Originally Posted by David V View Post

              Actually the md custom content places the content exactly in the same spot as your example. It seems different because of extensive css styling.
              The only difference is the plugin uses a default wordpress hook (so it works for any theme) while probloggers genesis theme is likely using a custom "genesis_after_post_content" hook. Exactly the same location though, after the blog post.
              I do see what your trying to accomplish but the cool styling of problogger might be a little misleading.

              He's adding custom content right after the blog post. Author box, then related box, then promotion box, then comments template.
              That's exactly what the md custom content does.
              You need to create the style, spacing, etc...
              Look at problogger's css.

              Adding author box, related, the powered by, is the same.
              What it looks like is a different story.
              His styling give the impression of being separated from the post, but that's just the style/css.
              The only reason I mention any of this is because I think there might be a misconception about how problogger created that box after the content.

              I don't use that plugin I mentioned and there are many more like it at wordpress.org, I just want clarify a little that it doesn't add the content in the blog post anymore then probloggers does, same place.
              Thanks David - I always thought ProBlogger used the Genesis Promotion Box - but your revelation that he is actually using a Genesis Hook has provided me with a solution!

              Thanks very much. It looks really basic right now but I'm sure that can be fixed up once I get someone to sort out the CSS but I simply added some text to my genesis_after_post_content hook and I've got something up now that can be tested over the weekend.

              Thanks,
              James
              {{ DiscussionBoard.errors[7622986].message }}
              • Profile picture of the author David V
                Originally Posted by JamesPenn View Post

                Thanks David - I always thought ProBlogger used the Genesis Promotion Box - but your revelation that he is actually using a Genesis Hook has provided me with a solution!

                Thanks very much. It looks really basic right now but I'm sure that can be fixed up once I get someone to sort out the CSS but I simply added some text to my genesis_after_post_content hook and I've got something up now that can be tested over the weekend.

                Thanks,
                James
                Your welcome, no problem.

                Ok, so I take it your running genesis? That makes it even easier to copy what he might be doing.
                There should already be a widgetized area below the post.
                You'll need to double check, but if there is, all you need is your styling to make it happen.

                If not, use the genesis hook addon plugin to hook the correct area and your golden! Go to the genesis site and you'll see their hook map.

                There very well could be a genesis promotion box addon or something similar, but never heard of it.
                {{ DiscussionBoard.errors[7623010].message }}
                • Profile picture of the author JamesPenn
                  Originally Posted by David V View Post

                  Your welcome, no problem.

                  Ok, so I take it your running genesis? That makes it even easier to copy what he might be doing.
                  There should already be a widgetized area below the post.
                  You'll need to double check, but if there is, all you need is your styling to make it happen.

                  If not, use the genesis hook addon plugin to hook the correct area and your golden! Go to the genesis site and you'll see their hook map.

                  There very well could be a genesis promotion box addon or something similar, but never heard of it.
                  Yep, running Genesis.

                  There is a Promotion Box plugin but when I used it it would add my social media sharing buttons to my promotion box with no way to disable so it wouldn't work for me.

                  WordPress › Genesis Promotion Box « WordPress Plugins

                  James
                  {{ DiscussionBoard.errors[7623023].message }}
                  • Profile picture of the author David V
                    Originally Posted by JamesPenn View Post

                    There is a Promotion Box plugin but when I used it it would add my social media sharing buttons to my promotion box with no way to disable so it wouldn't work for me.
                    Yeah, that's strange. I just browsed the subversion repository for the plugin and it's pretty basic. It creates a custom post type and whatever you enter into the editor will show in the box.
                    Must be a conflict somewhere if you have social buttons showing up in the box.
                    Either way, if you know the hook, you can do it with the genesis hooks plugin. (Not sure the url)

                    Here's the hooks used in the framework:
                    Hook Reference - Genesis Framework
                    This is the hook area your looking for:
                    genesis_after_post_content
                    This hook executes immediately after the post/page content is output, outside the .entry-content div.

                    Comment Action Hooks

                    genesis_before_comments
                    This hook executes immediately before the comments block (outside the #comments div).

                    Here's a great hook map, say's it all!
                    Visual Hook Guide

                    Good Luck!

                    EDIT:
                    Originally Posted by JamesPenn View Post

                    Just to clarify...

                    I want to show it after the main blog post, but before the comments.
                    Yes, it will with the after post content hook.
                    {{ DiscussionBoard.errors[7623062].message }}
                    • Profile picture of the author JamesPenn
                      Originally Posted by David V View Post

                      Yeah, that's strange. I just browsed the subversion repository for the plugin and it's pretty basic. It creates a custom post type and whatever you enter into the editor will show in the box.
                      Must be a conflict somewhere if you have social buttons showing up in the box.
                      Either way, if you know the hook, you can do it with the genesis hooks plugin. (Not sure the url)

                      Here's the hooks used in the framework:
                      Hook Reference - Genesis Framework
                      This is the hook area your looking for:



                      Here's a great hook map, say's it all!
                      Visual Hook Guide

                      Good Luck!

                      EDIT:


                      Yes, it will with the after post content hook.
                      Thanks David.

                      After post content worked on single posts but it was also displaying it on every single post on category pages too.

                      The before comments hook works perfectly!

                      Thanks,
                      James
                      {{ DiscussionBoard.errors[7623098].message }}
                      • Profile picture of the author David V
                        Originally Posted by JamesPenn View Post

                        Thanks David.

                        After post content worked on single posts but it was also displaying it on every single post on category pages too.

                        The before comments hook works perfectly!

                        Thanks,
                        James
                        Awesome, glad you got it figured out.
                        {{ DiscussionBoard.errors[7623106].message }}
  • Profile picture of the author Patrick
    If you are a developer and you know WP - You can add a widgetized area in your functions.php and then call that in the single.php file.

    If you are not - google about it or hire someone or buy some plugin which can do this or buy this WSO ^^
    {{ DiscussionBoard.errors[7620431].message }}
  • Profile picture of the author JamesPenn
    David - I've run into a little problem...

    I put the promotion in the after_post_content hook - but then when I checked my category pages, it was showing my promotion on every blog post on the category - so it was being showed about 8 times on one page.

    Is there a way I can disable it on category pages? Or should I put the code in a different hook?

    James
    {{ DiscussionBoard.errors[7623056].message }}
  • Profile picture of the author JamesPenn
    Just to clarify...

    I want to show it after the main blog post, but before the comments.
    {{ DiscussionBoard.errors[7623060].message }}
  • Profile picture of the author oknoorap
    You can add custom filter to your content, edit functions.php, and add these codes

    Code:
    function after_post_content() {
       if(!is_feed() && !is_home()) {
           .= '<div id="darthvader">Hello Universe</div>';
       }
       return ;
    }
    add_filter('the_content', 'after_post_content');
    {{ DiscussionBoard.errors[7627468].message }}

Trending Topics