lepo
Forum Replies Created
-
Forum: Plugins
In reply to: Assign user to taxonomieshere is another thread very useful :
useful linkForum: Plugins
In reply to: Assign user to taxonomieshello yes it exist, i suggest you to carefully read this tuto :
custom user taxonomiesor use this plugin : user taxonomies plugin
hope it helps
Forum: Fixing WordPress
In reply to: can some one comment and explain this wp code pleasesorry here is the pastbin link for code :
thanksForum: Fixing WordPress
In reply to: Adding extra <span> output to wp list_pageshello, i had the same problem with adding a span to wp_list_pages. thanx to this post i got it. But i have another probleme i need to add a current class to the generated automaticlly by wp_list_pages loop in order to make a menu highlight this my code :
php:<div id=”dolphincontainer”>
<div id=”dolphinnav”>- href=”<?php bloginfo(‘url’) ?>/”><span>{ Home }</span><?php echo $langblog;?>
<?php
$pages = wp_list_pages(‘exclude=1423&sort_column=menu_order&depth=1&title_li=&echo=0’);
$pages = preg_replace(‘/(]*>)/’,’$1<span>’,$pages);
$pages = str_replace(‘‘, ‘</span>‘, $pages);
preg_replace(‘/(<li[^>]*>)/’,’$1<span>’,$pages);
$pages = preg_replace(‘/class=”[^”]*/’,’class=”current”‘, $pages);echo $pages;
?>css :
/* ———————- Dolphin nav ———————- */
#dolphincontainer{position:relative;height:56px;color:#E0E0E0;background:#143D55;width:100%;font-family:Helvetica,Arial,Verdana,sans-serif;}
#dolphinnav{position:relative;height:33px;font-size:12px;text-transform:uppercase;font-weight:bold;background:#fff url(images/navig/dolphin_bg.gif) repeat-x bottom left;padding:0 0 0 20px;}#dolphinnav ul{margin:0;padding:0;list-style-type:none;width:auto;float:left;}
#dolphinnav ul li{display:block;float:left;margin:0 1px;}
#dolphinnav ul li a{display:block;float:left;color:#EAF3F8;text-decoration:none;padding:0 0 0 20px;height:33px;}
#dolphinnav ul li a span{padding:12px 20px 0 0;height:21px;float:left;}
#dolphinnav ul li a:hover{color:#fff;background:transparent url(images/navig/dolphin_bg-OVER.gif) repeat-x bottom left;}
#dolphinnav ul li a:hover span{display:block;width:auto;cursor:pointer;}
#dolphinnav ul li a.current,#dolphinnav ul li a.current:hover{color:#fff;background:#1D6893 url(images/navig/dolphin_left-ON.gif) no-repeat top left;line-height:275%;}
#dolphinnav ul li a.current span{display:block;padding:0 20px 0 0;width:auto;background:#1D6893 url(images/navig/dolphin_right-ON.gif) no-repeat top right;height:33px;}
/* ———————- END Dolphin nav ———————- */i want to make this effect menu work by using the wright php loop in wordpress : see
http://www.13styles.com/css-menus/dolphin/thanks in advance