Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cached Navigation Menu plugin
#9
Zegnåt Wrote:
fohlin.net Wrote:2) Change
<?php get_navigation(return_page_slug()); ?>
to
<?php get_cached_navigation(return_page_slug()); ?>
in your template.

...but some themes offer multiple PHP files and those would all need to be edited. That’s why you can only talk about changing your theme files/template files and not about specific file names.

Aha! now I see the picture much clearer. So far I'm only working on the default template because it satisfies everything I need. I'll have a look on other templates later.

And since it was the last line I missed I'll move that to the first line:

2) Change in your template
<?php get_navigation(return_page_slug()); ?>
to
<?php get_cached_navigation(return_page_slug()); ?>




Thanks Zegnåt!
Reply


Messages In This Thread
Cached Navigation Menu plugin - by erka - 2010-08-20, 20:20:05
Cached Navigation Menu plugin - by Carlos - 2010-08-23, 16:03:49
Cached Navigation Menu plugin - by Johonwayni - 2010-08-23, 19:18:29
Cached Navigation Menu plugin - by marrco - 2010-09-15, 17:18:47
Cached Navigation Menu plugin - by Zegnåt - 2010-09-18, 23:40:50
Cached Navigation Menu plugin - by marrco - 2010-09-19, 01:21:45
Cached Navigation Menu plugin - by spring - 2010-09-23, 19:11:24
Cached Navigation Menu plugin - by Zegnåt - 2010-09-23, 19:59:05
Cached Navigation Menu plugin - by spring - 2010-09-24, 00:21:34
Cached Navigation Menu plugin - by marrco - 2010-09-24, 17:27:59
Cached Navigation Menu plugin - by erka - 2010-09-27, 20:43:32
Cached Navigation Menu plugin - by marrco - 2010-09-27, 21:41:54
Cached Navigation Menu plugin - by erka - 2010-09-28, 07:26:11
Cached Navigation Menu plugin - by marrco - 2010-09-28, 17:45:24
Cached Navigation Menu plugin - by erka - 2010-10-12, 01:31:09
Cached Navigation Menu plugin - by marrco - 2010-12-25, 08:04:43
Cached Navigation Menu plugin - by mvlcek - 2011-01-19, 03:33:07



Users browsing this thread: 1 Guest(s)