最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Minor changes on theme per subdomain - same contents

matteradmin7PV0评论

I would like to run a knowledge base based on wordpress, main URL will be docs.product but i would like to see minor changes on the theme when url is different, f.e other.product, other2.product and so on.

Changes will be colours or logos.

What is the best approach? multisite, network, child themes...

Thanks

I would like to run a knowledge base based on wordpress, main URL will be docs.product but i would like to see minor changes on the theme when url is different, f.e other.product, other2.product and so on.

Changes will be colours or logos.

What is the best approach? multisite, network, child themes...

Thanks

Share Improve this question asked Apr 9, 2019 at 12:41 David Morales de FriasDavid Morales de Frias 1
Add a comment  | 

1 Answer 1

Reset to default 0

You can use multisite with child theme with some customization based on site_ID.

E.g if(get_current_blog_id() == 1) { condition } else { condition }
Post a comment

comment list (0)

  1. No comments so far