Forum Replies Created

Viewing 15 replies - 46 through 60 (of 66 total)
  • Forum: Fixing WordPress
    In reply to: Sidebar Categories
    Thread Starter scooby

    (@scooby)

    Sweet, but I don’t know how to incorporate it into the existing code.. It says to do like this:

    <?php wp_list_cats('exclude=1'); ?>

    I’m need to incorporate it into this line:

    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>

    Is that possible or will that throw things off and I have to find another place to implement it?

    Forum: Plugins
    In reply to: Add Avatar
    Thread Starter scooby

    (@scooby)

    Does this plugin work require that you have an account with the gravatar site, or just your own site??

    scooby

    (@scooby)

    Looks like you need to add your header information..

    scooby

    (@scooby)

    looks like you need to clear a css float..

    <br clear"all" />

    could help..

    scooby

    (@scooby)

    Did you get this working?? I just got it working myself..

    Thread Starter scooby

    (@scooby)

    Finally got it! Wow.. Well at least now it works the way I wanted..

    I set my permalink to this:

    /blog/%category%/%postname%

    and had to manually edit the .htaccess file from

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    to

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    Never had to touch the chmod, but it is now at default of 644 I believe..

    Whooohooo!! Fun stuff!

    Thread Starter scooby

    (@scooby)

    I have a folder named blog in the root directory with all the wordpress files inside except for index.php.. That is in the root directory outside of the blog folder..

    I think my error has something to do with the .htaccess file.. I have to be doing something wrong.. It’s all about the 500..

    Thread Starter scooby

    (@scooby)

    Yeah sorry.. I found it.. I though you were meaning to manually change the code.. I forgot about that feature.. But maybe you can help me now.. Since I did that using this code:

    /blog/%postname%/

    I now get that “500 Internal Server Error”. I’ve tried a few things off this page, but nothing seems to help.. Any ideas??

    Thread Starter scooby

    (@scooby)

    That would be awesome if you could point me into the right direction to put that in at.. I found the the_permalink() function in the link-template.php file… Is that where I would need to make those changes, or is there a better place to change all permalinks??

    Thanks for all the help..

    Thread Starter scooby

    (@scooby)

    I have edited that, it’s the permalinks that are all missing the “blog” folder in the link.. They are now like this:

    https://www.website.com/?p=1#comments

    when they need to be like this:

    https://www.website.com/blog/?p=1#comments

    Does that make any sense?? I don’t even know if they are all permalinks, but in most that I see that are incorrect the code this:

    a href"<?php the_permalink() ?>"....

    Thread Starter scooby

    (@scooby)

    then most all the links are incorrect

    scooby

    (@scooby)

    Yeah I think that’s all your problem is then.. I hate when that happens..

    Thread Starter scooby

    (@scooby)

    I do have a another question about what you said about getting rid of messy urls though.. I tried to follow this tutorial, but I ran into a problem..

    It didn’t pop out any code to create my .htacces file like the video did.. Is there something wrong with my installation, or is there some other way to obtain the code I need for the .htaccess file??

    Thanks again..

    scooby

    (@scooby)

    Try this bit of code out from the main index page of wordpress:

    <?php
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    But instead of having it set to “true”, set it to “false”. This seems to stop the default wordpress theme from overriding your existing theme.. Also, make sure you put the right path to your wp-blog-header.php file..

    For example my file is located here:

    require('./blog/wp-blog-header.php');

    That worked just perfectly for me.. Took forever to figure those simple changes out, but I’m lovin it now!

    Hope that’s what you were looking for..

    Thread Starter scooby

    (@scooby)

    The actual blog is in the blog directory.. I think I found a way around it though..

    By setting this code:

    define('WP_USE_THEMES', true);

    to “false” I was able to customize my existing index page to work with wordpress while still having my blog’s index page in the root folder as well.. All I was really doing was trying to rename the blog’s index.php so that it doesnt take over my home page is all..

    Thanks for the reply..

Viewing 15 replies - 46 through 60 (of 66 total)