Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter gan35h

    (@gan35h)

    The styling suddenly worked out of the blue! ??

    However, a problem still remains. I have given the following arguments in the wp_list_categories function.

    <?php wp_list_categories('show_option_all=All&hide_empty=0&title_li=&current_category=All'); ?>

    I want the ‘All’ option to be visible in any category listing. However, since by default, all posts load, the styling for current_category should also apply to ‘All’. However, since All does not have a category ID, I do not know how to apply the current-cat class to ‘All’.

    Any suggestions?

    Thread Starter gan35h

    (@gan35h)

    Hi tigtog,
    Thanks for your reply!

    What I have done to get part of the intended result was this:

    <ul>
      <?php wp_list_categories('show_option_all=All&hide_empty=0&title_li='); ?>
    </ul>

    The problem still remains of the current category class activation in CSS. The current_category argument only explicitly adds the category ID.

    I am unable to frame a condition that: if the page loaded is the archive of a particular category, then current-cat CSS class for that category should be activated.

    Any tips? Thanks!

    Thread Starter gan35h

    (@gan35h)

    Where do I change that? I tried to find the home string in the Twenty Eleven template files, couldn’t find anything that I could change (rather I don’t know if I could change those). The current template for which I’m using doesn’t even have the ‘Home’ in the navigation menu ??

    In Settings > Reading, opt to see a Static page as your home page and choose the page that you want. Below that, your blog page can be chosen as the home page.

    Thread Starter gan35h

    (@gan35h)

    Quite amazing Ipstenu. Your solution worked! Again! Thanks a million!

    Thread Starter gan35h

    (@gan35h)

    Must I set this to All in my httpd.conf?

    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be “All”, “None”, or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    In other places in httpd.conf, I found these:

    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>

    <Directory “D:/ganeshv/Apache2.2/cgi-bin”>
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>

    I had copied whatever WordPress gave me at the start of the multisite installation. This is the current content for .htaccess

    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]

    What changes must I make?

    Thread Starter gan35h

    (@gan35h)

    I tried the ‘month and name’ permalink. No change. Still 404 not found. How do I solve my .htaccess issue/conf issue?

    The default permalinks seems to solve the problem but any other permalink means a definite 404 not found page for anything other than the home page.

    Thread Starter gan35h

    (@gan35h)

    Actually, now the situation is that any static page I make shows a 404 error. Any new blog I view shows a 404 error. I’m quite certain that these pages exist ??

    For now, only my home page loads.

    Thread Starter gan35h

    (@gan35h)

    It worked! I had to remove the folders that I had made ignorantly. Thanks a ton!

    Thread Starter gan35h

    (@gan35h)

    OK, this is silly. But I deleted the hosts file and then made a new one using Notepad. AND IT WORKED! WHEW!

    Thread Starter gan35h

    (@gan35h)

    Using Apache 2.2.19, but I added this line too. No luck ??

    Thread Starter gan35h

    (@gan35h)

    OK, so finally going for subdomains on localhost.

    Trouble is that I’m getting stuck.

    I added 127.0.1.1 local.loc in my hosts file along with its subdomains. I installed Apache with this address.

    When I type 127.0.1.1 in my browser, I get the ‘It works’ message. But it tries to look for the address ‘local.loc’ on the internet, which then fails.

    I changed my httpd-vhosts.conf file also to include:

    <VirtualHost *:80>
    ServerAdmin [email address]
    DocumentRoot “../htdocs/local”
    ServerName local.loc
    ServerAlias local.loc
    DirectoryIndex index.php index.html index.html index.htm index.shtml
    </VirtualHost>

    Also did this for its subdomains.

    Any suggestions?

    Thread Starter gan35h

    (@gan35h)

    I don’t think I’ve still got it.

    So I’ve made the following changes:

    Changed hosts file to read:

    127.0.0.1 localhost
    127.0.0.1 localhost.corn

    But does this mean that I have to install wordpress all over again? To point the new database towards this address?

    How about this as an alternative? I use sub-folders and use the word ‘blogs’ instead of ‘blog’ but while transferring the site to a web host, I use subdomains where I get to use ‘blog’ again. Would this work?

    Thread Starter gan35h

    (@gan35h)

    1. So I should change the site1.localhost to localhost.site1 in the hosts file? And so on?

    2. I assume I must also repeat those changes in the conf file?

    Thread Starter gan35h

    (@gan35h)

    Alright, this could be a long day. :/

    I allowed sub-domains on my host and pointed them towards individual directories in my wordpress folder. (“../htdocs/wordpress/part1” etc.)

    However, I’m clueless about installing Wildcard subdomains on my localhost. I added a line ServerAlias part1.localhost under ServerName localhost in each of the individual setups.

    After activating multisite in wp-config, I’m getting this message:

    Because you are using localhost, the sites in your WordPress network must use sub-directories. Consider using localhost.localdomain if you wish to use sub-domains.

    Any suggestions? Thanks again Ipstenu!

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