• I’m trying to create this path for each subsequent blog on my MU installation so that it links to ‘gallery.php’. The real path would be something like: wp-content/blogs.dr/1/files/gallery/gallery.php

    But I would like every blog to have their own separate gallery.php file. So I put the folder ‘gallery’ and ‘gallery.php’ in each blog. On the main template I want to have something like this:

    <?php include('bloginfo("url")'.'/gallery/gallery.php'); ?>

    That will generate something like this:

    https://www.mywebsite.com/gallery/gallery.php

    For each blog. My brain is just fried today.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I don’t even know what to title this. haha. Custom blog php insertion?’ is closed to new replies.