cmcp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Same dataset, different domain, different themeThanks for replying Esmi.
Unfortunately, I can’t be reliant on a plugin for this in the first instance. My stakeholders have already criticized the “just plugin it” solution culture with WordPress, so we need to address the questions above with separate installs etc rather than rely on third party code.
Do you know if MU allows you to run subdomains with the same content but different themes? Or, if a second install of WP is possible running off the same DB with a different theme?
Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorI was able to use the standard WP menus feature in the admin area to build up my top level navigation, with the home link as
<li><a href="#">Home<img src="#" alt=""/></a></li>Thank you for all your help 🙂
Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorI think what I may be best doing is to build up a home link with the $homelink variable, something like
$homelink = '<li class="home"><a href="' . home_url( '/' ) . '"><img src="#" alt=""/>' . __('Home') . '</a></li>';Thanks for the link Edward, I shall give that approach a try.
Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorAre you sure? Because I have another demo site running TwentyTen and it is spitting out that exact markup too.
I will set up a demo.
Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorIn my TwentyTenChild theme (which is just a copy of TwentyTen) I use this line
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>that spits out the code above.Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorEssentially I want to add an image after the opening
<a>(using the $after parameter?) but only if the link is home.Forum: Fixing WordPress
In reply to: menu nav, include image in "home" anchorHi Esmi thanks for replying. It might help, but I am not in a position to post the link at the moment.
I’m using out the box functionality of twentyten.
<ul><li ><a href="http://www.example.org" title="Home">Home</a></li>is the standard html spat out by the template.
I need to know if it is possible to spit out
<ul><li ><a href="http://www.example.org" title="Home">Home<img src="image.gif" alt="" /></a></li>only on the home link. I do not need this on any of the other links.
Is this possible? I’m looking in the functions and menu-nav-template but can’t see a hook.
Forum: Networking WordPress
In reply to: localise header footer, wp3 multisiteAh right ok, I’m with you on the jargon now.
I am after site specific header and site specific footer.
I shall look into genesis and simple hooks. Do you know if these work with multisite?
🙂
Forum: Networking WordPress
In reply to: localise header footer, wp3 multisiteAndrea do you mean create a theme framework from scratch or are you aware of an existing system that is in the right direction of localising?
Great, that’s exactly what I’m looking for. Thanks Troy
🙂
With all the domain references in the site settings set to the mapped-domain.com, I’m still getting a javascript include in the source of mapped-domain.com showing as “mainsite.com”
For example
<script src='http://mainsite.com/?dm=3e7ea114b74a65&action=load&blogid=6&siteid=1&t=5365465128&back=http%3A%2F%2Fwww.mapped-domain.com%2F' type='text/javascript'></script>The reason I checked is because this morning I went onto the mapped-domain.com and got the original refresh problem, that the domain seemed stuck in a loop between the two.
I should add – when looking on the wpebooks store, I assume what I’m after is the multisite domain mapping ebook.
From what I gather, my setup = 1 network, multiple domains?
Ah right I just read some of your links, Hi 🙂 I feel I’m a bit more up to speed now! (I too had a C64 when I was younger. I had endless days of fun spending three hours at a time typing code to make the screen flash different colours!)
——————————–
Final question (and I should add, I will shortly purchase the support ebook. I’m looking to move my main client base to this setup so I feel it’s important to know how the foundations will be working)…
The mention of CNAME has me curious. Is this just like an extra step to patch the subdomain back to the main IP?
Setting up a subdomain as a main cpanel account is not a problem, I can do that fine.
Thanks for the links and all your advice.
When you say “ours”, are you referring to a different plugin or different ebook?
I’m on a VPS, server edits are not a problem. (well, the access to them aren’t. doing them is another topic!)
——————————–
Have you any experience on setting up this type of system on a subdomain?
Eg, for testing I’ve used my main domain. I’d like to leave this free for sales and support, possibly pointing it to a third party server.
IF I were to set up a subdomain of my main domain and use that for all the parking and pointing, would wordpress handle this the same as long as all the settings are correct?
For instance, I’d like all my sites to be set up and my main admin install to be at http://sites.mainsite.com, with my http://www.mainsite.com pointing elsewhere on a different server?
So my wordpress subdomains would then be set up on
“http://mapped1.sites.mainsite.com”
“http://mapped2.sites.mainsite.com”
“http://mapped3.sites.mainsite.com”
and so on…Ah forgive me, I was under the impression it was a paid version of the plugin from the author. I’ll take a look at your books 🙂
From early testing it seems to have resolved the domain issue. Nice one Andrea!
——————————–
I’ve got a few more questions related to the multi-domain setup. Am I best to ask them here, or should I be starting a new post per question?
Eg, how many domains can the standard install handle and how does it handle the redirects? I’m thinking about setting up all my clients in this manner. In theory if I’m to take on 500 clients, will I have to look at a more stable DNS / .htaccess setup to keep the whole thing ticking over?