Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
output <?php get_parent(); ?> without hyphen in template
#2
I found a solution with Jquery:

using a jquery plugin, from http://benalman.com/projects/jquery-repl...t-plugin/, I added that code to my template:

Code:
<h2 id="replace"><?php get_parent(); ?></h2>
    <script type="text/javascript">
            $(function() {
    $("#replace").replaceText( "-", " " );  
            });
        </script>

but maybe there is a solution without additional jquery plugin?

Cheers, Connie
|--

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, 06:15:15



Users browsing this thread: 1 Guest(s)