All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Alper

Pages: [1]
1
Suppose you don't want to place shortcode of Wp-Print because you want to place it in your title part of your page(s)/post(s) but if you do that Wp-Print icon is showed in all pages/posts.
I've solved this like that:
Replace
<?php print_link(); ?>
 code with this:
<?php
$noprint="1,2,10,25";
$noprint_list = preg_split("/[\,]+/", $noprint);
$thePostID = $post->ID;
if (! in_array($thePostID,$noprint_list)){if(function_exists('wp_print')) { print_link(); }}?>

Note 1: 1,2,10,25 (with comma(,) without space(s)) are the posts/pages that you don't want to Wp-Print icon shown..

Note 2: if you change if (! in_array.... line to if ( in_array..... (i mean delete ! sign) then 1,2,10,25 become posts/pages that you want to Wp-Print icon shown..

Best Regards...

Pages: [1]