Leon
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Can someone help with this css menu?what if you give the div the css attribute:
overflow: hiddden;
?If this is not working, please provide the code
Forum: Themes and Templates
In reply to: Can someone help with this css menu?If you have a div around the list items, you can give this div a padding-right of 5px and a white background.
You can also use li:last-child and then add a border-right or a marging or something like that. This does not work in all IE’s
Hi dbcohen
Thank you for your reply. Unfortunately I don’t have this plugin running nor another cache plugin no my test environment. So this is not the problem.
Well Tobias did have a point.
You can also do the following:
add_action( 'plugins_loaded', 'check_plugin' );
function check_plugin(){ if ( class_exists( "CheckPlugin" ) ){ define( 'WP-Table-Active', 'true' ); } }
and then check
if( defined( 'WP-Table-Active' ) ) { //do actions }
(double post) because of server timeout
How about:
if ( class_exists( "CheckPlugin" ) )
Forum: Plugins
In reply to: wp_set_object_terms returns wp_errorbump
Forum: Plugins
In reply to: Plugins not showing upI think this is a plugin who is messing this up. I had this once. Rename the plugins folder, and create a new one and add the plugins one by one again.
Forum: Plugins
In reply to: Hook add filter to the content and exclude posts from a certain categoryI found a way to do this,
in the function that filters add the following:
$get_category = get_the_category(); if(strtolower($get_category[0]->cat_name) != 'catname') { //the actions to perfom on the content }
this only applies when the certain category you want to exlcude is the first category assigned to the post. If you want to exclude more, you can do an array search.
Forum: Plugins
In reply to: [Plugin: WP-Polls] latest poll bugYes it is working now. Thanks very much, appreciate it!
Keep up the good work!
LéonForum: Plugins
In reply to: [Plugin: WP-Polls] latest poll bugAhh I see what the problem is now.
WHen I uncheck the “Do NOT Expire This Poll” it doesn’t display the date/time fields. I see that the div ‘pollq_expiry_timestamp’ has the css style: display: none; and this doesn’t changes when I uncheck the checkbox, therefore it adds the current date/time and closes it.
Apparantly the javascript that is suppose to change display:none into display: block doesn’t work?
Forum: Plugins
In reply to: [Plugin: WP-Polls] latest poll bugThanks for your reply.
First to choose the specific poll is not an option. ALways the latest poll has to be shown. We have a blog platform with WPMU. The bloggers doesn’t have the option to choose the poll to display.
When a poll is created without an end date, and then when I uncheck ‘No expiry’ It doesn’t immediatly give me the option to set the date. The datebox doesn’t appear then. I first have to save it and then it adds the current date/time. Then when I edit the poll again, I can set the date.
So when some bloggers set ‘no expiry date’ but later they change their mind and do want an end date this happends.