rmetfd
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] Blank 'Your Details' pageHi, I ended up fixing this.
I deleted wpsc-transaction_results.php in the theme (this file must have been updated in a later version of WPEC).
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Strange issue with ul and ol list spacingAnybody able to help with this one?
Forum: Themes and Templates
In reply to: page meta titleThanks for the reply.
I have the SEO Yoast plugin installed, however I’m looking for a dynamic solution
Forum: Fixing WordPress
In reply to: Show parent title on child pages onlygot it using the following code!
<?php if( $post->post_parent ) echo get_the_title( $post->ID ); ?>
Forum: Themes and Templates
In reply to: Parent PermalinksI should also note that the heading called by my_page_ancestor should always be the top tier parent element.
IE if the menu structure is the following, ‘Solutions’ is always visible
Solutions
– Cleaning
– – DetergentForum: Themes and Templates
In reply to: Menu Heading as LinkFound a solution.
For everybodies information…
in functions.php
function my_page_ancestor() { global $post; if( !is_front_page() ) { $parents = get_post_ancestors( $post ); $top_parent_link = get_permalink( end($parents) ); echo '<a href="' . $top_parent_link . '"><span class="pageAncestor">' . get_the_title( end($parents) ) . '</span></a>'; } }
on the page template
`<?php my_page_ancestor();?>’
Forum: Themes and Templates
In reply to: Menu Heading as LinkI’ve found two pieces of code that may help but dont know how I should combine them to achieve the function
<?php get_ancestors( $object_id, $object_type ); ?>
<?php $permalink = get_permalink( $id ); ?>
Forum: Fixing WordPress
In reply to: Admin Panel Hangs When Updating PostThat has worked. What causes this to happen?
Forum: Fixing WordPress
In reply to: Admin Panel Hangs When Updating PostAre you serious? I’ve done countless installs.
Reinstalling WordPress is a last result. Perhaps this is a database issue and if so then how will that help anyway?
Forum: Fixing WordPress
In reply to: Display posts from CategoryThanks for the help!
Forum: Fixing WordPress
In reply to: Display posts from CategoryThanks for that!
It didn’t work initially but I added a ‘,’ after ‘XX’ and it worked
IE –
$args = array( 'numberposts' => 5, 'order'=> 'DESC', 'cateogry'=> '1', 'orderby' => 'date' );
Forum: Fixing WordPress
In reply to: Remove main menu drop down functionalityEDIT –
I got it working by using the following CSS code.
div#navigation ul ul { display:none;
Forum: Themes and Templates
In reply to: Jquery code for sidebarfor example, do I change ‘#primary_nav li’ to ‘#menu-item li’ or ‘#sub-menu li’?
Forum: Themes and Templates
In reply to: current-menu-item displaysUnfortunately (as I understand how much easier it makes) I’m not able to share the website.
However, I’ve just had some success with the following code.
#sidebarcolumnpage ul ul ul { display: none; /* For testing, change to display: block; */ list-style:none; z-index:100; } #sidebarcolumnpage ul li:hover > ul { display: block; }
Is there any way to change it from expanding on hover to expanding on selection?
Forum: Themes and Templates
In reply to: current-menu-item displaysI’ve been trying to use firebug and editing my css code but to no avail. I’ve tried the following combinations…
li .menu-item ul .sub-menu { display: none; } li .current-menu-parent ul .sub-menu { display: inherit; }
.wp_nav_menu li.menu-item ul.sub-menu { display: none; } .wp_nav_menu li.current-menu-item ul.sub-menu , .wp_nav_menu li.current-menu-ancestor ul.sub-menu { display: inherit; }
ul ul ul { display: none; } li:hover ul ul { display: block; }