robdnc
Forum Replies Created
-
RIght – so probably what is happening is that the plugin is changing the #menu-primary to something else. What might therefore work – though it’s hard without actually trying it with the plugin turned on – is
within style.css amend the references to #menu-primary to .menu
Then start the plugin again and see what happens. Make sure you backup style.css first though.
Do you have a link to your site? I’ll have a look and tell you what to change. It’s site-specific, and so not something I can send you a link to.
This happened to me – make sure that you’re not targeting the usual menu within your CSS via something like:
.menu-main-menu-container ul li a
and instead do it as
#access ul li a
As the plugin amends the .menu class to a different container.
Forum: Hacks
In reply to: Help with $cat not pulling through the variableaaaaaaaaaah. Thanks!
Forum: Hacks
In reply to: Help with $cat not pulling through the variableYes sorry, was intentional. When posting code it says ‘put between backticks’ though I wasn’t clear what those are. ANYWAY.
Problem solved I think. If I change from:
$posts = get_posts('numberposts=3&offset=0&cat=$cat');to
$posts = get_posts("numberposts=3&offset=0&cat=$cat");Then it works fine. Which is odd, because
$posts = get_posts('numberposts=3&offset=0&cat=4');works perfectly. So there you go, cheers for looking anyway.