Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter Davvit

    (@davvit)

    Yes I did,

    It reads:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    My wp installation is on the root and so is this .htaccess file

    As far as I know I shouldn’t have to set up separate virtual servers as alias of “mobilewebsitecentral.com” should I ?

    Thread Starter Davvit

    (@davvit)

    Thanks for your reply.

    I understand what you mean.
    It is quite a useful tag then 😉

    Thread Starter Davvit

    (@davvit)

    OK

    I guess I was trying to do a short cut.

    I’ll try the “normal” method.

    Thanks 🙂

    Thread Starter Davvit

    (@davvit)

    When I wrote “images named title-1.png, title-2.png and so on” I meant that I can have as many as I want, and so can you 😉

    Hı – yes, I understood that, I hope to have about 15 sites done sometime soon.

    When I wrote:

    Rod, I guess you don’t have 2 header images ?
    What method are you using ?

    I meant 2 header images in the same webpage. I want to get rid of the original header image which is under the menu.
    http://websitetomobilewebsite.org/

    So I was asking if you get rid of that lower image by using a new template in the child theme to over-ride the original template.
    Hope thats clearer 🙂

    .
    .

    And it;s much, much easier to pick a theme that has options to do this in the admin area. that way the per site settings are saved in the database and you do not have to do any spelunking in code with a bunch of if statements.

    What is the best way to search for these themes.

    It takes me ages to find a theme I like, and then it doesn’t have the options I need.

    Thanks for helping, I am a newbie !!!

    .

    Thread Starter Davvit

    (@davvit)

    Rod and Ipstenu – thanks very much for your help 🙂

    In order to change height of that title, can I do it with that function you wrote, or do I need to find the line in the page.php template, then make a new template in the child theme with a line to replace the title and also do similar to drop the image ?

    Rod, I guess you don’t have 2 header images ?
    What method are you using ?

    Thanks.

    Thread Starter Davvit

    (@davvit)

    OK –

    Thats good, we have a result 🙂

    http://websitetomobilewebsite.org/

    BUT the image has been cut to the size of that
    header font.

    I was hoping that I could put the image in the whole space from the top of the page down to the menu line – it looks about the same height as the original image I used.

    AND of course I will not want that second image in there.

    Hmm.

    Thread Starter Davvit

    (@davvit)

    OK, well I had used your second option before
    and it wasn’t working.

    I just tried:

    $url = ‘http://reviewsworthreading.com/wp-content/images/title-‘.$blog_id.’.jpg’;

    But not change with that either.

    Thread Starter Davvit

    (@davvit)

    Thanks.

    I think our posts crossed !!

    I have changed the path in the function to:

    $url = content_url('http://reviewsworthreading.com/wp-content/images/title-'.$blog_id.'.jpg');

    as I thought it might be the reason for the image not showing.

    But alas – no improvement 🙁

    Could it be because I am using JPG and not a transparent png image ?

    Thread Starter Davvit

    (@davvit)

    Hi Again.

    OK – I forgot that I needed to Activate the child theme for the Network.

    I have done that now and the child is now working 🙂

    BUT the image is not there.

    This is what I have done:

    My file structure: http://www.sd5.info/dir1.jpg

    In that new images directory, I put 2 header images:

    title-1.jpg
    title-2.jpg

    The CSS:

    /*
    Theme Name:     Coraline Child
    Theme URI:      http: //example.com/
    Description:    Child theme for the Coraline theme
    Author:         Me
    Author URI:     http: //example.com/about/
    Template:       coraline
    Version:        0.1.0
    */
    
    @import url("../coraline/style.css");
    
    #site-title a {
        color: #009900;
    }

    The function:

    <?php
    // site title image...
    function ps_head () {
    	global $blog_id;
    	$url = content_url('images/title-'.$blog_id.'.jpg');
    	echo '<style type="text/css">#site-title {background: url("'.$url.'") transparent center center no-repeat;}</style>';
    	}
    add_action('wp_head', 'ps_head');
    ?>

    I have used the same theme you are using and the ccs
    has changed the heading GREEN but the image has not changed 🙁

    Here is the result: my-website

    Any ideas what I did wrong ?

    .

    Thread Starter Davvit

    (@davvit)

    Hi Rod,

    OK, I have tried what you suggested and I have NEARLY got it working.

    I do have a question though: How does WordPress know that my site is supposed to use the child theme and not the parent theme ?

    I expected to see the child theme listed in Manage Themes for the individual site – but it is not there. So how do I select it to be used ?

    Thanks.

    Thread Starter Davvit

    (@davvit)

    Thanks Rod for your kind assistance !

    I have not used “child themes” before so will read through the info on that link and then try and apply what you have suggested.

    Will post again if I get into problems.

    Thanks again. 🙂

    .

    Thread Starter Davvit

    (@davvit)

    Only I can create sites in the network, and uploading a header image is part of my manual process for creating a new site.

    Yer – same for me, I plan to use all the blogs myself.

    So if I upload the images in the child theme’s directory,

    I will have:
    header1.jpg
    header2.jpg

    in /home/revworth/public_html/wp-content/themes/simplenotes/images

    How will I then assign:
    header1.jpg to the site 1
    and
    header1.jpg to the site 2

    ???

    Thanks

    Thread Starter Davvit

    (@davvit)

    Sounds like the FTP will be the best route. Its my dedicated server so I can FTP as user for the main website or log in as “root” on the server to access everything.

    I will go and take a look at the file structure now …

    OK here is the structure looking at it through my File Manager:
    http://www.sd5.info/dir.jpg

    My Network is running on reviewsworthreading.com with 2 sites running under it. The user name is revworth, which is why the directory says that.

    One of my sites is called: websitetomobilewebsiteorg.reviewsworthreading.com

    Th directory structure does not appear to show where site images etc would be stored ( I see no hint of “websitetomobilewebsiteorg” anywhere ! )

    Any help much appreciated 🙂

    .

    Thread Starter Davvit

    (@davvit)

    Well I do understand a bit of php but I am new to using the
    Multiuser Network setup.

    Is what I said correct ?

    As this theme does not seem to have a header image does that mean
    I would have to edit the templates in the theme to insert on?

    And if I do that doesn’t it mean that ALL my sites using that theme will have the same header image ?

    OR is there a way to store the image headers in the sites virtual directory so that “header.png” can be different for each one ?

    PS. I looked at 2011 – but the place I want to put the image is right at the top, as a header image, not where they have that huge image. So I don’t thing 2011 will work for me anyway.

    Thanks

    Thread Starter Davvit

    (@davvit)

    Thanks for your reply 🙂

    IN the <?php if(!is_page()) get_sidebar(1); ?>

    Between the brackets of is_page() do I put a number or a name ?

    My page is called “Mobile Website” if I need to put a number, where are the page numbers listed ?

    I looked at the Pages >> All
    But it does not show page numbers ??

    AND …

    Can I change widgets just for one page ?

    If I only want a text box and no links, archives etc
    can I do that ?

    Thanks

Viewing 15 replies - 1 through 15 (of 24 total)