Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
output <?php get_parent(); ?> without hyphen in template
#1
I need a hint how to omitt hyphen in parent ..

example:

I have a first level page "my cats"
Slug/URL is "my-cats"

Now I have a second-level-navigation in the sidebar and want to repeat the parent, like category
before the submenu

unfortunately

Code:
<?php get_parent(); ?>
outputs "my-cats" instead of "my cats"

what can I do to omitt this?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
output <?php get_parent(); ?> without hyphen in template - by Connie - 2011-11-05, 05:32:40



Users browsing this thread: 1 Guest(s)