leg0
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Include php code into pageby the “Print this table” link i meant:
<a class="print" onclick="window.print();return false;" href="#">Print this table</a>
Forum: Networking WordPress
In reply to: Sub-domain sitestill server is not found ??
what else can be problem?Forum: Networking WordPress
In reply to: Sub-domain siteoh, sounds like fun.
should i just change
ServerAlias *.mc.com to
ServerAlias person.mc.comlike this for each blog?
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "Z:/home/mc.com/www/" ServerName mc.com ServerAlias person.mc.com ErrorLog "logs/mc-error.log" CustomLog "logs/mc-access.log" common </VirtualHost>
Forum: Networking WordPress
In reply to: Sub-domain sitemaybe it will sound little bit stupid, but i don’t know where are DNS records located. And i can’t find it in google.
i’m doing it on local (pc) web server, by the way.
Forum: Networking WordPress
In reply to: Sub-domain sitesry, wrong one print screen,
this one is ok https://img718.imageshack.us/img718/18/person222.jpgForum: Networking WordPress
In reply to: Sub-domain siteyeah, it seems to be logical.
ok, i understood about “virtuality” of subdomains.
created “person” theme in themes folder, created site in Sites, applied person theme, but it doesn’t work like subdomain. it says server can’t be found
am i creating it in a wright way?
https://img594.imageshack.us/img594/88/person.jpg
thanks for helping me ??Forum: Networking WordPress
In reply to: Sub-domain sitebut does it mean that i need to copy all the wordpress files to “person” folder? cause now it contains only index.php and obviously i can’t reach wp-admin
Forum: Networking WordPress
In reply to: Sub-domain sitehow can i make it for my person.mainsite.com? cause in (Settings -> Reading.) it’s only for mainsite.com, as i see
Forum: Networking WordPress
In reply to: Sub-domain sitein my main site page template there is a code:
<div> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php //edit_post_link('Edit this entry.', '<p>', '</p>'); ?> <?php // comments_template(); ?> </div>
how it can be used for the sub-site? i see that it may depend on page template but i can’t apply any page.php template for index.php, do I?
Forum: Networking WordPress
In reply to: Sub-domain sitei have mainsite.com
and person.mainsite.com
now folder “person” contains only hardcoded index.php.
i want to have opportunity to add a post i’ve created in wp-admin to this index.php.
sry if expressed it in a wrong a way, hope now it’s understandable ??