H?vard Persson
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Quote Rotator] [Plugin: Quote Rotator] All quotes appear together at loadThere is a simple fix for this.
Just add the following to your style.css
.rotated_quote {display:none;}
Forum: Fixing WordPress
In reply to: Broken plugin CSS link in . Trying to remove.I think I found the issue.
Change this in class-quote-rotator-plugin.phpfunction print_styles() { wp_register_style( 'quote_rotator_frontend_style', QUOTE_ROTATOR_CSS_URL . 'frontend-style.css' ); wp_enqueue_style( 'quote_rotator_frontend_style' ); }
to:
function print_styles() { wp_register_style( 'quote_rotator_frontend_style'. QUOTE_ROTATOR_CSS_URL . 'frontend-style.css' ); wp_enqueue_style( 'quote_rotator_frontend_style' ); }
Starts on line 60
The problem is the float tag some themes use on the li.
Open the subscribe-connect-follow-widget.php file
Find:
case("32px"): { return '<li style="display:inline;margin:0 5px 0 0"><a href="{url}" title="{description}"'.$target.'><img src="'.WP_PLUGIN_URL.'/subscribe-connect-follow-widget/images/32px/{image}" alt="{name}" height="32px" width="32px" /></a></li>'; }
Change to:
case("32px"): { return '<li style="display:inline;float:none;margin:0 5px 0 0"><a href="{url}"><img src="'.WP_PLUGIN_URL.'/subscribe-connect-follow-widget/images/32px/{image}" alt="{name}" height="32px" width="32px" /></a>'; }
Forum: Fixing WordPress
In reply to: Only display subpagesThanks, but I have tried a lot of variants of wp_list_pages, but I am not able to only show children of child whit a specific name.
In the sidebar of page product I try to get two list.
They should output:
<ul> <li>In stock #1</li> <li>In stock #2</li> <li>In stock #3</li> </ul> <ul> <li>Must be ordered #1</li> <li>Must be ordered #2</li> <li>Must be ordered #3</li> </ul>
Viewing 4 replies - 1 through 4 (of 4 total)