Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • natehunzaker

    (@natehunzaker)

    Haha, not a problem, it’s early. I’m half way through a grande cup of oil myself. You should totally check out that article, Tadlock fully explains what you’re trying to do.

    natehunzaker

    (@natehunzaker)

    Just to make sure I answer your question correctly: You’re trying to add a link to a page which isn’t native to your WordPress installation?

    Take a look at the menus section of the WordPress Admin. You can find them under Appearance -> Menus. By default,wp_nav_menu() will use the first custom menu you configure. You’ll need to do some minimal configuring in your functions.php file, but it’ll give you a pretty high level of control over your navigation bar.

    Justin Tadlock has a great guide on it here:
    http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus

    natehunzaker

    (@natehunzaker)

    Not a problem!

    By default, WordPress will use the “page.php” file to serve up pages, and “single.php” to display single posts. When the viewing a page, WordPress has already run a query based upon the query-string in the URL. All you have to do is set up the basic loop within the template.

    In general, I would follow these guidelines as closely as possible.

    For some more hands on learning, take a look at TwentyTen, the default theme that comes with installation. It’s a great place to start for learning WordPress. I’d also recommend a quick read here.

    Forum: Fixing WordPress
    In reply to: Multiple Users?
    natehunzaker

    (@natehunzaker)

    Check out the users section of the WordPress admin console. It will let you add users, manage their accounts, and handle permissions.

    You might also want to check out the permission levels of users:
    http://codex.wordpress.org/Roles_and_Capabilities

    natehunzaker

    (@natehunzaker)

    In your header?

    I would look around following lines in the “header.php” file of your theme. It can be found in [wordpress-location]/wp-content/themes/[your-theme] folder of your site’s root directory.

    This is the raw HTML, the php will have similar div tags and classes, but this is about what your looking for:

    <div id="branding" role="banner">
    
        <h1 id="site-title"><span><a href="http://outdoortraxx.com/" title="" rel="home"></a></span></h1>
        <div id="site-description"></div>
    
        <img src="http://outdoortraxx.com/wp-content/uploads/2011/05/cropped-New-Header-with-Awake-Wordpress1.jpg" width="940" height="198" alt="">
    </div>
    Forum: Fixing WordPress
    In reply to: Cant edit footer
    natehunzaker

    (@natehunzaker)

    You’re welcome!

    natehunzaker

    (@natehunzaker)

    Welcome to WordPress! I just have a few comments upon reviewing your code:

    First, I have a quick note about your functions.php file. I would suggest you use the wp_nav_menu() function built in to WordPress. It will automatically generate the navigation menu in a format very similar to what you have created (it’ll even handle child pages). Always let it WordPress the hard work for you!

    I would also highly recommend you remove your “wordpressContent()” function and follow the standard method of implementing the loop within the template file. Again, you won’t have to configure anything and it will automatically pull the content from the relavent post.

    One more note, you shouldn’t have to include the functions.php. WordPress does that for you as well!

    natehunzaker

    (@natehunzaker)

    Howdy,

    I’m having some trouble reproducing the error (I don’t see any nbsp symbols either). Could you tell me what internet browser you are using, or do you have a specific example?

    Forum: Fixing WordPress
    In reply to: Cant edit footer
    natehunzaker

    (@natehunzaker)

    Okay, well it looks pretty safe. The code was obfuscated (I hate it when developers do this…. It’s merely troublesome, especially because it’s so easy to reverse.)

    You can use the following tool to see what it means:
    http://www.opinionatedgeek.com/dotnet/tools/base64decode/

    It directly translates to the following:

    <!-- BEGIN footer -->
    	<div id="footer">
    		<p>Copyright &copy; <?php bloginfo('name'); ?>. </p>
    		<p>Powered by <?php if(is_home()) : ?><a href="http://getwordpressthemes.com/" title="Wordpress themes">Wordpress themes</a><?php endif; ?>.</p>
    	</div>
    	<!-- END footer -->
    
    </div>
    <!-- END wrapper -->
    <?php wp_footer(); ?>
    
    </body>
    
    </html>

    Forum: Fixing WordPress
    In reply to: Cant edit footer
    natehunzaker

    (@natehunzaker)

    Are you using a theme made by someone else?

Viewing 10 replies - 1 through 10 (of 10 total)