Quantcast
Channel: Question and Answer » footer
Viewing all articles
Browse latest Browse all 23

Sharing Header Components Across Multisite

0
0

I have a multi-site platform and I’m trying to share the menu that I have in main with other sites that are located in different folders.

This is the PHP tag in the main that pulls the menu which I also need in the header of other:

<?php dokan_header_user_menu(); ?>

I tried using it as it is in the header of /site2, and it didn’t work. I also tried this:

<?php
    include $_SERVER['DOCUMENT_ROOT']."site.com/wp-content/themes/dokan/header.php";
?>

still no luck. Any tips will greatly be appreciated.

Cheers!


Viewing all articles
Browse latest Browse all 23

Latest Images

Trending Articles





Latest Images