By Paul Harrison
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Remove Tagline but keep in browser title barHave you tried setting the tagline to {display:none} in the CSS instead? That should clear the space up for you
h2.site-description,
.navbar-wrapper .navbar h2{
display:none;
}Forum: Themes and Templates
In reply to: Active li class not being added to child pages menuI also tried this code to get the same output with no active class set on the page I am looking at:
$has_subpages = false; // Check to see if the current page has any subpages $children = wp_list_pages('&child_of='.$post->ID.'&echo=0'); if($children) { $has_subpages = true; } // Reseting $children $children = ""; // Fetching the right thing depending on if we're on a subpage or on a parent page (that has subpages) if(is_page() && $post->post_parent) { // This is a subpage $children = wp_list_pages("title_li=&include=".$post->post_parent ."&echo=0"); $children .= wp_list_pages("title_li=&child_of=".$post->post_parent ."&echo=0"); } else if($has_subpages) { // This is a parent page that have subpages $children = wp_list_pages("title_li=&include=".$post->ID ."&echo=0"); $children .= wp_list_pages("title_li=&child_of=".$post->ID ."&echo=0"); } ?> <!--Check to see if we have anything to output--> <?php if ($children) { ?> <div id="news-menu" class="span3 border-right"> <ul class="nav nav-tabs nav-stacked uppercase"> <li class="menu-heading"><h6>OVERVIEW</h6> <li class="menu-heading"> <!--modified wp_list_pages--> <?php $var1 = '<a'; $var2 = '<span class="active"><a'; $var3 = ''; $var4 = '</span>'; $children = str_replace($var1, $var2, $children); $children = str_replace($var3, $var4, $children); echo $children; ?> <!--end of modified wp_list_pages--> </div><!--subNav--> <?php }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Forum: Plugins
In reply to: [SendPress Newsletters] HTML messages broken in Hotmail/OutlookI’ve got the same problem here. It works fine on gmail but on OS and Win8 its like its injecting “=” into the code every 77 characters and thats what breaks it.
I won’t bother with the screenshots as they look the same as everyone else’s but the pattern may help you to understand what’s doing it.
A real shame!! Its an awesome plugin and you have done well Josh!! Just need this little niggley bug sorted and its perfect