treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[wordpress] nav menu title ( navigation label )

  • Hi all I'd like to use PHP to show in the menu name a specific user / author, but when I use: <?php attrac_list_authors(10, FALSE); ?> the output of the page it shows me the PHP code in red. This happens only if I use PHP. If I use Html is all perfect. Here are two shots that show the problems that I'm fighting to solve. Pic1: http://d.pr/i/nZ63 Pic2: http://d.pr/i/g2sN

    Thank you so much for now, Mario

  • ok. in small steps continuation and development have reached a temporary solution that allows me to call my function. The only problem now is to put in place and only for this particular menu item. If anyone has found or used something similar I would be grateful to let me know. Tnx U This is the call: 'after' => '' . attrac_list_authors(); . ',

  • my experiments are blocked here:

     => '' . attrac_list_authors(); . ', 
    

    and then remove with CSS " display: none; " where this is not necessary.

    Mario