Tagged: P2 Header Ad Toggle Comment Threads | Keyboard Shortcuts

  • Jay Versluis 10:01 pm on April 2, 2016 Permalink | Reply
    Tags: P2 Header Ad   

    Categories: WordPress ( 137 )

    P2 Header Ad – Version 1.6 released 

    P2 Header Ad IconI’ve just released a new version of my P2 Header Ad plugin! It fixes a few issues I’ve come across in debug mode:

    • styles are now loaded via wp_enqueue_scripts hook
    • fixed a debug warning that assumed a constant rather than a value
    • verified compatibility with WordPress 4.5

    There’s still a lone warning that appears in WordPress 4.5 Debug Mode. It reads something like “get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead”.

    This isn’t actually triggered by my plugin, but rather by the current version of P2 (1.5.8 and earlier). I’m sure the team will fix it very soon.

    As always, you can download the plugin from





     
  • Jay Versluis 11:31 am on September 20, 2014 Permalink | Reply
    Tags: P2 Header Ad   

    Categories: WordPress ( 137 )

    P2 Header Ad – Version 1.5 released 

    Screen Shot 2014-09-20 at 11.15.53

    I’ve just updated my P2 Header Ad plugin with some new options:

    • you can now display the same ad again after the post content (before the comments)
    • you can do this on single posts, and additionally on the front page if you like

    These options are not enabled by default and work best if you have longer posts on your site – the look a bit naff if you use your P2 site mainly for short status updates.

    I’ve also spruced up the graphic assets that are used on WordPress.org while I was at it. Check out the new options in the Admin Interface (it’s still under Appearance – P2 Header Ad):

    screenshot-2

    Note on Google Adsense ads

    If you’re using both options above with Google Adsense ads, please note that those can only be shown up to 5 times on a single page. If your front page shows 5 posts or more, then the ad can no longer be displayed in the header (which is called last for performance reasons).

    If you want to use the after-content-front-page-ad feature, and you want the header to show first, you can tweak line 293 of the main plugin file (p2-header-ad.php) from this

    add_action ('get_footer', 'p2DisplayAdvert');
    

    to

    add_action ('get_header', 'p2DisplayAdvert');
    

    I may make this an option in the admin interface in a future update. Let me know if you have any questions. Enjoy the plugin, you can download it from within WordPress, on WordPress.org on GitHub:





     
  • Jay Versluis 2:25 pm on December 11, 2013 Permalink | Reply
    Tags: , P2 Header Ad   

    Categories: Plugins ( 19 )

    P2 Header Ad – v1.3 released 

    I’ve just released a new version of my P2 Header Ad plugin, adding the following features:

    • added translation readiness
    • added German Translation
    • added Spanish Translation (thanks to Andrew Kurtis from WebHostingHub)
    • verified WordPress 3.8 compatibility

    You can get the latest version simply by using the WordPress updates (under Dashbaord – Updates), or download it from one of the links below:





     
  • Jay Versluis 3:09 pm on October 6, 2013 Permalink | Reply
    Tags: , P2 Header Ad   

    Categories: Plugins ( 19 )

    Introducing The P2 Header Ad Plugin 

    P2 Header Ad IconI always loved Automattic’s P2 theme: it’s one of the most innovative ideas for blogging I could find. I’m using it on several of my notebook websites, including this one. I’ve been tweaking P2 for quite some time, and one thing I wanted to do is display an advert inside the P2 header.

    As you may know, P2 doesn’t like child themes very much, so I wrote a future proof solution as this handy plugin.

    P2 Header Ad let’s you display an advert of your choice inside the header. And when the theme is updated, your advert stays in place. Neat, huh?

    (More …)





     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel