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.


Author Topic: Background for Stickies  (Read 1928 times)

0 Members and 1 Guest are viewing this topic.

Offline johndoe

  • Newbie
  • *
  • Posts: 4
    • View Profile
Background for Stickies
« on: 19 February 2009, 12:34 »
Hello,

I'm looking for a way to give Sticky-Posts an extra bg-color with css like ...

.sticky {
background-color: #000;
}

how could this be done with your great Plugin?


thanks a lot!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Background for Stickies
« Reply #1 on: 19 February 2009, 13:23 »
.sticky_post {}

++ lesterchan.net - Lester Chan's Website

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.

Offline johndoe

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Background for Stickies
« Reply #2 on: 19 February 2009, 13:35 »
Hey Lester,

Thanks for your fast reply, but does this also work for the Frontpage? (post.php).
It would make more sense as in the sticked post itself.

Thanks in Advance.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Background for Stickies
« Reply #3 on: 19 February 2009, 13:41 »
yeap as long the post is stick post not announcement post. For announcement post it is announcement_post

++ lesterchan.net - Lester Chan's Website

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.

Offline johndoe

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Background for Stickies
« Reply #4 on: 19 February 2009, 14:05 »
Oh dang, i see my debacle now,
i've removed the "content" tags from my post.php and i display the content as a list , kinda : "only Title and date" ,
so no "the_content" nor a "entrytext" available, just the title and the date inside a <div class="post2"> tag.


h2Post Title
Category and date
--------------------
h2Post Title
Category and date
--------------------
h2Post Title
Category and date
--------------------
h2Post Title
Category and date
--------------------


is there a way to change the destinations in the wp-sticky.php to lets say "post2"?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Background for Stickies
« Reply #5 on: 19 February 2009, 14:13 »
I don't think it will work but you can try. This is the furtherest I will go as modification of my plugin is not within my support scope =)

Replace in wp-sticky.php
Code: [Select]
add_filter('the_content', 'sticky_the_content');With:
Code: [Select]
add_filter('the_title', 'sticky_the_content');

++ lesterchan.net - Lester Chan's Website

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.

Offline johndoe

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Background for Stickies
« Reply #6 on: 19 February 2009, 14:33 »
Ok thank's a lot Lester , i guess i need to play around with the php file to get it off the ground, but i'm optimistic :D

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Background for Stickies
« Reply #7 on: 19 February 2009, 14:35 »
yea, I think you may need to use the if statement to check for sticky post, perhaps it will work better. Refer to the readme.html under Usage Tab.

++ lesterchan.net - Lester Chan's Website

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.