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: 1 only css  (Read 186 times)

0 Members and 1 Guest are viewing this topic.

Offline victooor83

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: supervideos
1 only css
« on: 25 January 2010, 07:55 »
I want to join the wp-postraings css with css of my theme.
What should I do?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: 1 only css
« Reply #1 on: 25 January 2010, 08:02 »
1. Copy the content of postratings-css.css to your style.css
2. Delete away
Code: [Select]
if(@file_exists(TEMPLATEPATH.'/postratings-css.css')) {
wp_enqueue_style('wp-postratings', get_stylesheet_directory_uri().'/postratings-css.css', false, '1.50', 'all');
} else {
wp_enqueue_style('wp-postratings', plugins_url('wp-postratings/postratings-css.css'), false, '1.50', 'all');
}
if('rtl' == $text_direction) {
if(@file_exists(TEMPLATEPATH.'/postratings-css-rtl.css')) {
wp_enqueue_style('wp-postratings-rtl', get_stylesheet_directory_uri().'/postratings-css-rtl.css', false, '1.50', 'all');
} else {
wp_enqueue_style('wp-postratings-rtl', plugins_url('wp-postratings/postratings-css-rtl.css'), false, '1.50', 'all');
}
}
in wp-postratings.php

++ 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.