Can I put a php function into a manu link?

  • Unknown's avatar

    Hi there,

    I have a function which is called over a link:
    <?php if ( get_theme_mod( ‘show_headerarchive’ ) ) : ?>
    <?php get_template_part( ‘content-archivemenu’ ); ?>
    <?php endif; ?>
    You can take a look at it at http://osthessen-pflege.de/
    It is the link “Heim- und Pflegeverzeichnis” in the center top. Now I want to set this link on display:none; and want to link this function through the top menu next to “Kontakt”.
    Is this possible?

    Best regards,

    Mark

    The blog I need help with is: (visible only to logged in users)

  • I’m afraid you’re in the wrong forum. This support forum is for free WordPress.com blogs. You appear to have a self-hosted WordPress.ORG install. WordPress.com and WordPress.org are completely separate and different: http://en.support.wordpress.com/com-vs-org/

    Please visit the WordPress.org support forum for assistance as we won’t be able to help you here: http://wordpress.org/support/ If you don’t already have a username on that forum, click the register button in the upper right corner so you can post in that forum.

  • The topic ‘Can I put a php function into a manu link?’ is closed to new replies.